/* Styles defined for the desktop or the bigger screen devices*/
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap'); 

html {
    scroll-padding-top: 75px;
}

body { 
	margin: 0; 
	padding: 0; 
	box-sizing: border-box; 
	font-family: 'Poppins', sans-serif; 
} 

/* Header Navbar Styles */
.navbar { 
	display: flex; 
	align-items: center; 
	justify-content: space-between; 
	position: fixed; 
	top: 0; 
	width: 100%; 
	background-image: linear-gradient(90deg, #1e1f1e, #323434, #100f0f); 
	background-color: transparent; 
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure it's above other content */
}

.logo { 
	padding: 0 5rem; 
} 

.logo .logo-heading { 
	color: #fff; 
} 

.menu { 
	padding: 0 5rem; 
} 

.hamburger { 
	display: none; 
	color: #fff; 
	font-size: 25px; 
} 

.cross-icon { 
	display: none; 
} 

.menu .menu-list { 
	display: flex; 
	list-style: none; 
} 

.menu-list .menu-list-items { 
	padding: 0.5rem 1rem; 
} 

@media screen and (min-width: 856px) and (max-width: 1024px) { 
	.menu-list .menu-list-items { 
		padding: 0.5rem 0.3rem; 
	} 
} 

/* Main Hero Section Styles */



.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  min-height: 100vh;
  gap: 0;
  background-image: url('images/4.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

 /* Preload background image */
body::before {
    content: "";
    background-image: url('images/4.jpg');
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
}


.hero-content {
    max-width: 800px; /* Limit the width of content for better readability */
    padding: 20px; /* Add some padding for spacing */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background color for better contrast */
    border-radius: 10px; /* Add rounded corners to the content */
}

.hero-heading {
    font-size: 2.5em; /* Adjust heading font size */
    margin-bottom: 10px; /* Add some space between heading and subheading */
}

.hero-subheading {
    font-size: 1.2em; /* Adjust subheading font size */
    margin-bottom: 20px; /* Add more space between subheading and button */
}

.hero-button {
    background-color: #9cdc89; /* Choose a prominent color for the button */
    color: white; /* Button text color */
    padding: 10px 20px; /* Add padding to the button */
    border: none; /* Remove button border */
    border-radius: 5px; /* Add rounded corners to the button */
    font-size: 1em; /* Button text size */
    cursor: pointer; /* Show pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition for button hover effect */
}

.hero-button:hover {
    background-color: #0056b3; /* Darken button color on hover */
}


@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}


.about-intro {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #35A99C;
  font-weight: 700;
  margin: 1.6rem 0 0.75rem;
}

/* Experience cards */
.about-experience {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #13132a;
  border: 1px solid #1e1e3a;
  border-left: 3px solid #35A99C;
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
}

.exp-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 22px rgba(53,169,156,0.18);
  border-left-color: #4ecdc4;
}

.exp-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.exp-body h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.exp-company {
  color: #35A99C;
  font-size: 0.78rem;
  font-weight: 500;
  margin: 0 0 4px;
}

.exp-detail {
  color: #888;
  font-size: 0.76rem;
  margin: 0;
  line-height: 1.5;
}

