:root {
    --primary-color: #282251;
    --secondary-color: #d82d2e;
    --tertiary-color: #7b68ee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Poppins, Arial, Helvetica, sans-serif;
}

header {
    width: 100%;
}

.navbar-container {
    box-shadow: 0 8px 24px rgba(40, 34, 81, 0.12);

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background-color: #efecec60;
    border-bottom: 0 8px 24px rgba(40, 34, 81, 0.12);
}

.logo img {
    height: 70px;
    width: 100%;
    transition: 0.3s;
}

/* Menu Links */
.menu-list {
    display: flex;
    list-style: none;
    gap: 45px;
}

.menu-link {
    /* color: #f5f4f7; */
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: all 0.4s ease;
    padding: 8px 0;
}

.menu-link:hover {
    color: #d82d2e;
}

.menu-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    color: var(--secondary-color);
    /* background: #D82D2E; */
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.active {
    color: var(--secondary-color);
}

.menu-link:hover::after,
.menu-link.active::after {
    width: 100%;
    color: var(--secondary-color);
}

.menu-link i {
    font-size: 12px;
    margin-left: 6px;
    transition: 0.3s;
}

.dropdown:hover i {
    transform: rotate(180deg);
}

.highlight {
    /* background: linear-gradient(90deg, #7b68ee, #ff6b9d); */
    background-color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    color: white;
    font-weight: 400;
}

.highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(123, 104, 238, 0.4);
    color: #e8c87e;
}
.highlight::after {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(123, 104, 238, 0.4);
    color: #e8c87e;
}
/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    /* top: 150%; */
    left: 80%;
    transform: translateX(-50%);
    background: rgba(20, 10, 40, 0.95);
    backdrop-filter: blur(15px);
    min-width: 220px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(167, 139, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    left: 45%;
    width: 30%;
    background: var(--primary-color);
    top: 120%;
}

.dropdown-menu li a {
    display: block;
    padding: 14px 20px;
    color: #e0daff;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-menu li:hover a {
    background: rgba(167, 139, 255, 0.2);
    color: white;
    padding-left: 28px;
}

.bars {
    display: none;
}

.barssummary {
    list-style: none;
    appearance: none;
    cursor: pointer;
    font-size: 28px;
    color: red;
}
summary {
    list-style: none;
    appearance: none;
}

.barssummary:hover {
    color: darkred;
}

.bars ul {
    display: none;
    flex-direction: column;
    background: rgb(255, 255, 255);
    text-align: center;
    position: absolute;
    left: 0;
    top: 50px;
    list-style: none;
    z-index: 10;
}

.bars ul {
    display: flex;
    position: absolute;
    width: 100%;
    margin: auto;
    top: 10vh;
    /* left: 60%;  */
}

.bars ul li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.bars ul li:hover {
    background-color: #1877f2;
    color: white;
    transition: 0.3s;
}

