/* =========================================================
   GLOBAL / RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#ffffff;
    color:#111;
    overflow-x:hidden;
}


/* =========================================================
   NAVBAR / HEADER
========================================================= */

.navbar{

    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);

    width:92%;
    max-width:1400px;
    height:80px;

    background:#111111;

    border-radius:20px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 40px;

    z-index:999;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

.logo img{

    height:70px;
    cursor:pointer;
    transition:.3s;

}

.logo img:hover{

    transform:scale(1.05);

}
.logo-area{

    display:flex;
    align-items:center;
    gap:15px;

}


.brand-name{

    color:#ffd344;

    font-size:22px;

    font-weight:700;

    white-space:nowrap;

}

/* --- Nav Menu --- */

.nav-links{

    display:flex;
    list-style:none;
    gap:45px;

}

.nav-links li{

    list-style:none;

}

.nav-links a{

    text-decoration:none;
    color:white;

    font-size:16px;
    font-weight:500;

    position:relative;

    transition:.35s;

}

.nav-links a:hover{

    color:#D4AF37;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;
    height:2px;

    background:#D4AF37;

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

/* --- Call Button (Header) --- */

.call-btn{

    display:flex;
    align-items:center;
    gap:10px;

    color:white;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.call-btn:hover{

    color:#D4AF37;

}

.call-btn i{

    font-size:18px;

}

.call-btn a{

    color:inherit;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:10px;

}

/* --- Hamburger (Mobile Menu Toggle) --- */

.menu-btn{

    display:none;

    color:white;

    font-size:30px;

    cursor:pointer;

}


/* =========================================================
   HERO SECTION
========================================================= */

.hero{

    width:100%;
    min-height:100vh;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:140px 8% 80px;

    background:white;

}

.hero-text{

    flex:1;

}

.hero-text h1{

    font-size:65px;
    line-height:1.15;

    color:#434344;

    margin-bottom:20px;

    font-weight:700;

}

.hero-text h3{

    color:#c1820f;

    font-size:26px;

    margin-bottom:20px;

    font-weight:600;

}

.hero-text p{

    color:#666;

    font-size:18px;

    line-height:1.8;

    max-width:560px;

    margin-bottom:40px;

}

/* --- Hero Button --- */

.hero-btn{
    display:inline-block;

    background:#ffffff;
    color:#110A38;

    border:2px solid #110A38;

    text-decoration:none;

    padding:16px 38px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;
}

.hero-btn:hover{
    background:#D4AF37;
    color:#111;

    border-color:#D4AF37;

    transform:translateY(-3px);
}

/* --- Hero Image / Flip Card --- */

.hero-image{
    display:flex;
    justify-content:center;
    align-items:center;
    perspective:1200px;
}


.hero-flip{

    width:600px;
    height:600px;
    max-width:100%;

    position:relative;

    transform-style:preserve-3d;

    transition:transform 1s ease;

    cursor:pointer;

}


.hero-flip.flipped{

    transform:rotateY(180deg);

}


.hero-face{

    position:absolute;

    width:100%;
    height:100%;

    top:0;
    left:0;

    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;

}


.hero-face img{

    width:100%;
    height:100%;

    object-fit:cover;

    border-radius:20px;

}


.hero-back{

    transform:rotateY(180deg);

}

.hero-image img{

    width:100%;
    max-width:600px;

}

.hero-flip:hover{
    transform:scale(1.02);
}

.hero-flip.flipped:hover{
    transform:rotateY(180deg) scale(1.02);
}
.hero-face{
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}


/* =========================================================
   ABOUT SECTION (HERO TWO / THE LEGACY)
========================================================= */

.hero-two{
    width:100%;
    background:#0F2D52;
    padding:100px 8%;
}

.hero-two-content{
    max-width:850px;
    margin:auto;

    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.section-tag{
    color:#D4AF37;
    font-size:15px;
    font-weight:600;
    letter-spacing:2px;
    margin-bottom:18px;
}

.hero-two-content h2{
    color:#fff;
    font-size:52px;
    line-height:1.2;
    margin-bottom:25px;
}

.hero-two-content p{
    color:#d6d6d6;
    font-size:18px;
    line-height:1.9;
    max-width:700px;
    margin-bottom:10px;   /* කලින් 45px */
}

.hero-two-image{
    width:100%;
    display:flex;
    justify-content:center;
    margin:20px 0;
    background:none;
    box-shadow:none;
    border:none;
    padding:0;
}

.hero-two-image img{
    width:90%;
    max-width:1100px;
    height:auto;
}

.hero2-btn{
    display:inline-block;
    padding:16px 45px;
    background:#D4AF37;
    color:#111;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.hero2-btn:hover{
    background:#fff;
    transform:translateY(-4px);
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.services{
    padding:100px 8%;
    background:#fff;
}

.services h2{
    text-align:center;
    font-size:48px;
    margin-bottom:60px;
}

.services-slider{
    display:flex;
    align-items:center;
    gap:20px;
}

.services-grid{
    flex:1;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s;
}

.service-card:hover{

    transform:translateY(-8px);

}

.service-card img{

    width:100%;
    height:230px;
    object-fit:cover;

}

.service-card h3{

    font-size:24px;

    padding:25px 25px 10px;

}

.service-card p{

    padding:0 25px 25px;

    color:#666;

    line-height:1.7;

}

.service-card a{

    display:inline-block;

    margin:25px;

    background:#D4AF37;

    color:#111;

    padding:13px 28px;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

}

.slider-btn{

    display:none;

    width:48px;
    height:48px;

    border:none;

    border-radius:50%;

    background:#111;

    color:#fff;

    cursor:pointer;

    font-size:18px;
}

/* --- Services Section CTA --- */

.services-cta{

    text-align:center;

    margin-top:50px;

}

.services-btn{

    display:inline-block;

    background:#ffffff;
    color:#110A38;

    border:2px solid #110A38;

    text-decoration:none;

    padding:16px 45px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.services-btn:hover{

    background:#D4AF37;

    color:#111;

    transform:translateY(-4px);

}


/* =========================================================
   REVIEWS / TESTIMONIALS SECTION
========================================================= */

.reviews{
    width:100%;
    padding:100px 8%;
    background:#0d0d0d;
    overflow:hidden;
}

.reviews-header{
    max-width:750px;
    margin:0 auto 70px;
    text-align:center;
}

.reviews-header span{
    color:#ffd446;
    font-size:24px;
    letter-spacing:4px;
}

.reviews-header h2{
    color:#fff;
    font-size:50px;
    margin:18px 0;
    font-weight:700;
}

.reviews-header p{
    color:#bdbdbd;
    font-size:18px;
    line-height:1.8;
}

/* --- Slider --- */

.reviews-slider{
    position:relative;
}

/* --- Desktop Grid --- */

.reviews-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

/* --- Review Card --- */

.review-card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.10);

    border-radius:22px;

    padding:35px;

    transition:.35s;

}

.review-card:hover{

    transform:translateY(-10px);

    background:rgba(255,255,255,.12);

    box-shadow:0 25px 50px rgba(0,0,0,.30);

}

.stars{

    color:#ffd23d;

    font-size:22px;

    margin-bottom:20px;

}

.review-card p{

    color:#fff;

    font-size:17px;

    line-height:1.9;

    margin-bottom:30px;

}

/* --- Customer Info --- */

.client{

    display:flex;

    align-items:center;

    gap:15px;

}

.client img{

    width:65px;

    height:65px;

    object-fit:cover;

    border-radius:50%;

    border:3px solid #D4AF37;

    box-shadow:0 0 18px rgba(212,175,55,.40);

}

.client h4{

    color:#fff;

    font-size:18px;

    margin-bottom:5px;

}

.client span{

    color:#cfcfcf;

    font-size:14px;

}

/* --- Arrows --- */

.review-btn{

    display:none;

}


/* =========================================================
   CONTACT / QUOTE SECTION
========================================================= */

.contact{

    padding:100px 8%;

    background-image:
    linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.65)
    ),
    url("qback.JPG");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}


.contact-container{

    max-width:1200px;

    margin:auto;

    display:flex;

    gap:60px;

    padding:50px;

    border-radius:30px;


    background:rgba(255,255,255,.12);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.2);


}