/* Project chips */
.about-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.proj-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(53,169,156,0.08);
  border: 1px solid rgba(53,169,156,0.3);
  border-radius: 24px;
  padding: 8px 16px;
  text-decoration: none;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.proj-chip:hover {
  background: rgba(53,169,156,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(53,169,156,0.25);
}

.proj-chip-icon {
  font-size: 1rem;
}

.proj-chip-tag {
  font-size: 0.68rem;
  color: #35A99C;
  background: rgba(53,169,156,0.12);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* About section styles */

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1f2d 50%, #0a1a1a 100%);
  padding: 5rem;
  box-sizing: border-box;
  gap: 4rem;
}

.about .about-text {
  width: 55%;
  color: #fff;
}

.about-desc {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.highlight {
  color: #35A99C;
  font-weight: 600;
}

.about-stats {
  display: flex;
  gap: 20px;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-box {
  background: #13132a;
  border: 1px solid #35A99C;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 100px;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(53,169,156,0.3);
}

.stat-box h2 {
  color: #35A99C;
  font-size: 2rem;
  margin: 0;
}

.stat-box p {
  color: #cccccc;
  font-size: 0.8rem;
  margin: 5px 0 0 0;
}

.about-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.image-wrapper {
  width: 420px;
  height: 650px;
  border-radius: 20px;
  border: 3px solid #35A99C;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(53,169,156,0.2);
  transition: box-shadow 0.3s ease;
}

.image-wrapper:hover {
  box-shadow: 0 0 60px rgba(53,169,156,0.4);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

 
/* Portfolio section styles */
.portfolio {
    padding: 4rem 5rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #131320 50%, #0a0a0a 100%);
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.my-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.my-card {
    width: calc(33.33% - 20px); /* Three cards in one row */
    max-width: 300px;
    margin-bottom: 20px;
    margin-right: 10px; /* Adjust the right margin */
    margin-left: 10px; /* Adjust the left margin */
    position: relative;
    overflow: hidden;
}

.port-card {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.port-card:hover {
    transform: scale(1.05); /* Bulge outwards on hover */
}

.port-card .image {
    border-radius: 15px;
    overflow: hidden;
}

.port-card img {
    width: 100%;
    height: 100%; /* Ensure the image fills the container */
    object-fit: cover; /* Maintain aspect ratio and cover entire container */
    transition: transform 0.3s ease;
}

.port-card:hover img {
    transform: scale(1.1); /* Bulge outwards on hover */
}





 /* Contact section styles 
.contact { 
    padding: 0 5rem; 
} 

.contact-details { 
    display: flex;
    flex-direction: column;
    align-items: center;
} 

.details {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
} 

.contact-heading {
    margin-bottom: 0.5rem;
    margin-right: 1rem; Adjust the margin as needed 
}

.contact-text {
    display: flex;
    align-items: center;
}

.contact-text i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .details {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-heading {
        margin-bottom: 0.5rem;
        margin-right: 0; /* Remove margin for smaller screens */
    

/* Footer Styles */
.footer { 
	background-color: #000; 
	color: #fff; 
	padding: 2rem; 
} 

.footer-list-items { 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	height: 50px; 
	width: 50px; 
	margin: 1rem 1rem 0 1rem; 
	border-radius: 50%; 
	background-color: #53C8B6; 
} 

.footer-links { 
	font-size: 24px; 
	color: #fff; 
	text-decoration: none; 
} 

.social-links { 
	display: flex; 
	align-items: center; 
	justify-content: center; 
} 

.footer-menu { 
	padding: 0 5rem; 
} 

.footer-menu .footer-menu-list { 
	display: flex; 
	list-style: none; 
} 






/* utility classes */
.greet-heading { 
	font-size: 1.3rem; 
	font-weight: lighter; 
	margin: 0; 
	letter-spacing: 1px; 
} 

.my-heading { 
	font-size: 2.5rem; 
	margin: 0; 
	color: #ffffff;
}
.sub-heading { 
	margin: 0; 
	font-size: 0.8rem; 
	color: #ccc; 
	font-weight: lighter; 
} 

.links:hover { 
	border-bottom: 2px solid #fff; 
} 

.links { 
	border-bottom: 2px solid transparent; 
	transition: all 0.25s; 
	padding: 5px; 
	text-decoration: none; 
	color: #fff; 
} 

.btn { 
	padding: 10px 20px; 
	border-radius: 5px; 
	cursor: pointer; 
	letter-spacing: 1px; 
	border: none; 
} 

.common-btn { 
	background-color: #35A99C; 
	color: #fff; 
	border: 2px solid #35A99C; 
	transition: all 0.25s; 
} 

.common-btn:hover { 
	background-color: #fff; 
	color: #35A99C; 
	border: 2px solid #35A99C; 
	outline: none; 
} 

.ghost-btn { 
	background-color: #fff; 
	color: #35A99C; 
	border: 2px solid #35A99C; 
	outline: none; 
} 

.ghost-btn:hover { 
	background-color: #35A99C; 
	color: #fff; 
	transition: all 0.25s; 
	border: 2px solid #35A99C; 
} 

.heading-span { 
	font-weight: bolder; 
} 

.text-center { 
	text-align: center; 
} 

.small-para { 
	font-size: 14px; 
	color: #fff; 
} 

.white-text { 
	color: #fff; 
} 

.blue-text { 
	color: #363D73; 
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0; 
	padding: 0; 
	box-sizing: border-box; 
}

.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  min-height: 100vh;
  gap: 20px;
  background-image: url('images/4.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-left {
  flex: 1;
  text-align: left;
}

.hero-left .greet-heading {
  color: #35A99C;
  font-size: 1.3rem;
  font-weight: 400;
}


.hero-left .my-heading {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 5px 0;
}

.hero-left .sub-heading {
  font-size: 1.8rem;
  font-weight: 600;
  color: #35A99C;
  margin-bottom: 15px;
}

.hero-desc {
  color: #cccccc;
  font-size: 1rem;
  margin-bottom: 30px;
}

.intro-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.speech-bubble {
  background: white;
  border: 2px solid #35A99C;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #35A99C;
  box-shadow: 0 4px 15px rgba(53,169,156,0.3);
  position: relative;
  margin-bottom: -30px;
  z-index: 10;
  align-self: center;
  white-space: nowrap;
  overflow: visible;
  animation: bubbleFloat 3s ease-in-out infinite;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.bubble-arrow {
  position: absolute;
  bottom: -14px;
  left: 40px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid #35A99C;
}


#robot-svg {
  width: 100%;
  height: auto;
  display: block;
  animation: robotBob 3s ease-in-out infinite;
}

#wave-arm {
  transform-box: fill-box;
  transform-origin: top center;
  animation: robotWave 1.2s ease-in-out infinite;
}

@keyframes robotWave {
  0%, 100% { transform: rotate(-145deg); }
  35%       { transform: rotate(-165deg); }
  65%       { transform: rotate(-120deg); }
}

@keyframes robotBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-right {
  width: min(400px, 45%);
  max-width: 400px;
  flex-shrink: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: visible;
}

.lottie-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 11 / 13;
  flex-shrink: 1;
}

#rotating-text {
  transition: opacity 0.5s ease-in-out;
}


.skills {
  padding: 5rem 4rem;
  background-color: #060d1f;
}

.skills-subheading {
  text-align: center;
  color: #cccccc;
  margin-top: 10px;
  font-size: 1rem;
}

.skills-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 25px;
  border: 2px solid #35A99C;
  background: transparent;
  color: #35A99C;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.tab-btn:hover, .tab-btn.active {
  background-color: #35A99C;
  color: #fff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 1rem;
}

.skill-card {
  background: #13132a;
  border: 1px solid #1e1e3a;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 1;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(53,169,156,0.25);
  border-color: #35A99C;
}

.skill-icon {
  font-size: 2.2rem;
}

.skill-card h3 {
  color: #ffffff;
  font-size: 0.95rem;
  text-align: center;
  margin: 0;
}


@media (max-width: 768px) {
    .my-row {
        flex-direction: column;
        align-items: center;
    }

    .my-card.port-card {
        width: 90%;
        margin-bottom: 20px;
    }

    .my-card.port-card .image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .hero {
        flex-direction: column;
        padding: 6rem 2rem 3rem;
        gap: 20px;
        text-align: center;
    }

    .hero-left {
        text-align: center;
    }

    .intro-buttons {
        justify-content: center;
    }

    .hero-right {
        width: 100%;
    }
}

/* ============================================
   SKILL SEARCH BAR
   ============================================ */
.skill-search-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-search {
    width: 100%;
    max-width: 420px;
    padding: 10px 18px;
    border-radius: 25px;
    border: 2px solid #35A99C;
    background: #0d1a2d;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.skill-search::placeholder { color: #6b7280; }

.skill-search:focus {
    box-shadow: 0 0 0 3px rgba(53,169,156,0.3);
}

/* ============================================
   SKILL FLIP CARDS
   ============================================ */
.skill-flip-wrapper {
    perspective: 1000px;
    height: 175px;
    cursor: pointer;
}

.skill-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

@media (hover: hover) {
    .skill-flip-wrapper:hover .skill-flip-inner {
        transform: rotateY(180deg);
    }
}

.skill-flip-wrapper.flipped .skill-flip-inner {
    transform: rotateY(180deg);
}

.skill-flip-front,
.skill-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    box-sizing: border-box;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-flip-front {
    background: #13132a;
    border: 1px solid #1e1e3a;
    justify-content: center;
    gap: 10px;
    transition: border-color 0.3s ease;
}

.skill-flip-wrapper:hover .skill-flip-front {
    border-color: #35A99C;
}

.skill-flip-back {
    background: linear-gradient(145deg, #0d1f2d, #0a1520);
    border: 1px solid #35A99C;
    transform: rotateY(180deg);
    justify-content: flex-start;
    gap: 7px;
    overflow: hidden;
}

.skill-devicon {
    font-size: 1.8rem;
}

.skill-flip-front h3 {
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

.skill-level-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.skill-level-badge.expert       { background: rgba(53,169,156,0.2);  color: #35A99C; border: 1px solid #35A99C; }
.skill-level-badge.advanced     { background: rgba(91,192,235,0.15); color: #5bc0eb; border: 1px solid #5bc0eb; }
.skill-level-badge.intermediate { background: rgba(247,183,49,0.15); color: #f7b731; border: 1px solid #f7b731; }

.skill-back-desc {
    color: #b0bec5;
    font-size: 0.71rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skill-progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.skill-progress-bar {
    flex: 1;
    height: 6px;
    background: #1e1e3a;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #35A99C, #5bc0eb);
    border-radius: 3px;
    width: 0%;
    transition: width 1s ease;
}

.skill-pct {
    font-size: 0.72rem;
    color: #35A99C;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 30px;
    text-align: right;
}

.skill-proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-top: auto;
    padding-top: 4px;
}

.skill-proj-tag {
    font-size: 0.62rem;
    padding: 2px 7px;
    background: rgba(53,169,156,0.1);
    color: #35A99C;
    border: 1px solid rgba(53,169,156,0.35);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.skill-proj-tag:hover { background: rgba(53,169,156,0.3); }

.no-skills-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: #6b7280;
    padding: 3rem 0;
    font-size: 1rem;
}

/* ============================================
   PORTFOLIO CARD OVERLAY
   ============================================ */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.88));
    padding: 1.5rem 1rem 0.8rem;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    border-radius: 0 0 15px 15px;
}

.my-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h4 {
    color: #fff;
    margin: 0 0 3px 0;
    font-size: 0.92rem;
    font-weight: 600;
}

.card-overlay p {
    color: #ccc;
    margin: 0;
    font-size: 0.75rem;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
.education {
    padding: 4rem 5rem;
    background: linear-gradient(135deg, #12100a 0%, #211c07 50%, #12100a 100%);
}

.degree-card-wrapper {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.degree-card {
    position: relative;
    background: #12120e;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 0;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    background-clip: padding-box;
    box-shadow: 0 0 0 2px transparent;
    transition: box-shadow 0.3s ease;
    /* gold-to-teal gradient border via pseudo-element */
}

.degree-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #c9a227, #35A99C);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.degree-card:hover {
    box-shadow: 0 16px 48px rgba(201,162,39,0.25);
}

.honours-ribbon {
    position: absolute;
    top: 18px;
    right: -28px;
    background: linear-gradient(135deg, #c9a227, #e8c84a);
    color: #0a0a0a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.degree-card-main {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 2rem 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.degree-icon-wrap {
    font-size: 3.2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 4px;
}

.degree-body {
    flex: 1;
    min-width: 0;
}

.degree-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.degree-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.degree-program {
    color: #aaa;
    font-size: 0.92rem;
    margin: 0;
}

.degree-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(201,162,39,0.15);
    color: #e8c84a;
    border: 1px solid rgba(201,162,39,0.4);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.degree-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    color: #888;
    font-size: 0.84rem;
}

.degree-gpa {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.gpa-label {
    color: #aaa;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.gpa-bar-wrap {
    flex: 1;
    max-width: 200px;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    overflow: hidden;
}

.gpa-bar {
    height: 100%;
    background: linear-gradient(90deg, #c9a227, #e8c84a);
    border-radius: 99px;
    transition: width 1s ease;
}

.gpa-value {
    color: #e8c84a;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.degree-toggle-btn {
    background: rgba(53,169,156,0.12);
    border: 1px solid rgba(53,169,156,0.35);
    color: #35A99C;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.degree-toggle-btn:hover {
    background: rgba(53,169,156,0.25);
    color: #fff;
}

.toggle-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Expandable panel */
.degree-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.3s ease;
    position: relative;
    z-index: 1;
}

.degree-details.open {
    max-height: 900px;
}

.degree-details-inner {
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 0 2rem;
    padding: 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.degree-courses h5,
.degree-capstone h5 {
    color: #e8c84a;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.degree-courses ul {
    margin: 0;
    padding-left: 18px;
    color: #aaa;
    font-size: 0.84rem;
    line-height: 1.8;
}

.degree-capstone p {
    color: #aaa;
    font-size: 0.84rem;
    line-height: 1.6;
    margin: 0;
}

.degree-capstone strong {
    color: #fff;
}

.degree-view-btn {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #c9a227, #35A99C);
    color: #0a0a0a;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 24px;
    text-decoration: none;
    width: fit-content;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.degree-view-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .degree-details-inner {
        grid-template-columns: 1fr;
    }
    .degree-card-main {
        padding: 1.5rem 1.2rem 1rem;
    }
    .degree-details-inner {
        margin: 0 1.2rem;
    }
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certifications {
    padding: 4rem 5rem;
    background: linear-gradient(135deg, #060d1f 0%, #0d1a35 50%, #060d1f 100%);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    gap: 24px;
    margin-top: 1.5rem;
    justify-content: center;
}

.cert-card {
    background: #13132a;
    border: 1px solid #1e1e3a;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(53,169,156,0.2);
    border-color: #35A99C;
}

.cert-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}

.cert-info h4 {
    color: #fff;
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.cert-info p {
    color: #888;
    margin: 0 0 8px 0;
    font-size: 0.82rem;
}

.cert-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(53,169,156,0.15);
    color: #35A99C;
    border: 1px solid rgba(53,169,156,0.35);
    font-weight: 600;
}

/* ============================================
   AWARDS & VOLUNTEERING SECTION
   ============================================ */
.awards {
    padding: 4rem 5rem;
    background: linear-gradient(135deg, #100a1a 0%, #1e0d35 50%, #100a1a 100%);
}

.awards-subsection {
    margin-top: 2.5rem;
}

/* pill-style sub-heading */
.awards-sub-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.awards-sub-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(53,169,156,0.12);
    border: 1px solid rgba(53,169,156,0.35);
    color: #35A99C;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 24px;
}

.awards-sub-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(53,169,156,0.18);
    color: #35A99C;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50%;
    border: 1px solid rgba(53,169,156,0.3);
}

.awards-sub-icon {
    font-size: 1.2rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
    gap: 28px;
    margin-top: 1rem;
    justify-content: center;
}

.award-card {
    background: linear-gradient(135deg, #1c1b3a 0%, #231f4a 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 4px solid #35A99C;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(53,169,156,0.25);
    border-left-color: #4ecdc4;
    border-color: rgba(53,169,156,0.4);
}

.award-icon-wrap {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(53,169,156,0.12);
    border: 1px solid rgba(53,169,156,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.award-card:hover .award-icon-wrap {
    transform: scale(1.18) rotate(-6deg);
    background: rgba(53,169,156,0.22);
}

.award-info {
    flex: 1;
    min-width: 0;
}

/* title + year on same row */
.award-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.award-title-row h4 {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.award-year {
    font-size: 0.68rem;
    color: #888;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 3px;
}

.award-org {
    color: #35A99C;
    margin: 0 0 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.award-desc {
    color: #b0b0c8;
    font-size: 0.83rem;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

.award-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.award-cta {
    font-size: 0.75rem;
    color: #35A99C;
    font-weight: 500;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.award-card:hover .award-cta {
    opacity: 1;
    transform: translateX(3px);
}

.award-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(53,169,156,0.15);
    color: #35A99C;
    border: 1px solid rgba(53,169,156,0.35);
    font-weight: 600;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 4rem 5rem;
    background: #070d12;
}

.contact-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-form-col { flex: 1; min-width: 280px; }

.contact-info-col {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 1.5rem;
}

.form-controls {
    background: #13132a;
    border: 1px solid #1e1e3a;
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-controls:focus  { border-color: #35A99C; }
.form-controls::placeholder { color: #555; }

textarea.form-controls {
    resize: vertical;
    min-height: 120px;
}

.form-btn { align-self: flex-start; cursor: pointer; }

.form-success {
    display: none;
    background: rgba(53,169,156,0.1);
    border: 1px solid #35A99C;
    color: #35A99C;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 8px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #13132a;
    border: 1px solid #1e1e3a;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    transition: border-color 0.3s ease;
    text-decoration: none;
}

.contact-info-item:hover { border-color: #35A99C; }

.contact-info-item i {
    color: #35A99C;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-info-item span,
.contact-info-item a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.88rem;
}

.contact-info-item a:hover { color: #35A99C; }

/* ============================================
   RESPONSIVE — NEW SECTIONS
   ============================================ */
@media (max-width: 768px) {
    .certifications { padding: 3rem 2rem; }
    .awards { padding: 3rem 2rem; }
    .contact        { padding: 3rem 2rem; }

    .contact-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info-col {
        flex: 1;
        width: 100%;
    }

}

@media (max-width: 575px) {
    .skills { padding: 3rem 1.5rem; }
    .skill-flip-wrapper { height: 175px; }
    .certifications, .awards, .contact { padding: 2.5rem 1rem; }
}
/* ── Intro / splash screen ─────────────────────────────────── */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}

/* Two halves that slide apart on exit — they ARE the background */
.intro-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(-45deg, #0a0f2c, #0d1b3e, #071a18, #0a1428);
  background-size: 400% 400%;
  animation: introGradientShift 5s ease infinite;
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 1;
}

.intro-half-top  { top: 0; }
.intro-half-bottom { bottom: 0; }

/* Exit: halves slide away */
#intro-screen.intro-exit .intro-half-top    { transform: translateY(-100%); }
#intro-screen.intro-exit .intro-half-bottom { transform: translateY(100%); }

/* Inner layer: canvas + text, sits above the halves */
.intro-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

#intro-screen.intro-exit .intro-inner { opacity: 0; }

/* Particle canvas */
#intro-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.intro-name {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

/* Shimmer gradient text on the typed name */
.intro-name-text {
  background: linear-gradient(90deg, #ffffff 0%, #35A99C 45%, #7fd4ce 70%, #ffffff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: introShimmer 2.2s linear infinite;
}

/* Blinking cursor */
.intro-cursor {
  color: #35A99C;
  -webkit-text-fill-color: #35A99C;
  font-weight: 300;
  animation: introBlink 0.7s step-end infinite;
}

.intro-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  color: #35A99C;
  letter-spacing: 0.08em;
  margin-top: 0.6rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.intro-sub.intro-sub-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes introShimmer {
  to { background-position: 250% center; }
}

@keyframes introBlink {
  50% { opacity: 0; }
}

@keyframes introGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
