/* ================= STYLE.CSS (FIXED + PREMIUM UPGRADE) ================= */

:root {
    --primary:#0B3C6D;
    --accent:#D71920;
    --light:#F5F7FA;
    --dark:#111;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:var(--light);
    color:#222;
}

/* ===== NAVBAR ===== */
header{
    position:fixed;
    width:100%;
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 60px;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.08); /* subtle premium shadow */
}

header img{
    height:75px;   /* increased from 45px */
    object-fit:contain;
}

nav ul{
    display:flex;
    align-items:center;
    list-style:none;
}

nav ul li{
    margin-left:15px;
}

nav a{
    background:#0B3C6D;
    color:#fff;
    padding:8px 18px;
    border-radius:25px;
    text-decoration:none;
    font-weight:500;
    transition:0.3s ease;
    display:inline-block;
}

/* FIXED HOVER */
nav a:hover{
    background:#D71920;
    color:#fff; /* FORCE WHITE TEXT */
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
}


.menu{
    display:none;
    font-size:28px;
    color:white;
    cursor:pointer;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100%;
}

.btn.outline {
    background: transparent;
    border: 2px solid white;
}

/* ===== BUTTONS ===== */
.btn{
    background:var(--accent);
    padding:14px 30px;
    border-radius:30px;
    color:white;
    text-decoration:none;
    transition:0.3s;
    display:inline-block;
}

.btn:hover{
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(0,0,0,0.3);
}
.hero-buttons{
    display:flex;
    gap:15px;
    margin-top:20px;
    flex-wrap:wrap; /* helps on small screens */
    justify-content:center;
}
.hero-buttons .btn{
    min-width:180px;
    text-align:center;
}

/* ===== SECTIONS ===== */
section{
    padding:80px 40px;
    text-align:center;
}

h2{
    font-size:36px;
    color:var(--primary);
    margin-bottom:30px;
}

/* ===== SERVICES GRID ===== */
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    transition:0.4s;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    position:relative;
    overflow:hidden;
}

.card::before{
    content:"";
    position:absolute;
    width:100%;
    height:4px;
    background:var(--accent);
    top:0;
    left:0;
}