/* --- Left: Contact Text --- */


.contact-text{

    flex:1;

}


.contact-text span{

    color:#fff3cd;

    font-size:15px;

    font-weight:700;

    letter-spacing:3px;

}


.contact-text h2{

    color:white;

    font-size:48px;

    margin:20px 0;

}


.contact-text p{

    color:#eee;

}

/* --- Contact Info (phone / address / email) --- */


.contact-info{

    margin-top:35px;

}


.contact-info div{

    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:25px;

}


.contact-info i{

    width:50px;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#ffffff;
    color:#111;

    border-radius:50%;
    border:2px solid #f4fc0f;
}


.contact-info p{

    color:white;

}

.contact-info a{

    color:white;
    text-decoration:none;

}

.contact-info a:hover{

    color:#D4AF37;

}


/* --- Right: Quote Form --- */


.quote-box{

    flex:0.8;

    background:white;

    padding:40px;

    border-radius:25px;

}


.quote-box h3{

    font-size:30px;
    margin-bottom:25px;

}


.quote-box form{

    display:flex;
    flex-direction:column;
    gap:15px;

}


.quote-box input,
.quote-box select,
.quote-box textarea{


    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:15px;

    outline:none;

}


.quote-box textarea{

    height:120px;
    resize:none;

}


.quote-box button{

    padding:16px;

    background:#111;

    color:white;

    border:none;

    border-radius:50px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}


