/* Table of Content
==================================================
	- Google fonts & font family -
	- typography -
	- General -
    - Preloader -
	- Header -
    - home section -
    - About section -
    - experience section -
    - projects section -
    - Contact section -
    - Responsive media queries -
    - Resolution scaling queries -
*/

/* Google fonts & font family
==================================================*/
@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Playfair+Display:400,400i,700,700i,900,900i';

/*
font-family: 'Playfair Display', serif;
font-family: 'Lato', sans-serif;
font-family: 'Open Sans', sans-serif;
*/

/* typography
==================================================*/
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 70px;
}

h4 {
    font-family: 'Lato', sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    position: relative;
    color: #425BB5;
    margin-left: 40px;
    font-weight: 700;
}

h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
    display: block;
    height: 2px;
    background: #425BB5;
    top: 9px;
}

/* General
==================================================*/
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 24px;
}

.size-50 {
    font-size: 50px;
    line-height: 50px
}

.h-50 {
    height: 50px;
}

/* Header
==================================================*/
header {
    text-align: center;
    -webkit-transition: all .5s;
    transition: all .5s;
    height: 65px;
}

nav ul {
    display: inline-block;
    padding-left: 0;
    list-style: none;
    padding: 20px;
    margin-bottom: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav li a {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-size: 11px;
    font-weight: bold;
}

.bg-nav {
    background: #fff;
    border-bottom: 1px solid #f3f3f3
}

.bg-nav ul {
    padding: 10px;
}

a:focus {
    color: #444;
    text-decoration: none;
}

a:hover {
    color: #425BB5;
    text-decoration: none;
}

a.active {
    color: #425BB5;
}

/* home section
==================================================*/
#home {
    background: url(../images/home-bg-2.jpg);
    background-size: auto;
    background-size: cover;
    height: 100vh;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.disply-table {
    display: table;
    height: 80vh;
}

/* about section
==================================================*/
#about {
    padding: 100px 0;
}

.about-img-div img {
    margin: 0 auto;
}

.about-border {
    position: absolute;
    border: 10px solid #425BB5;
    width: 400px;
    height: 400px;
    top: 40px;
    left: 50px;
    z-index: 1
}

/* ==================================================
   Experience Section
   ================================================== */
#experience {
    padding: 100px 0;
    background: #f3f3f3;
    position: relative;
}

.section-header {
    position: relative;
    /* padding-right: 150px; Space for counter */
}

.size-50 {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}

.experience-counter {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    color: #425BB5;
    white-space: nowrap;
    font-family: 'Playfair Display', sans-serif;
}

.experience-counter .counter-number {
    font-size: 60px;
    font-weight: 700;
    color: #AFB8DA;
    display: inline-block;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Animation underline effect */
.experience-counter .counter-number::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #425BB5;
    transition: width 0.4s ease;
}

.experience-counter:hover .counter-number::after {
    width: 100%;
}

/* Timeline Styles (existing) */
.timeline {
    padding-left: 0;
    list-style: none;
    position: relative;
}

.timeline:before {
    background-color: black;
    content: '';
    margin-left: -1px;
    position: absolute;
    top: 0;
    left: 2em;
    width: 2px;
    height: 100%;
}

.timeline-event {
    position: relative;
}

.timeline-event:hover .timeline-event-icon {
    transform: rotate(-45deg);
    background-color: #425BB5;
}

.timeline-event:hover .timeline-event-thumbnail {
    box-shadow: inset 40em 0 0 0 #425BB5;
}

.timeline-event-copy {
    padding: 2em;
    position: relative;
    top: -1.875em;
    left: 4em;
    width: 100%;
}

.timeline-event-copy h3 {
    font-size: 1.75em;
}

.timeline-event-copy h4 {
    font-size: 1.2em;
    margin-bottom: 1.2em;
}

.timeline-event-copy p:not(.timeline-event-thumbnail) {
    padding-bottom: 1.2em;
}

