:root {
    --primary: #002147;
    --secondary: #FFB703;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --accent: #219EBC;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.1);
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    box-shadow: 0 5px 15px rgba(255, 183, 3, 0.4);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: 110px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 90px;
    width: 100%;
    /* border-radius: 50%; */
    object-fit: contain;

    padding: 2px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-dark);
}

nav ul li a:hover {
    color: var(--secondary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;

}

.lang-switcher {
    display: flex;
    background: var(--light-bg);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid #ddd;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    color: var(--text-dark);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

/* Mobile Menu Elements */
.nav-mobile-logo,
.nav-mobile-social {
    display: none;
}

@media (max-width: 768px) {
    #nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        /* Slightly wider for better spacing */
        height: 100vh;
        background: var(--white);
        padding: 30px 30px 40px;
        /* Adjusted padding */
        transition: var(--transition);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: flex !important;
        /* Changed to flex for vertical layout */
        flex-direction: column;
    }

    #nav-menu.active {
        left: 0;
    }

    .nav-mobile-logo {
        display: block;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        /* Subtle separator */
    }

    .nav-mobile-logo img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 20px;
        overflow-y: auto;
        /* Scrollable if menu is long */
        flex-grow: 0;
        /* Takes available space */
    }

    #nav-menu ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 5px 0;
    }

    .nav-mobile-social {
        display: flex;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-mobile-social a {
        width: 45px;
        height: 45px;
        background: var(--light-bg);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 1.2rem;
        transition: var(--transition);
    }

    .nav-mobile-social a:hover {
        background: var(--secondary);
        color: var(--primary);
    }
}

/* Hero Section */
.hero {
    padding: 50px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 183, 3, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    border-radius: var(--radius-lg);
    animation: floatingHero 4s ease-in-out infinite;
    max-width: 100%;
    z-index: 2;
}

@keyframes floatingHero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.image-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    font-size: 1.5rem;
    z-index: 5;
    animation: orbit 6s ease-in-out infinite;
}

@keyframes orbit {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(15px, -15px);
    }

    66% {
        transform: translate(-15px, 15px);
    }
}

.icon-1 {
    top: 10%;
    left: 0%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 5%;
    animation-delay: 1.5s;
    background: var(--primary);
    color: var(--white);
}

.icon-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 3s;
}

.icon-4 {
    bottom: 25%;
    right: 15%;
    animation-delay: 4.5s;
    background: var(--secondary);
    color: var(--primary);
}

/* Section Reveal Animation */
.reveal,
.highlight-card,
.feature-row,
.branch-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active,
.highlight-card.active,
.feature-row.active,
.branch-card.active {
    opacity: 1;
    transform: translateY(0);
}

.floating-icons {
    display: flex;
    gap: 15px;
}

.float-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    font-size: 1.2rem;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