.quote-box button:hover{

    background:#D4AF37;

    color:#111;

}


/* =========================================================
   WHATSAPP FLOATING BUTTON
========================================================= */


.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;


    width:65px;

    height:65px;


    background:#25D366;

    color:white;

    border-radius:50%;


    display:flex;

    justify-content:center;

    align-items:center;


    font-size:35px;


    z-index:999;


    box-shadow:0 10px 25px rgba(0,0,0,.3);

    transition:.3s;

}


.whatsapp:hover{

    transform:scale(1.1);

}


/* =========================================================
   FOOTER
========================================================= */


.footer{

    background:#0b0b0b;

    padding:80px 8% 25px;

    color:white;

}


.footer-container{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1.2fr;

    gap:50px;

}



/* --- Company Info --- */

.footer-col img{

    width:130px;

    margin-bottom:20px;

}


.footer-col h2{

    color:white;

    font-size:28px;

    margin-bottom:10px;

    font-weight:700;

}


.footer-col h4{

    color:#D4AF37;

    font-size:15px;

    font-weight:500;

    line-height:1.6;

    margin-bottom:20px;

}


.footer-col p{

    color:#bdbdbd;

    font-size:15px;

    line-height:1.8;

}


/* --- Headings --- */

.footer-col h3{

    color:#D4AF37;

    font-size:22px;

    margin-bottom:25px;

}


/* --- Links --- */

.footer-col ul{

    list-style:none;

}



.footer-col ul li{

    margin-bottom:15px;

    color:#ccc;

}



.footer-col ul li a{

    color:#ccc;

    text-decoration:none;

    transition:.3s;

}



.footer-col ul li a:hover{

    color:#D4AF37;

    padding-left:5px;

}


/* --- Contact Links --- */


.footer-col a{

    color:#ccc;

    text-decoration:none;

    transition:.3s;

}



.footer-col a:hover{

    color:#D4AF37;

}



.footer-col i{

    color:#D4AF37;

    margin-right:10px;

}


/* --- Social Icons --- */


.footer-social{

    display:flex;

    gap:15px;

    margin-top:25px;

}



.footer-social a{

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#111;
    border:1px solid #2a2a2a;

    color:#D4AF37;

    border-radius:10px; /* 50% දාන්න ඕන නම් round කරන්න */

    font-size:18px;

    text-decoration:none;

    transition:.3s;

}

.footer-social a i{

    color:#D4AF37;
    font-size:18px;
    margin:0;
}

.footer-social a:hover{

    background:#D4AF37;
    border-color:#D4AF37;

    transform:translateY(-4px);

}

.footer-social a:hover i{

    color:#111;
}


/* --- Copyright --- */


.footer-bottom{

    max-width:1200px;

    margin:50px auto 0;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

}



.footer-bottom p{

    color:#D4AF37;

    font-size:14px;

}


/* =========================================================
   RESPONSIVE / MOBILE
========================================================= */