.timeline-event-icon {
    transition: transform 0.2s ease-in;
    transform: rotate(45deg);
    background-color: #425BB5;
    outline: 10px solid #f3f3f3;
    display: block;
    margin: 0.5em 0.5em 0.5em -0.5em;
    position: absolute;
    top: 0;
    left: 2em;
    width: 1em;
    height: 1em;
}

.timeline-event-thumbnail {
    transition: box-shadow 0.5s ease-in 0.1s;
    color: white;
    font-size: 12px;
    font-weight: bold;
    background-color: black;
    box-shadow: inset 0 0 0 0em #425BB5;
    display: inline-block;
    margin-bottom: 1.2em;
    padding: 0.25em 1em 0.2em 1em;
}

/* Counter completion animation */
.counter-complete {
    animation: counterCelebrate 0.6s ease;
    color: #2a3d7a;
}

@keyframes counterCelebrate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .section-header {
    padding-right: 0;
    margin-bottom: 40px; /* Add space for counter */
  }
  
  .experience-counter {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: block;
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(66, 91, 181, 0.2);
    border-bottom: 1px solid rgba(66, 91, 181, 0.2);
  }
  
  .size-50 {
    padding-right: 0;
    display: block;
  }
  
  /* Adjust timeline for mobile */
  .timeline-event-copy {
    left: 3em;
    padding: 1.5em 1em;
  }
  
  .timeline:before {
    left: 1.5em;
  }
  
  .timeline-event-icon {
    left: 1.5em;
  }
}
/* projects section
==================================================*/

#projects {
  padding: 100px 0;
  background: #fff;
}

/* Main Carousel Container */
.portfolio-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

/* Carousel Element */
.portfolio-carousel {
  width: 100%;
  margin: 0 auto;
}

/* Individual Slide */
.carousel-item {
  padding: 15px;
  transition: all 0.3s ease;
  outline: none !important;
}

/* Image Container - Improved Version */
.project-image-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px solid #e0dbdb8a
}

.project-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover Effects */
.portfolio_item:hover .project-image-container img {
  transform: scale(1.05);
}

.portfolio_item {
  position: relative;
  overflow: hidden;
  display: block;
  margin-bottom: 0;
  height: 100%;
}

.portfolio_item_hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(66, 91, 181, 0.9);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.portfolio_item:hover .portfolio_item_hover {
  transform: translateY(0);
  opacity: 1;
}

.portfolio_item_hover .item_info {
  padding: 20px;
  text-align: center;
  width: 100%;
}

.portfolio_item_hover .item_info span {
  color: #fff;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

.portfolio_item_hover .item_info em {
  color: #fff;
  font-style: normal;
  font-size: 12px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
}

/* Slick Carousel Overrides */
.slick-list {
  overflow: visible;
  padding: 10px 0 !important;
}

.slick-slide {
  float: left;
  height: auto;
}

.slick-track {
  display: flex;
  align-items: stretch;
}

/* Dots Styling */
.slick-dots {
  bottom: -30px;
}

.slick-dots li button:before {
  color: #425BB5;
  opacity: 0.5;
  font-size: 10px;
}

.slick-dots li.slick-active button:before {
  color: #425BB5;
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .project-image-container {
    padding-bottom: 60%; /* Slightly taller aspect ratio */
  }
}

@media (max-width: 1024px) {
  .carousel-item {
    padding: 10px;
  }
  
  #projects {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    padding: 8px;
  }
  
  .project-image-container {
    padding-bottom: 70%; /* Even taller on mobile */
  }
  
  .portfolio_item_hover .item_info span {
    font-size: 16px;
  }
  
  #projects {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .project-image-container {
    padding-bottom: 80%; /* Square-ish on smallest screens */
  }
  
  .portfolio_item_hover .item_info {
    padding: 15px;
  }
}

