/*=========================================
  GOOGLE FONTS
=========================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/*=========================================
  ROOT VARIABLES
=========================================*/
:root{
    --primary:#0B2345;
    --secondary:#133A67;
    --gold:#D4AF37;
    --white:#ffffff;
    --light:#f5f7fa;
    --gray:#7d7d7d;
    --dark:#111111;
    --shadow:0 10px 30px rgba(0,0,0,.12);
    --header-h:78px;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fff;
    color:#333;
    overflow-x:hidden;
    line-height:1.7;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

img{
    max-width:100%;
    display:block;
}

h1,h2,h3,h4,h5{
    font-family:'Playfair Display',serif;
    line-height:1.25;
}

/* prevents any single element from forcing horizontal scroll */
.container{
    width:92%;
    max-width:1200px;
    margin:0 auto;
}

/*=========================================
  NAVBAR (shared, identical on every page)
=========================================*/
header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:var(--header-h);
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    z-index:1000;
}

.navbar{
    width:92%;
    max-width:1300px;
    height:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-box{
    width:48px;
    height:48px;
    flex-shrink:0;
    background:var(--gold);
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.logo-box i{
    color:#fff;
    font-size:22px;
}

.logo h2{
    font-size:20px;
    color:var(--primary);
    font-weight:700;
    white-space:nowrap;
}

.logo span{
    color:var(--gold);
}

.logo p{
    font-size:9px;
    letter-spacing:1.5px;
    color:#777;
    display:none;
}

/* Desktop nav links — hidden on mobile by default */
.nav-links{
    display:none;
}

.nav-links a{
    font-weight:600;
    color:#1d3557;
    transition:.25s;
}

.nav-links a:hover,
.nav-links a.active{
    color:var(--gold);
}

.right-nav{
    display:none;
    align-items:center;
    gap:18px;
}

.right-nav p{
    color:#1d3557;
    font-weight:600;
    font-size:14px;
    white-space:nowrap;
}

.consult-btn{
    background:var(--gold);
    color:#fff;
    padding:11px 22px;
    border-radius:40px;
    font-weight:600;
    font-size:14px;
    white-space:nowrap;
    transition:.25s;
}

.consult-btn:hover{
    background:var(--primary);
}

/* Hamburger — visible on mobile by default */
.menu{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    color:var(--primary);
    cursor:pointer;
    background:none;
    border:none;
    padding:8px;
}

/* Mobile dropdown menu */
.nav-links.show{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    position:fixed;
    top:var(--header-h);
    left:0;
    width:100%;
    background:#fff;
    padding:10px 0 20px;
    gap:2px;
    box-shadow:0 15px 30px rgba(0,0,0,.15);
    max-height:calc(100vh - var(--header-h));
    overflow-y:auto;
    animation:slideDown .3s ease;
}

.nav-links.show a{
    display:block;
    padding:14px 24px;
    font-size:16px;
    border-bottom:none;
}
.nav-links.show .mobile-consult,
.nav-links.show .mobile-phone{
    display: none;
}

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

/* Desktop breakpoint: switch from hamburger to full nav */
@media(min-width:900px){

    :root{
        --header-h:90px;
    }

    .logo-box{
        width:58px;
        height:58px;
        border-radius:12px;
    }

    .logo-box i{
        font-size:26px;
    }

    .logo h2{
        font-size:26px;
    }

    .logo p{
        display:block;
    }

    .nav-links{
        display:flex;
        gap:32px;
        position:static;
        box-shadow:none;
        padding:0;
        background:none;
        max-height:none;
        overflow:visible;
        animation:none;
        width:auto;
    }

    .nav-links a{
        padding:0;
        border-bottom:none;
        font-size:16px;
    }

    .nav-links .mobile-consult,
    .nav-links .mobile-phone{
        display:none;
    }

    .right-nav{
        display:flex;
    }

    .right-nav p{
        font-size:15px;
    }

    .consult-btn{
        padding:13px 26px;
        font-size:15px;
    }

    .menu{
        display:none;
    }
}

/*=========================================
  BUTTONS (shared)
=========================================*/
.buttons{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

.gold-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--gold);
    color:#fff;
    padding:15px 30px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
    border:2px solid var(--gold);
}

.gold-btn:hover{
    background:transparent;
    color:var(--gold);
}

.outline-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border:2px solid rgba(255,255,255,.7);
    color:#fff;
    padding:13px 30px;
    border-radius:50px;
    transition:.3s;
    font-weight:600;
}

.outline-btn:hover{
    background:#fff;
    color:var(--primary);
}

/*=========================================
  FOOTER (shared)
=========================================*/
.footer{
    background:#0d2954;
    color:#fff;
    margin-top:60px;
}

.footer-container{
    width:92%;
    max-width:1300px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr;
    gap:35px;
    padding:55px 0 40px;
    text-align:center;
}

.footer-box h2{
    font-size:26px;
    margin-bottom:16px;
}

.footer-box h3{
    color:var(--gold);
    margin-bottom:16px;
    font-size:17px;
}

.footer-box p{
    color:#cfd6e4;
    margin-bottom:10px;
    font-size:14px;
    line-height:1.6;
}

.footer-box ul li{
    margin:10px 0;
}

.footer-box ul li a{
    color:#cfd6e4;
    font-size:14px;
    transition:.25s;
}

.footer-box ul li a:hover{
    color:var(--gold);
}

.social{
    display:flex;
    justify-content:center;
    gap:14px;
    margin-top:18px;
}

.social a{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#173d74;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.25s;
}

.social a:hover{
    background:var(--gold);
}

.copyright{
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
    padding:18px 20px;
    color:#b9c2d6;
    font-size:13px;
}

@media(min-width:700px){
    .footer-container{
        grid-template-columns:repeat(2,1fr);
        text-align:left;
    }
    .social{
        justify-content:flex-start;
    }
}

@media(min-width:1000px){
    .footer-container{
        grid-template-columns:repeat(4,1fr);
    }
}

/*=========================================
  FLOATING BUTTONS
=========================================*/
.whatsapp-float{
    position:fixed;
    bottom:22px;
    right:18px;
    width:54px;
    height:54px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:900;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
    background:#1ebe5d;
}

.scroll-top{
    position:fixed;
    right:18px;
    bottom:84px;
    width:46px;
    height:46px;
    border-radius:50%;
    background:var(--gold);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:900;
}

.scroll-top.show{
    opacity:1;
    visibility:visible;
}

.scroll-top:hover{
    background:var(--primary);
}

@media(min-width:900px){
    .whatsapp-float{
        width:64px;
        height:64px;
        font-size:34px;
        bottom:100px;
        right:30px;
    }
    .scroll-top{
        width:55px;
        height:55px;
        font-size:22px;
        bottom:30px;
        right:30px;
    }
}

/*=========================================
  SCROLLBAR
=========================================*/
::-webkit-scrollbar{
    width:9px;
}
::-webkit-scrollbar-track{
    background:#f1f1f1;
}
::-webkit-scrollbar-thumb{
    background:var(--gold);
    border-radius:20px;
}
::-webkit-scrollbar-thumb:hover{
    background:var(--primary);
}

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