/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 15px;
    color: black;
    line-height: 1.5;
}

p {
    line-height: 2;
    /* word-wrap: break-word; */
}

a,
a:hover {
    color: #fff;
}

a:hover {
    text-decoration: none;
}

.svg-top {
    position: absolute;
    width: 100%;
    top: -1%;
    left: 0%;
    z-index: 2;
}

.svg-bottom {
    position: absolute;
    width: 100%;
    bottom: -1%;
    left: 0%;
    z-index: 2;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

h3 {
    color: #333;
    font-size: 36px;
    font-weight: bold;
}

h5 {
    color: #333;
    font-size: 22px;
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    color: #333;
}

.section-padding {
    padding: 120px, 0px;
}

.full-width {
    width: 100%;
}

.primary {
    color: #e84118;
}

.line {
    width: 100%;
    height: 5px;
    background-color: orangered;
    margin-bottom: 60px;
    border-radius: 10px;
}

.section-header {
    font-weight: bold;
}

.section-margin {
    margin: 120px 240px;
}

/* Reset CSS */
/* Header */
/* HEADER STYLES */
header {
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

header.scrolled {
    background-color: #121212c7;
    /* or any dark/light shade */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Branding */
.navbar-brand {
    font-size: 32px;
    font-weight: bold;
    padding-left: 10px;
    color: white;
}

/* Navbar links */
.navbar {
    padding: 20px 0px;
}

nav a,
nav a:hover {
    color: #fff;
}

li.nav-item a.nav-link {
    position: relative;
    color: white;
}

li.nav-item a.nav-link::after {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: #fff;
    content: '';
    transition: all 0.5s ease;
}

li.nav-item.active a.nav-link::after,
li.nav-item a.nav-link:hover::after {
    width: 100%;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
}

li.nav-item {
    margin: 0 15px;
}

li.nav-item:last-child {
    margin-right: 0;
}

.navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border: none;
}

button:focus {
    outline: none;
    box-shadow: none;
}

/* Header */

/* main */
.main {
    width: 100%;
    height: 100vh;
    background-image: url(img/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-top: 100px;
}

.display-picture img {
    transform: scaleX(-1);
    width: 400px;
    height: 700px;
    margin-right: 60px;
}

.display-resp{
    display: none;
}

.intro-line {
    font-size: 24px;
    text-align: left;
    font-weight: bold;
}

.social-icons {
    font-size: 32px;
    text-align: left;
    font-weight: bold;
    margin-top: 25px;
}

.social-icons a {
    color: white;
    padding: 10px 20px;
    margin-right: 50px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 60px;
}

/* canvas {
    display: block;
} */
/* main */

/* About Me */

.social-icons-about {
    font-size: 32px;
    text-align: left;
    font-weight: bold;
    margin-top: 25px;
}

.social-icons-about a {
    color: white;
    padding: 10px 20px;
    margin-right: 50px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 48px;
}


/* About Me */
/* Skills */
.skills-content {
    margin-top: 60px;
}

.flip-card {
    background-color: transparent;
    /* width: 100px; */
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    /* border-radius: 10px; */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-card-back {
    background-color: whitesmoke;
    color: black;
    transform: rotateY(180deg);
    /* border-radius: 10px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.skills-icon {
    font-size: 100px;
}

.skills-name {
    font-size: 35px;
    font-weight: bold;
}

/* Skills */

/* Workex */
.work-container {
    display: flex;
    flex-direction: row;
    background: #fff;
    overflow: hidden;
    max-height: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.company-list {
    width: 30%;
    min-width: 140px;
    background: gold;
    overflow-y: auto;
}

.company-list button {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease;
}

.company-list button:hover,
.company-list button.active {
    background-color: lightgoldenrodyellow;
}

.company-logo {
    margin-bottom: 30px;
}

.company-details {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.company-details h3 {
    margin-top: 0;
    font-size: 20px;
}

/* Scrollbar (optional customization) */
.company-list::-webkit-scrollbar,
.company-details::-webkit-scrollbar {
    width: 6px;
}

.company-list::-webkit-scrollbar-thumb,
.company-details::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}
/* Workex */

/* Education */
.qualification-body,
.certifications-body {
    background-color: rgba(238, 130, 238, 0.5);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
    height: 250px;
    overflow-y: auto;
}

/* Education */

/* Projects */
.card {
    margin: 10px;
}

.card-img-top{
    height: 200px;
}

.carousel-item>.row {
    display: flex;
}

.carousel-controls {
    text-align: center;
    margin-top: 10px;
}

/* Hide default arrows */
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

/* Projects */

/* Contact */
.contact {
    padding: 120px 240px;
    background-color: rgb(0, 0, 100);
    color: white;
}

/* Footer */
footer {
    height: 40px;
    line-height: 40px;
    width: 100%;
    color: #fff;
    background-color: black;
}

/* Footer */