/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    padding-left: 16px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    height: 50px;
    margin-right: auto;
    margin-left: 0 !important;
    padding-left: 16px !important;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #282D7D;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #282D7D;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-buttons .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.nav-buttons .btn-secondary {
    background: transparent;
    color: #282D7D;
    border: 1px solid #E5E7EB;
}

.nav-buttons .btn-primary {
    background: #282D7D;
    color: white;
    border: none;
}

.nav-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 45, 125, 0.15);
}

.mobile-menu-btn {
    display: none;
}

/* Mobile Menu */
@media screen and (max-width: 768px) {
    .logo {
        height: 45px;
        margin-right: auto;
        margin-left: 0 !important;
        padding-left: 16px !important;
    }

    .navbar .container {
        height: 70px;
        padding-left: 16px !important;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 99999;
        position: relative;
        margin-left: 20px;
    }

    .nav-buttons {
        display: none;
    }

    /* Menu Icon */
    .menu-icon {
        width: 24px;
        height: 2px;
        background: #282D7D;
        position: relative;
        transition: all 0.3s ease;
    }

    .menu-icon::before,
    .menu-icon::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: #282D7D;
        transition: all 0.3s ease;
    }

    .menu-icon::before {
        top: -8px;
    }

    .menu-icon::after {
        bottom: -8px;
    }

    .mobile-menu-btn.active .menu-icon {
        background: transparent;
    }

    .mobile-menu-btn.active .menu-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-menu-btn.active .menu-icon::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    /* Mobile Menu Container */
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding: 80px 20px 30px;
        flex-direction: column;
        align-items: flex-start;
        transition: all 0.3s ease-in-out;
        z-index: 99998;
        overflow-y: auto;
    }

    .nav-container.active {
        right: 0;
    }

    /* Navigation Links */
    .nav-links {
        width: 100%;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a {
        display: block;
        padding: 15px 33px;
        font-size: 16px;
        color: #282D7D;
        text-align: left;
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99997;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Tablet and Desktop Styles */
@media screen and (min-width: 769px) {
    .nav-container {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: none;
        overflow: visible;
    }

    .nav-links {
        flex-direction: row;
        gap: 25px;
    }

    .nav-links li {
        width: auto;
        border: none;
    }

    .nav-buttons {
        display: flex;
        gap: 12px;
    }

    .mobile-menu-btn,
    .menu-overlay {
        display: none;
    }
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .services-grid,
    .focus-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .description {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Desktop Styles */
@media screen and (min-width: 1025px) {
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 30px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .focus-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Utility Classes */
.hide-desktop {
    display: none;
}

.hide-mobile {
    display: block;
}

@media screen and (min-width: 769px) {
    .hide-desktop {
        display: block;
    }

    .hide-mobile {
        display: none;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base styles for Why Us section - place at the top of the file */
.why-us-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    position: relative;
}

.why-us-section .section-title {
    color: #282D7D;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.why-us-section .section-subtitle {
    color: #282D7D;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
}

.why-us-section .description {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card h4 {
    color: #282D7D;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #333 !important;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 1 !important;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(40, 45, 125, 0.12);
}

@media screen and (max-width: 768px) {
    .why-us-section .section-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .why-us-section .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Menu Icon Styles */
.menu-icon {
    width: 25px;
    height: 2px;
    background: #333;
    position: relative;
    transition: 0.3s;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.mobile-menu-btn.active .menu-icon {
    background: transparent;
}

.mobile-menu-btn.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Overlay for mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Welcome Section Base Styles */
.welcome-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.welcome-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 20px;
    position: relative;
    z-index: 2;
}

.welcome-section .section-title {
    color: #282D7D;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
}

.welcome-section .section-subtitle {
    color: #555;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-grid {
    display: grid;
    gap: 50px;
    align-items: center;
}

.content-text p {
    color: #000000;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .welcome-section {
        padding: 60px 0;
    }

    .welcome-section .section-title {
        font-size: 2rem;
        line-height: 1.2;
        padding: 0 20px;
    }

    .welcome-section .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .content-text {
        order: 1;
        text-align: left;
    }

    .content-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .content-image {
        order: 2;
        margin: 0 -20px;
    }

    .content-image img {
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }
}

/* Tablet styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .welcome-section {
        padding: 80px 0;
    }

    .welcome-section .section-title {
        font-size: 2.5rem;
    }

    .welcome-section .section-subtitle {
        font-size: 1.2rem;
        max-width: 80%;
    }

    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 0 40px;
    }

    .content-text p {
        font-size: 1.1rem;
    }
}

/* Desktop styles */
@media screen and (min-width: 1025px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .content-text {
        padding-right: 40px;
    }

    .content-image img:hover {
        transform: scale(1.02);
    }
}

/* Services Section (Single row) */
.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(40, 45, 125, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card .service-icon i {
    font-size: 28px;
    color: #282D7D !important;
    transition: all 0.3s ease;
}

.service-card h3 {
    color: #282D7D;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(40, 45, 125, 0.1);
}

.service-card:hover .service-icon {
    background: #282D7D;
}

.service-card:hover .service-icon i {
    color: #fff !important;
}

/* Conferences Section (3 columns) */
.conferences-section {
    padding: 80px 0;
    background: #fff;
}

.conferences-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.conferences-section .section-title {
    color: #282D7D;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.conferences-section .section-subtitle {
    color: #282D7D;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 20px;
}

.intro-text {
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.conferences-section .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-box .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(40, 45, 125, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-box .service-icon i {
    font-size: 32px;
    color: #282D7D !important;
    transition: all 0.3s ease;
}

.service-box h4 {
    color: #282D7D;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-box p {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(40, 45, 125, 0.1);
}

.service-box:hover .service-icon {
    background: #282D7D;
}

.service-box:hover .service-icon i {
    color: #fff !important;
}

/* Responsive Breakpoints */
@media screen and (max-width: 1200px) {
    .services-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 1024px) {
    .conferences-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {

    .services-section,
    .conferences-section {
        padding: 40px 0;
    }

    .services-section .services-grid,
    .conferences-section .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card,
    .service-box {
        padding: 30px 20px;
    }

    .service-card .service-icon,
    .service-box .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .service-card .service-icon i,
    .service-box .service-icon i {
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .conferences-section .section-title {
        font-size: 2rem;
    }

    .conferences-section .section-subtitle {
        font-size: 1.2rem;
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .service-box h4 {
        font-size: 1.2rem;
    }

    .service-box p {
        font-size: 0.95rem;
    }
}

.services-section .description {
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.services-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.services-section .cta-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .services-section .description {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .services-section .cta-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .services-section .cta-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}