/* contact
==================================================*/
#contact {
    padding: 100px 0;
    background: #f3f3f3
}

#contact-form input,
#contact-form textarea {
    height: 50px;
    margin-bottom: 10px;
    border-radius: 0;
}

#contact-form label {
    display: block;
    margin-bottom: .2em;
    font-size: 13px;
    line-height: 13px;
    color: #000;
}

#contact-form label.error {
    margin-top: 10px;
    margin-bottom: 1em;
    font-size: 12px;
    line-height: 12px;
    color: #D33E43;
    margin-left: 10px
}

#contact-form input[type="text"].error,
#contact-form input[type="password"].error,
#contact-form input[type="date"].error,
#contact-form input[type="datetime"].error,
#contact-form input[type="datetime-local"].error,
#contact-form input[type="month"].error,
#contact-form input[type="week"].error,
#contact-form input[type="email"].error,
#contact-form input[type="number"].error,
#contact-form input[type="search"].error,
#contact-form input[type="tel"].error,
#contact-form input[type="time"].error,
#contact-form input[type="url"].error,
#contact-form textarea.error {
    border-color: #D33E43
}

textarea {
    resize: none;
}

fieldset {
    border: 0px;
    margin: 0;
    padding: 0
}

.required {
    color: #e9266d
}

#success,
#error {
    display: none
}

#success p,
#error p {
    display: block;
}

#success p {
    color: #425BB5;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2px solid #425BB5;
    margin-top: 10px;
}

#error p {
    color: #D33E43;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2px solid #D33E43;
    margin-top: 10px;
}

#submit {
    background-color: #425BB5;
    color: #fff;
    padding: 10px 40px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    width: 100%;
}

.social {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

.social li {
    float: left;
}

.social li a {
    color: #333;
    font-size: 35px;
    margin-right: 15px;
    transition: all .3s;
    -webkit-transition: all .3s;
}

.social li a:hover {
    color: #425BB5;
}

#profilepic {
    margin-top: 150px;
    margin-left: 500px;
    width: 400px;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    transition: transform 0.9s ease-in-out, box-shadow 0.3s ease-in-out;
}

#profilepic:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.35);
}

.resumediv { 
    margin-top: 25px;
    width: 140px;
    height: 40px;
    border-radius: 5px;
    padding-top: 6px;
    padding-bottom: 30px;
    text-align: center;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border: 1px solid black;
    outline: none;
}

.resumediv a {
    color: black;
    text-decoration: none;
}

.resumediv:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background-color: #425BB5;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.resumediv:hover a {
    color: #fff;
}

.resumediv:hover:after {
    left: 0;
    width: 100%;
}

.resumediv:active {
    top: 2px;
}

/* Skills Section */
.Skills {
    display: block;
    width: 100%;
}

.Skills .container-skill {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    animation: moveUp 1s ease-in-out;
    position: relative;
}

.Skills .container-skill .heading {
    font-size: 42px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
    color: rgb(242, 243, 244);
}

.Skills .container-skill .heading h1 {
    margin: 0;
}

.Skills .container-skill .Text {
    font-size: 18px;
    text-align: center;
    max-width: 500px;
    color: rgb(177, 178, 179);
}

.Skills .container-skill .mainSkill {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 30px;
    justify-content: center;
}

.Skills .container-skill .mainSkill .skill-box {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border: 0.1px solid #000;
    border-radius: 16px;
    padding: 18px 36px;
}

.Skills .container-skill .mainSkill .skill-box h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.Skills .container-skill .mainSkill .box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.Skills .container-skill .mainSkill .singleSkill {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: #fff;
}

.Skills .container-skill .mainSkill .singleSkill:hover {
    transform: translateY(-7px);
    transition: all 0.3s ease;
}

.Skills .container-skill .mainSkill .singleSkill img {
    width: 30px;
    height: 30px;
}