@media (max-width:900px){

    /* --- Navbar --- */

    .navbar{
        position:relative;
        top:0;
        left:0;
        transform:none;
        width:100%;
        border-radius:0;
        padding:0 20px;
        height:75px;
    }
    .brand-name{

        font-size:18px;

    }

    .logo img{
        height:50px;
    }

    .call-btn{
        display:none;
    }

    .menu-btn{
        display:block;
        font-size:28px;
    }

   .nav-links{

    position:absolute;

    top:75px;
    left:0;

    width:100%;

    background:#111111;

    flex-direction:column;

    align-items:center;

    gap:25px;

    padding:30px 0;


    opacity:0;

    visibility:hidden;

    transform:translateY(-20px);

    transition:
    opacity .4s ease,
    transform .4s ease,
    visibility .4s;

}


.nav-links.active{

    display:flex;

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}
.nav-links li{

    opacity:0;

    transform:translateY(-15px);

    transition:.4s ease;

}


.nav-links.active li{

    opacity:1;

    transform:translateY(0);

}


.nav-links.active li:nth-child(1){
    transition-delay:.1s;
}


.nav-links.active li:nth-child(2){
    transition-delay:.2s;
}


.nav-links.active li:nth-child(3){
    transition-delay:.3s;
}

    /* --- Hero --- */

    .hero{

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    text-align:center;

    padding:100px 6% 50px;

    gap:20px;

    min-height:auto;

}

    .hero-text{
        width:100%;
    }

    .hero-text h1{
        font-size:34px;
        line-height:1.2;
        margin-bottom:15px;
    }

    .hero-text h3{
        font-size:20px;
        margin-bottom:15px;
    }

    .hero-text p{
        font-size:16px;
        line-height:1.7;
        margin-bottom:25px;
        max-width:100%;
    }

    .hero-btn{
        padding:14px 30px;
        font-size:16px;
    }

    /* --- Hero Image --- */

    .hero-image{
        width:100%;
        display:flex;
        justify-content:center;
        align-items:center;
        margin-bottom:0;
        margin-top:60px;
    }

    .hero-image img{

    width:100%;

    max-width:280px;

    height:auto;

}
.hero-flip{

    width:280px;

    height:280px;

}

.hero-text{

    margin-top:0;

}

.hero-text h1{

    margin-top:10px;

}
.hero-image{
    margin-bottom:0;
}

    /* --- About / Hero Two --- */

    .hero-two{
    padding:70px 6%;
}

.hero-two-content h2{
    font-size:34px;
}

.hero-two-content p{
    font-size:16px;
}

.hero-two-image img{
    max-width:100%;
}

.hero2-btn{
    width:220px;
    text-align:center;
}

    /* --- Services --- */

.services{

padding:70px 0;

}

.services h2{

font-size:34px;

margin-bottom:30px;

}


/* Slider Wrapper */

.services-slider{

position:relative;

}


/* Cards */

.services-grid{

display:flex;

overflow-x:auto;

scroll-behavior:smooth;

scroll-snap-type:x mandatory;

gap:18px;

padding:0 4%;

scrollbar-width:none;

}

.services-grid::-webkit-scrollbar{

display:none;

}


/* Card */

.service-card{

flex:0 0 92%;

scroll-snap-align:center;

}


/* Arrows */

.slider-btn{

display:flex;

justify-content:center;

align-items:center;

position:absolute;

top:45%;

transform:translateY(-50%);

width:44px;

height:44px;

border:none;

border-radius:50%;

background:rgba(0,0,0,.25);

backdrop-filter:blur(10px);

color:#fff;

font-size:18px;

cursor:pointer;

z-index:100;

transition:.3s;

}

.slider-btn:hover{

background:rgba(0,0,0,.45);

}

.prev{

left:12px;

}

.next{

right:12px;



margin-bottom:35px;

}

/* Services CTA - mobile */

.services-cta{

    margin-top:35px;

    padding:0 6%;

}

.services-btn{

    width:100%;

    max-width:320px;

    text-align:center;

}

    /* --- Reviews --- */

.reviews-header h2{

font-size:34px;

}

.reviews-header p{

font-size:16px;

}

.reviews-slider{

position:relative;

}

.reviews-grid{

display:flex;

overflow-x:auto;

scroll-behavior:smooth;

scroll-snap-type:x mandatory;

gap:18px;

padding:0 4%;

scrollbar-width:none;

}

.reviews-grid::-webkit-scrollbar{

display:none;

}

.review-card{

flex:0 0 92%;

scroll-snap-align:center;

padding:28px;

}

/* Transparent Arrows */

.review-btn{

display:flex;

justify-content:center;

align-items:center;

position:absolute;

top:45%;

transform:translateY(-50%);

width:46px;

height:46px;

border:none;

border-radius:50%;

background:rgba(255,255,255,.15);

backdrop-filter:blur(10px);

color:#fff;

font-size:18px;

cursor:pointer;

z-index:100;

transition:.3s;

}

.review-btn:hover{

background:rgba(255,255,255,.28);

}

.review-prev{

left:10px;

}

.review-next{

right:10px;

}

    /* --- Contact / Quote --- */

.contact{

    padding:70px 20px;
}

.contact-container{

    flex-direction:column;

    padding:20px;

    gap:35px;
}

.quote-box{

    width:100%;

    padding:25px 20px;

    border-radius:20px;
}


    /* --- Footer --- */

.footer{


    padding:60px 6% 25px;


}



.footer-container{


    display:flex;

    flex-direction:column;

    gap:40px;


    text-align:center;


}




/* Company */


.footer-col img{


    width:120px;

    margin-bottom:15px;


}



.footer-col h2{


    font-size:24px;

}



.footer-col h4{


    font-size:14px;

    padding:0 10px;

}



.footer-col p{


    font-size:14px;

}





/* Titles */


.footer-col h3{


    font-size:20px;

    margin-bottom:20px;


}




/* Links */


.footer-col ul{


    padding:0;

}



.footer-col ul li{


    margin-bottom:12px;


}





/* Contact */


.footer-col p{


    margin-bottom:12px;


}




.footer-col i{


    margin-right:8px;


}





/* Social */


.footer-social{


    justify-content:center;

    margin-top:20px;


}



.footer-social a{


    width:40px;

    height:40px;


}





/* Bottom */


.footer-bottom{


    margin-top:40px;

    padding-top:20px;


}



.footer-bottom p{

    color:#D4AF37;

    font-size:13px;

}


}