.float-icon:nth-child(even) {
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Highlights */
.highlights {
    padding: 50px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--text-muted);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.highlight-card {
    position: relative;
    background: var(--white);
    padding: 40px;
    border-radius: calc(var(--radius-md) - 2.5px);
    height: 100%;
    z-index: 2;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}


.icon-box {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Gallery Strip */
.gallery-strip {
    padding: 80px 0;
    background-color: var(--primary);
    position: relative;
}

.gallery-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
}

.gallery-track:active {
    cursor: grabbing;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.gallery-nav:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: -25px;
}

.gallery-nav.next {
    right: -25px;
}

@media (max-width: 1200px) {
    .gallery-nav {
        display: none;
    }
}

.gallery-item {
    position: relative;
    min-width: 320px;
    height: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    scroll-snap-align: center;
    flex-shrink: 0;
}


.gallery-title::after {
    content: "";
    display: block;
    width: 126px;
    height: 4px;
    background: #FF9800;
    margin: 20px auto 0;
}





.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
    font-weight: 600;
    z-index: 2;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Why Choose Us */
.why-choose {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.why-choose h2 span {
    color: var(--secondary);
}

.why-choose p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}



/* About Us Section */
.about-us {
    padding: 100px 0;
    background: var(--white);
}

.about-us h2 span {
    color: var(--secondary);
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-text {
    direction: ltr;
}

.feature-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-text p {
    margin-bottom: 25px;
    color: var(--text-muted);
}

.feature-img img {
    border-radius: var(--radius-lg);

}

.about-us .feature-img img {
    border: 4px solid #ffb703;
}

.btn-text {
    color: var(--primary);
    font-weight: 700;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-text:hover {
    gap: 15px;
}

/* Quick Links Grid */
.quick-links-section {
    padding: 60px 0;
    margin-top: -50px;
    z-index: 10;
    position: relative;
    margin-top: 10px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quick-card i {
    font-size: 2rem;
    color: var(--primary);
}

.quick-card span {
    font-weight: 600;
    color: var(--text-dark);
}

.quick-card:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.quick-card:hover i,
.quick-card:hover span {
    color: var(--white);
}

@media (max-width: 768px) {
    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Principal Message */
.principal-message {
    padding: 100px 0;
}


.principal-message .principal-content .principal-text {
    background-color: #ffb703;
    padding: 45px;
    border-radius: 100px 30px 30px 100px;
}




.principal-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0px;
    align-items: center;
}

.principal-img {
    position: relative;
}

.principal-img img {
    border-radius: var(--radius-md);
}

.name-tag {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
}

.principal-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.principal-text p {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-muted);
}

.signature {

    font-size: 2rem;
    margin-top: 30px;
    color: var(--primary);
}

/* Tech Impact */
.tech-impact {
    padding: 100px 0;
    background: var(--primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    margin-bottom: 80px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary);
}

.app-mockup {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.mockup-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.app-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    font-size: 2.5rem;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.user-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.stars {
    color: var(--secondary);
    margin-top: 15px;
}

/* Branches */
.branches {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.branch-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.branch-info {
    padding: 25px;
}

.branch-info h3 {
    margin-bottom: 10px;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background-color: var(--secondary);
    text-align: center;
}

.final-cta h2 {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--primary);
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    background: #00152e;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer-about p {
    color: #a0a0a0;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #a0a0a0;
}

.footer-links ul li a:hover {
    color: var(--secondary);
}

.footer-contact p {
    color: #a0a0a0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}





.mockup-img img {
    border-radius: 30px;
}









/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero .container,
    .feature-row,
    .app-mockup,
    .principal-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    nav ul {
        display: none;
    }

    #nav-menu.active ul {
        display: flex;
    }

    .header-cta .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .branch-grid {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }





    .principal-message .principal-content .principal-text {
        background-color: #ffb703;
        padding: 30px;
        border-radius: 60px 30px 30px 60px;
    }


    .name-tag {

        bottom: 14px;
        right: 14px;

    }

    .principal-text h2 {

        font-size: 33px;
    }



    .about-us {
        padding: 30px 0;

    }

    .floating-icons {
        display: flex;
        gap: 27px;
    }

    .feature-text h2 {
        font-size: 30px;
        text-align: center;
    }

    .why-choose {
        padding: 50px 0;
        background-color: var(--light-bg);
    }


    .app-mockup {
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-lg);
        padding: 40px;
        display: grid;
        /* grid-template-columns: 1fr 1fr; */
        align-items: center;
        gap: 40px;
    }

    .btn-large {
        padding: 18px 30px;
        font-size: 1.2rem;
    }




    .stat-number {
        font-size: 35px;
        display: grid;
    }


    .stats-grid {

        gap: 0px;
        grid-template-columns: repeat(3, 1fr);
    }



    .tech-impact {
        padding: 60px 0;

    }

    .header-cta {

        flex-direction: row-reverse;
    }


}

/* Modern Animated Borders */
.feature-card-container {
    position: relative;
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    padding: 2.5px;
    /* Thicker padding for a visible border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.feature-card-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 130, 0, 0.15);
}

.fire-border {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            transparent 240deg,
            rgba(255, 235, 59, 0.6) 260deg,
            rgba(255, 183, 0, 0.9) 290deg,
            rgba(255, 77, 0, 1) 310deg,
            rgba(255, 183, 0, 0.9) 330deg,
            rgba(255, 235, 59, 0.6) 360deg);
    animation: rotateFire 12s linear infinite;
    z-index: 1;
}

@keyframes rotateFire {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.highlight-card {
    position: relative;
    background: var(--white);
    padding: 40px;
    border-radius: calc(var(--radius-md) - 2.5px);
    height: 100%;
    z-index: 2;
    transition: var(--transition);
    border: none;
    /* Remove previous border */
    display: flex;
    flex-direction: column;
}

.feature-card-container:hover .highlight-card {
    background: #fff;
}

/* Adjust highlight-grid to use container */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}