#skill-container {
    padding-top: clamp(100px, 10vw, 250px);
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    #skill-container {
        padding-top: 350px;
    }
}


#experience {
    padding-top: 60px;
    padding-bottom: 40px;
}

#herobtn {
    display: flex;
}

#githubdiv {
    margin-left: 30px;
}

@keyframes moveUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive media queries
==================================================*/
@media (max-width: 991px) {
    .portfolio .categories-grid .categories ul li a {
        padding: 0 2px;
    }
}

@media (max-width: 768px) {
    .timeline-event-copy {
        width: 90%;
        left: 2em;
    }
    .project-image-container {
        padding-bottom: 75%;
    }
    #projects {
        padding: 60px 0;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 50px;
        line-height: 50px;
    }
    #home,
    .disply-table {
        height: 600px;
        background: #f3f3f3;
    }
    .about-border {
        width: 265px;
    }
    .portfolio .categories-grid .categories ul li {
        list-style: none;
        margin: 10px 0;
    }
}

@media (max-width: 431px) {
    nav li {
        margin: 6px;
    }
    nav li a {
        font-size: 6px;
    }
    nav ul {
        padding: 20px 0px;
    }
    #home {
        height: 760px;
    }
    #profilepic {
        margin: 40px 30px 0px 50px;
        width: 300px;   
    }
    .table-cell {
        display: block;
        margin: 120px 30px 0px 24px;
    }
    .table-cell h1 {
        font-size: 30px;
    }
    .table-cell h4 {
        font-size: 20px;
        margin-left: 0px;
    }
    .resumediv {
        margin-top: 0px;
        width: 120px;
    }
}

/* ================================================== */
/* RESPONSIVE MEDIA QUERIES (STANDALONE)              */
/* These only take effect at specific screen sizes    */
/* ================================================== */

/* 2K+ Displays (2560px and above) */
@media only screen and (min-width: 2560px) {
    h1 {
        font-size: 96px;
        line-height: 84px;
    }
    h4 {
        font-size: 18px;
        letter-spacing: 2.4px;
        margin-left: 48px;
    }
    h4:before {
        width: 36px;
        left: -48px;
    }
    #profilepic {
        width: 480px;
        height: 660px;
        margin-top: 180px;
        margin-left: 600px;
    }
    .about-border {
        width: 480px;
        height: 480px;
        top: 48px;
        left: 60px;
        border-width: 12px;
    }
}

/* Large Desktop (1920px-2559px) */
@media only screen and (min-width: 1920px) and (max-width: 2559px) {
    .container {
        max-width: 1600px;
    }
}

/* Medium Desktop (1440px-1919px) */
@media only screen and (min-width: 1440px) and (max-width: 1919px) {
    h1 {
        font-size: 72px;
        line-height: 63px;
    }
    #profilepic {
        width: 360px;
        height: 495px;
        margin-left: 400px;
    }
}

/* Small Desktop (1280px-1439px) */
@media only screen and (min-width: 1280px) and (max-width: 1439px) {
    h1 {
        font-size: 64px;
        line-height: 56px;
    }
    .about-border {
        width: 350px;
        height: 350px;
    }
}

/* Tablet Landscape (992px-1279px) */
@media only screen and (min-width: 992px) and (max-width: 1279px) {
    h1 {
        font-size: 56px;
        line-height: 50px;
    }
    #profilepic {
        width: 320px;
        height: 440px;
        margin-left: 300px;
    }
}

/* Tablet Portrait (768px-991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 48px;
        line-height: 45px;
    }
    #profilepic {
        width: 280px;
        height: 380px;
        margin: 100px auto 0;
        float: none;
        display: block;
    }
    .about-border {
        width: 280px;
        height: 280px;
        left: 20px;
        top: 30px;
    }
    .timeline-event-copy {
        width: 80%;
    }
}

/* Mobile Landscape (576px-767px) */
@media only screen and (min-width: 576px) and (max-width: 767px) {
    h1 {
        font-size: 42px;
        line-height: 45px;
    }
    h4 {
        font-size: 16px;
        margin-left: 30px;
    }
    h4:before {
        width: 20px;
        left: -30px;
    }
    #profilepic {
        width: 240px;
        height: 330px;
    }
    .about-border {
        width: 240px;
        height: 240px;
        left: 10px;
    }
}