.card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* ===== CTA ===== */
.cta{
    background:var(--primary);
    color:white;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp{
    position:fixed;
    bottom:20px;
    right:20px;

    background:#075E54; /* 🔥 deep WhatsApp green */
    color:white;

    padding:16px 18px;
    border-radius:50%;

    font-size:24px;

    box-shadow:0 8px 25px rgba(0,0,0,0.35);
    z-index:999;

    text-decoration:none;

    transition:all 0.3s ease;
}

/* 🔥 hover effect */
.whatsapp:hover{
    background:#128C7E; /* lighter WhatsApp green */
    transform:scale(1.1);
    box-shadow:0 12px 30px rgba(0,0,0,0.4);
}
.whatsapp::after{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    border-radius:50%;
    background:rgba(7,94,84,0.4);
    animation:pulse 2s infinite;
    z-index:-1;
}

@keyframes pulse{
    0%{transform:scale(1); opacity:0.6;}
    70%{transform:scale(1.6); opacity:0;}
    100%{opacity:0;}
}
/* ===== FOOTER ===== */
footer{
    background:var(--dark);
    color:white;
    padding:30px;
    text-align:center;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp{
    from{opacity:0;transform:translateY(30px);} 
    to{opacity:1;transform:translateY(0);} 
}

/* ===== MOBILE ===== */
@media(max-width:768px){
    nav ul{
        display:none;
        flex-direction:column;
        background:var(--primary);
        position:absolute;
        top:60px;
        right:0;
        width:200px;
        padding:20px;
    }

    .menu{
        display:block;
    }

    .hero h1{
        font-size:38px;
    }
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    padding: 15px;
    color: var(--primary);
}

.service-card p {
    padding: 0 15px 20px;
    font-size: 14px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* MOBILE */
@media(max-width:1024px){
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px){
    .services-grid {
        grid-template-columns: 1fr;
    }
}
.about{
    background:white;
    padding:80px 20px;
}

/* CENTERED CONTAINER */
.about-container{
    max-width:1100px;
    margin:0 auto;   /* centers it */
    display:grid;
    grid-template-columns: 1.5fr 5px 1fr;
    align-items:center;
    gap:40px;
}

.about-text{
    text-align:left;
}

.about-text h2{
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:15px;
    line-height:1.7;
    font-size:15px;

    text-align:justify;   /* 🔥 THIS does it */
    text-justify:inter-word; /* improves spacing */
}

/* RED LINE */
.about-line{
    background:#D71920;
    width:4px;
    height:0;
    border-radius:5px;
    animation:growLine 1.2s ease forwards;
}

@keyframes growLine{
    from{height:0;}
    to{height:100%;}
}

/* IMAGE */
.about-image img{
    width:100%;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* MOBILE */
@media(max-width:900px){
    .about-container{
        grid-template-columns:1fr;
    }

    .about-line{
        display:none;
    }
}
.about-title{
    text-align:center;
    margin-bottom:30px;
    position:relative;
    display:inline-block;
}

/* CENTER TITLE BLOCK */
.about-text{
    text-align:left;
}

.about-text .about-title{
    display:block;
    margin:0 auto 30px;
}

/* ANIMATED UNDERLINE */
.about-title::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-8px;
    width:0;
    height:3px;
    background:#D71920;
    transform:translateX(-50%);
    animation:underlineGrow 1s ease forwards;
}

@keyframes underlineGrow{
    from{width:0;}
    to{width:80px;}
}
.about-text, .about-image{
    opacity:0;
    transform:translateY(30px);
    animation:fadeUp 1s ease forwards;
}
/* ===== FOOTER BASE ===== */
.footer{
    position:relative;
    background: linear-gradient(135deg, #071f3a, #0B3C6D); /* 🔥 darker, richer blue */
    color:white;
    padding:80px 40px 40px;
    overflow:visible;
}

/* 🔥 glass overlay layer */
.footer::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background:rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);

    z-index:0;
}

/* MAIN GRID */
.footer-wrapper{
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns: 1fr 2fr;
    gap:0;
    align-items:stretch;
     position:relative;
    z-index:2;
}

/* LEFT RAISED BOX */
.footer-left{
    background:white;
    color:#222;
    padding:30px;
    border-radius:16px 0 0 16px;

    position:relative;

    /* 🔥 THIS CREATES THE "SPILL OUTSIDE" EFFECT */
    margin-top:-150px;  /* controls how far it rises */
    z-index:5;
    /*transform:translateY(-100px); /* 👈 THIS creates the spill */
    display:flex;
    flex-direction:column;
    justify-content:center;

    box-shadow:0 20px 50px rgba(0,0,0,0.25);
     /* 🔴 premium red accent line */
    border-left:5px solid #D71920;
    border-right:5px solid #D71920;
    transition: all 0.4s ease;
}

/* 🔥 HOVER EFFECT */
.footer-left:hover{
    transform:translateY(-8px);
    box-shadow:0 30px 70px rgba(0,0,0,0.35);
}
}

.footer-left h3{
    color:#0B3C6D;
    margin-bottom:15px;
}

/* RIGHT SIDE */
.footer-right{
    background:#0B3C6D;
    display:grid;
    grid-template-columns: 1fr 1.5fr;
    gap:30px;
    padding:30px;
    border-radius:0 12px 12px 12px;
}
.footer-right{
    background:rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);

    display:grid;
    grid-template-columns: 1fr 1.5fr;
    gap:30px;
    padding:30px;

    border-radius:0 12px 12px 12px;
    border:1px solid rgba(255,255,255,0.1);
}

/* LINKS */
.footer-links a{
    display:block;
    color:white;
    text-decoration:none;
    margin-bottom:8px;
    transition:0.3s;
}

.footer-links a:hover{
    color:#D71920;
}

/* SOCIAL */
.socials a{
    margin-right:10px;
}

/* MAP */
.footer-map iframe{
    width:100%;
    height:240px; /* was 200px */
    border:none;
    border-radius:12px;
}

/* BOTTOM */
.footer-bottom{
    text-align:center;
    margin-top:40px;
    font-size:14px;
    opacity:0.8;
}
/*.footer-left:hover{
    transform:translateY(-5px);
    transition:0.3s; 
}*/
section:last-of-type{
    margin-bottom:100px; /* 👈 creates space before footer */
}
.footer-links{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;   /* 🔥 centers everything inside */
    text-align:center;    /* centers text like titles */
}
.footer-links h3{
    margin-bottom:15px;
    color:#fff;
}

.footer-links a{
    position:relative;
    display:inline-block;
    margin-bottom:10px;
    padding-left:18px;
    color:#ddd;
    font-size:14px;
    transition:0.3s;
}

/* hover animation */
.footer-links a:hover{
    color:#D71920;
    transform:translateX(5px);
}
/*.socials{
    margin-top:15px;
}*/
.socials{
    display:flex;
    align-items:center;
    flex-direction:row;   /* 🔥 FORCE HORIZONTAL */
    gap:10px;             /* better than margin-right */
    flex-wrap:wrap;       /* prevents breaking on small screens */
    justify-content:center;   /* 🔥 THIS centers horizontally */

    width:100%;               /* ensures full row width */
}

.socials a{
    display:flex;
    align-items:center;
    justify-content:center;

    width:42px;
    height:42px;

    border-radius:50%;
    background:rgba(255,255,255,0.1);
    color:white;

    margin-right:10px;

    transition:0.3s;
}

/* 🔥 FORCE PERFECT CENTER */
.socials a i{
    display:inline-block;
    font-size:18px;

    line-height:1;
    width:1em;
    height:1em;

    text-align:center;
}