.bars ul li a {
    text-decoration: none;
    color: black;
    font-weight: 600;
}
.dropdown-menu li a.dropdown-singleitem,
.dropdown-menu li a.dropdown-singleitem:visited,
.dropdown-menu li a.dropdown-singleitem:hover,
.dropdown-menu li a.dropdown-singleitem:active {
    color: white;
    display: flex;
    /* IMPORTANT */
    align-items: center;
    padding-right: 30px;
}
.bars ul li a.mobile-cta {
    background: linear-gradient(90deg, #7b68ee, #ff6b9d);
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 10px;
    color: white !important;
}

/* Responsive */
@media (max-width: 1184px) {
    .menu-list {
        gap: 20px;
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .bars {
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 15px 5%;
    }

    .logo img {
        height: 45px;
    }
    .dropdown-menu li a.dropdown-singleitem,
    .dropdown-menu li a.dropdown-singleitem:visited,
    .dropdown-menu li a.dropdown-singleitem:hover,
    .dropdown-menu li a.dropdown-singleitem:active {
        padding-right: 10px;
    }
}

/* Desktop hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    text-align: center;
    top: 120%;
}
.dropdown-menu {
    color: white;
}
/* Mobile click */
@media (max-width: 1024px) {
    .highlight {
        padding: 10px 20px;
        background-color: white;
    }
    .dropdown-menu {
        display: none;
        position: static;
        right: 45%;
        opacity: 1;
        visibility: visible;
        background: none;
        color: white;
        box-shadow: none;
        border: none;
    }

    .dropdown.open .dropdown-menu {
        list-style: none;
    }

    .dropdown-menu li a {
        margin-left: 100px;
        color: white;
    }
}

.hero {
    text-align: center;
    margin: 30px 90px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 600;
    color: #1a1a4b;
}

.hero p {
    margin-top: 10px;
    font-size: 18px;
    color: #4a4a7a;
}

/* Country Section */
.country-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.country-buttons .btn {
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid #e0e0f5;
    font-size: 16px;
    color: #25257a;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.country-buttons .btn:hover {
    background: #25257a;
    color: #fff;
    border-color: #25257a;
}

.country-buttons .btn i {
    margin-left: 8px;
    font-size: 20px;
}

.pic {
    margin-top: 10vh;
    object-fit: cover;
}

@media (max-width: 700px) {
    .pic {
        margin: 5vh auto 0vh auto;
        display: flex;
        justify-content: center;
    }

    .pic img {
        width: 90vw;
        height: auto;
    }
}

/* Events Section */
.events-section {
    padding: 50px 0 0;
}

.events-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2d1653;
}

.events-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.event-box {
    width: 150px;
    text-align: center;
}

.event-icon img {
    width: 100%;
    cursor: pointer;
    margin-top: 10vh;
}

.event-name {
    margin-top: 12px;
    font-size: 18px;
    color: #110053;
    font-weight: 600;
}

/*  Study Abroad Section  */
.study-abroad-section {
    padding: 20px 20px;
    background: linear-gradient(135deg, #0f051d 0%, #1a0b2e 100%);
    position: relative;
    overflow: hidden;
    margin-top: -34px;
}

.study-abroad-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&q=80")
        center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.section-header h1 {
    font-size: 35px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    background: white;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header h1 span {
    display: block;
    font-size: 30px;
    color: white;
    background: white;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 18px;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.countries-grid {
    display: flex;
    flex-wrap: wrap;
    /* Allow cards to wrap to next line */
    gap: 40px;
    justify-content: center;
    padding: 0 80px 20px;
    margin: auto;
}

.country-link {
    text-decoration: none;
    color: inherit;
    /* display: block; */
}

.country-card {
    flex: 1 1 calc(25% - 30px);
    /* 4 cards per row minus gap adjustment */
    max-width: calc(25% - 30px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.country-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px rgba(120, 70, 255, 0.4);
}

.card-inner {
    position: relative;
    height: 200px;
    overflow: hidden;
    object-fit: cover;
}

.card-inner img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.country-card:hover img {
    transform: scale(1.15);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.9) 100%
    );
    color: white;
    padding: 40px 24px 30px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.country-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.learn-more {
    color: #a78bff;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover {
    color: #fff;
    gap: 15px;
}

.learn-more::after {
    font-size: 16px;
}

/* Make responsive for smaller screens */
@media (max-width: 1200px) {
    .country-card {
        flex: 1 1 calc(33.33% - 26px);
        /* 3 cards per row */
        max-width: calc(33.33% - 26px);
    }
}

@media (max-width: 900px) {
    .country-card {
        flex: 1 1 calc(50% - 20px);
        /* 2 cards per row */
        max-width: calc(50% - 20px);
    }

    .card-overlay {
        transform: translateY(0);
        opacity: 1;
    }

    .card-overlay h3 {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
    }

    .learn-more {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .country-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .card-overlay {
        transform: translateY(0);
        opacity: 1;
    }

    .card-overlay h3 {
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 0px;
    }

    .learn-more {
        font-size: 12px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-header h1 {
        font-size: 20px;
    }

    .section-header h1 span {
        font-size: 16px;
    }

    .section-header p {
        font-size: 14px;
    }
}

/* Testimonials Part */
.testimonials {
    text-align: center;
    padding: 36px 20px;
    width: 100%;
    background: #f3ecff;
}

.testimonials h2 {
    font-size: 32px;
    font-weight: 400;
    color: #2d1653;
}

.subtitle {
    color: #666;
    margin: 10px 0 40px 0;
}

.testi-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    /*for responsive*/
}

.testi-card {
    width: 350px;
    /* background: #7268ff; */
    background: linear-gradient(135deg, #0f051d 0%, #1a0b2e 100%);
    padding: 25px;
    border-radius: 12px;
    color: white;
    text-align: left;
}

.quote {
    font-size: 50px;
    opacity: 0.8;
}

.testi-card p {
    font-weight: 300;
    line-height: 24px;
    font-size: 14px;
}

.pin-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pin {
    width: 40px;
    margin-top: 15px;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding-top: 20px;
    background-color: #f8f9fa;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 20px 30px #28225157;
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    color: #666;
}

/* swippers */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide {
    width: 60%;
}

.swiper-slide:nth-child(2n) {
    width: 40%;
}

.swiper-slide:nth-child(3n) {
    width: 20%;
}
.user-info {
    margin-top: 14px;
}

.user-info h4 {
    margin: 0;
    font-size: 18px;
}

.user-info small {
    opacity: 0.8;
}

.paternship-section {
    text-align: center;
}

.paternship-topic h1 {
    margin-top: 50px;
}

/* =========================
   PARTNERS SECTION
========================= */

.paternship-section {
    padding: 70px 20px;
    background: #faf8ff;
    text-align: center;
}

.paternship-topic h1 {
    font-size: 34px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.paternship-topic p {
    max-width: 720px;
    margin: 0 auto 45px auto;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* =========================
   PARTNERS GRID
========================= */

.partners-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* =========================
   PARTNER CARD
========================= */

.partners-container > div {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 20px 18px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 22px rgba(40, 34, 81, 0.08);
    transition: all 0.35s ease;
    position: relative;
}

/* =========================
   PARTNER LOGO
========================= */

.partners-container img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

/* =========================
   PARTNER NAME
========================= */

.partners-container .user-info {
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.35s ease;
}

.partners-container .user-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
    text-align: center;
}

/* =========================
   HOVER EFFECT (PREMIUM)
========================= */

.partners-container > div:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(40, 34, 81, 0.18),
        0 0 0 1px rgba(123, 104, 238, 0.18);
}

.partners-container > div:hover img {
    transform: scale(1.08);
}

.partners-container > div:hover .user-info {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

/* Tablets – keep 6 in one row */
@media (max-width: 1024px) {
    .partners-container {
        grid-template-columns: repeat(6, 1fr);
        gap: 22px;
    }
}

/* Mobile – 3 per row (2 rows) */
@media (max-width: 640px) {
    .partners-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .partners-container > div {
        height: 110px;
        padding: 18px 14px;
    }

    .partners-container img {
        max-height: 50px;
    }

    /* Always show name on mobile */
    .partners-container .user-info {
        opacity: 1;
        transform: none;
    }
}

.form-section {
    width: 100%;
    padding: 60px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: #faf8ff;
}

.form-left {
    width: 40%;
}

.form-left h2 {
    font-size: 34px;
    font-weight: 400;
    color: #2d1653;
    margin-bottom: 20px;
}

.form-left p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.form-right {
    width: 50%;
}

.form-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d1653;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

input,
select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
}

input:focus,
select:focus {
    border-color: #5d33b8;
}

.phone-field {
    display: flex;
    gap: 10px;
}

.country-code {
    background: #f3efff;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.agree {
    display: flex;
    align-items: end;
    gap: 10px;
}

.agree input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.agree label {
    color: #555;
    font-size: 12px;
    line-height: 1.4;
}

.agree label a {
    color: #2d1653;
    text-decoration: none;
}

.submit-btn {
    background: #2d1653;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    width: 50%;
    margin: auto;
    cursor: pointer;
}

.submit-btn:hover {
    background: #3e1f6d;
    transition: 0.3s;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
    padding: 60px;
    background: linear-gradient(180deg, #0b0f2c, #02041b);
    color: #fff;
    font-family: Arial, sans-serif;
}

.footer-left {
    flex: 2;
}

/* ABOUT BOX */
.footer-about {
    background: white;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-about img {
    width: 90px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    justify-content: space-around;
}

/* EACH COLUMN */
.footer-box h3 {
    font-size: 18px;
    margin-bottom: 18px;
}

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a {
    text-decoration: none;
    color: #ffffffcc;
    font-size: 14px;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-right {
    flex: 1;
}

.contact-info p {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.contact-info i {
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 18px;
    color: white;
}

.contact-info strong {
    color: white;
}

.newsletter h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.newsletter p {
    font-size: 14px;
    color: #ffffffcc;
    margin-bottom: 15px;
}

.newsletter form {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0;
}

.newsletter input {
    width: 50%;
    border: none;
    outline: none;
    border-radius: 0;
    font-size: 14px;
}

.newsletter button {
    width: 28%;
    border: none;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter button:hover {
    background: var(--primary-color);
}

.footer-bottom {
    width: 100%;
    margin-top: 40px;
    text-align: center;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 18px;
}

.footer-bottom p {
    margin: 6px 0;
    font-size: 14px;
    color: #ffffffcc;
}

.footer-bottom .designer {
    font-size: 13px;
    opacity: 0.7;
}

@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        padding: 40px 25px;
    }

    .footer-links {
        flex-direction: column;
        gap: 35px;
    }

    .footer-about {
        flex-direction: column;
        text-align: center;
    }
}
/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s;
}

.mobile-toggle:hover {
    color: var(--secondary-color);
}

/* Mobile Menu Container */
.bars {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: left 0.4s ease;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.bars.active {
    left: 0;
}

/* Mobile Header with Logo and Close Button */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid #eee;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.mobile-logo img {
    height: 40px;
    width: auto;
}

.close-menu {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    color: var(--secondary-color);
}

/* Mobile Navigation */
.mobile-nav {
    padding: 40px 5%;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav .menu-link {
    display: block;
    padding: 16px 0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.mobile-nav .menu-link:hover,
.mobile-nav .menu-link.active {
    color: var(--secondary-color);
}

.mobile-nav .highlight {
    background: var(--primary-color);
    color: white;
    padding: 14px 24px;
    border-radius: 30px;
    margin-top: 10px;
    text-align: center;
}

.mobile-nav .highlight:hover {
    background: var(--secondary-color);
    color: white;
}

/* Mobile Dropdown */
.dropdown-mobile {
    position: relative;
}

.dropdown-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    appearance: none;
    border-bottom: 1px solid #eee;
}

.dropdown-summary::-webkit-details-marker {
    display: none;
}

.dropdown-menu-mobile {
    background: #f9f9f9;
    border-radius: 8px;
    margin: 10px 0;
    padding: 0 15px;
    list-style: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu-mobile li {
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-menu-mobile li:last-child {
    border-bottom: none;
}

.dropdown-menu-mobile a {
    display: block;
    padding: 12px 0;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.dropdown-menu-mobile a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.dropdown-mobile details[open] .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-mobile .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .bars {
        display: block;
    }

    details.bars {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-header {
        padding: 15px 5%;
    }

    .mobile-logo img {
        height: 35px;
    }

    .close-menu {
        font-size: 28px;
    }

    .mobile-nav {
        padding: 15px 5%;
    }

    .mobile-nav .menu-link {
        font-size: 15px;
        padding: 14px 0;
    }
}

@media (max-width: 1024px) {
    .bars {
        display: flex;
        flex-direction: column;
    }

    .mobile-nav {
        flex: 1;
        overflow-y: auto;
        padding-top: 0;
    }

    .mobile-nav ul {
        padding-top: 20px;
    }

    .mobile-nav li:first-child .menu-link {
        padding-top: 20px;
    }
}

/* More specific fix for tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-nav {
        padding-top: 30px; 
    }

    .mobile-nav ul {
        gap: 5px; 
    }
}