/* Mobile Portrait (up to 575px) */
@media only screen and (max-width: 575px) {
    h1 {
        font-size: 36px;
        line-height: 40px;
    }
    h4 {
        font-size: 14px;
        margin-left: 25px;
    }
    h4:before {
        width: 15px;
        left: -25px;
        top: 7px;
    }
    #profilepic {
        width: 220px;
        height: 300px;
        margin: 50px 75px 0;
    }
    .about-border {
        width: 220px;
        height: 220px;
        left: 0;
        top: 10px;
        border-width: 6px;
    }
    .timeline-event-copy {
        width: 85%;
        left: 2em;
    }
}

/* High DPI/Retina Displays */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    #home {
        background-image: url(../images/home-bg-2@2x.jpg);
    }
}

/* Mobile Menu Toggle (only activates below 768px) */
@media only screen and (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }
    .main-navigation ul {
        position: fixed;
        right: -100%;
    }
    .main-navigation ul.active {
        right: 0;
    }
}

/* Print Styles */
@media print {
    header, footer, .mobile-menu-toggle {
        display: none !important;
    }
    #home {
        background: none !important;
    }
}

/* Mobile Menu - Phone Only (up to 480px)
==================================================*/
.mobile-menu-toggle {
  display: none; /* Hidden by default */
  cursor: pointer;
  padding: 12px 10px;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1001;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border: 1px solid #f0f0f0;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #425BB5;
  margin: 4px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile menu styles - Phone only */
@media (max-width: 480px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 280px;
    height: 100vh;
    background: #fff;
    padding: 80px 20px 20px !important;
    margin: 0;
    box-shadow: -2px 0 10px rgba(0,0,0,0.08);
    transition: all 0.4s ease-out;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .main-navigation ul.active {
    right: 0;
  }
  
  .main-navigation li {
    display: block !important;
    margin: 12px 0 !important;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }
  
  .main-navigation ul.active li {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
  }
  
  .main-navigation li:nth-child(1) { transition-delay: 0.1s; }
  .main-navigation li:nth-child(2) { transition-delay: 0.15s; }
  .main-navigation li:nth-child(3) { transition-delay: 0.2s; }
  .main-navigation li:nth-child(4) { transition-delay: 0.25s; }
  .main-navigation li:nth-child(5) { transition-delay: 0.3s; }
  
  .main-navigation li a {
    font-size: 15px !important;
    padding: 12px 15px;
    display: block;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: #333 !important;
  }
  
  .main-navigation li a:hover,
  .main-navigation li a:focus {
    background: rgba(66, 91, 181, 0.08);
    color: #425BB5 !important;
  }
  
  /* Overlay when menu is open */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
  }
  
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Close button */
  .mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #425BB5;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
  }
  
  .mobile-menu-close:hover {
    background: rgba(66, 91, 181, 0.1);
  }
  
  /* Ensure regular menu is visible on larger devices */
  @media (min-width: 481px) {
    .mobile-menu-toggle {
      display: none !important;
    }
    .main-navigation ul {
      display: block !important;
      position: static !important;
      width: auto !important;
      height: auto !important;
      background: transparent !important;
      box-shadow: none !important;
      padding: 20px !important;
      overflow: visible !important;
    }
    .main-navigation li {
      display: inline-block !important;
      margin: 10px !important;
      opacity: 1 !important;
      transform: none !important;
    }
    .menu-overlay {
      display: none !important;
    }
  }
}

/* Hamburger icon animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Prevent scrolling when menu is open */
.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