/* 🔥 hover glow */
.socials a:hover{
    background:#D71920;
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,0.3);
}
@media(max-width:768px){

    .footer-wrapper{
        grid-template-columns:1fr;
        align-items:center;
    }

    .footer-left{
        margin-top:0;
        border-radius:12px;
        transform:none;
    }

    .footer-right{
        grid-template-columns:1fr;
    }

    .footer-map iframe{
        height:220px;
    }
}
.reveal{
    opacity:0;
    transform:translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

.footer-links h3,
.social-title{
    color:#ffffff;
    position:relative;
    display:inline-block;
    margin-bottom:15px;
}
.footer-links h3::after,
.social-title::after{
    content:"";
    position:absolute;

    left:0;
    bottom:-6px;

    width:0;
    height:2px;

    background:#D71920;

    transition:width 0.4s ease;
}
.footer-links h3:hover::after,
.social-title:hover::after{
    width:100%;
}
.footer-links h3,
.social-title{
    letter-spacing:0.5px;
}
/* ===== LUXURY CTA SECTION ===== */
.premium-cta{
    position:relative;
    padding:80px 40px;

    background:linear-gradient(135deg, #0B3C6D, #071f3a);
    overflow:hidden;
}

/* 🔥 soft glowing background */
.premium-cta::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(circle, rgba(215,25,32,0.25), transparent 70%);
    top:-150px;
    left:-150px;
    z-index:0;
}

/* subtle glass layer */
.premium-cta::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(255,255,255,0.03);
    backdrop-filter:blur(6px);
    z-index:0;
}

/* CONTAINER */
.cta-container{
    position:relative;
    z-index:2;

    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items:center;
    gap:20px;
}

/* TEXT */
.cta-text p{
    color:#f1f1f1;
    font-size:17px;
    line-height:1.8;
}

/* ===== ARROWS (LUXURY ANIMATION) ===== */
.cta-arrows{
    display:flex;
    justify-content:center;
    gap:8px;
}

.cta-arrows span{
    font-size:50px;
    color:#D71920;

    opacity:0.3;

    animation:arrowPulse 1.5s infinite;
}

/* stagger animation */
.cta-arrows span:nth-child(2){
    animation-delay:0.2s;
}
.cta-arrows span:nth-child(3){
    animation-delay:0.4s;
}

@keyframes arrowPulse{
    0%{opacity:0.2; transform:translateX(0);}
    50%{opacity:1; transform:translateX(10px);}
    100%{opacity:0.2; transform:translateX(0);}
}

/* ===== BUTTON (LUXURY STYLE) ===== */
.cta-action{
    text-align:right;
}

.cta-btn{
    position:relative;
    overflow:hidden;

    background:#D71920;
    color:white;

    padding:16px 40px;
    border-radius:40px;

    font-weight:600;
    font-size:16px;
    text-decoration:none;

    display:inline-block;

    transition:all 0.4s ease;

    box-shadow:0 10px 30px rgba(215,25,32,0.4);
}

/* 🔥 shine effect */
.cta-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );

    transition:0.6s;
}

/* hover luxury effect */
.cta-btn:hover::before{
    left:100%;
}

.cta-btn:hover{
    transform:translateY(-5px) scale(1.05);
    box-shadow:0 20px 50px rgba(215,25,32,0.6);
    background:#b7151b;
}
@media(max-width:768px){

    .cta-container{
        grid-template-columns:1fr;
        text-align:center;
        gap:25px;
    }

    .cta-text p{
        text-align:center;
    }

    .cta-action{
        text-align:center;
    }

    .cta-arrows span{
        font-size:40px;
    }
}
.footer::after{
    content:"";
    position:absolute;

    width:500px;
    height:500px;

    background:radial-gradient(circle, rgba(215,25,32,0.25), transparent 70%);

    bottom:-150px;
    left:-150px;

    z-index:0;

    animation:footerGlowMove 6s ease-in-out infinite alternate;
}
@keyframes footerGlowMove{
    0%{
        transform:translate(0,0) scale(1);
        opacity:0.4;
    }
    100%{
        transform:translate(80px,-60px) scale(1.2);
        opacity:0.7;
    }
}
.footer::before{
    content:"";
    position:absolute;

    width:400px;
    height:400px;

    background:radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);

    top:-100px;
    right:-100px;

    z-index:0;
}
.about-text .about-btn{
    display:block;              /* makes it behave like a block */
    margin:20px auto 0;         /* 🔥 centers horizontally */

    background:#D71920;
    color:#fff !important;

    padding:12px 25px;
    border-radius:30px;

    font-size:14px;
    font-weight:500;

    text-decoration:none;

    width:max-content;          /* prevents full width stretching */

    transition:all 0.3s ease;
}
/* hover */
.about-text .about-btn:hover{
    background:#b7151b;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.25);
}