/* ===============================
   GLOBAL THEME & RESET
================================*/
:root {
    --bg-black: #050505;
    --card-black: #111111;
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --white: #ffffff;
    --light-text: #b0b0b0;
    --transition: 0.4s ease;
}

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

body {
    background: var(--bg-black);
    color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

.gold-text { color: var(--gold); }
.white-text { color: var(--white); }

/* ===============================
   NAVBAR
================================*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    background: rgba(0, 0, 0, 0.95); /* පොඩ්ඩක් තද කළු පාටක් */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.nav-logo { height: 50px; }

.logo-text {
    font-size: 1.6rem;
    color: var(--gold);
    font-weight: 700;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white); /* මෙතනට 'var(--white)' හෝ '#ffffff' දෙන්න */
    font-size: 1rem;
    gap: 20px;
    font-weight: 500;
    text-transform: capitalize;
    transition: 0.3s ease;
}

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

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

.logo-text {
    font-size: 1.6rem;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 28px;
    background: var(--gold);
    margin: 4px 0;
    transition: 0.4s;
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0; /* මැද ඉර අයින් කරනවා */
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Menu */
@media (max-width: 850px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(8px);
        display: flex;
        flex-direction: column;
        padding-top: 100px;
        padding-left: 30px;
        gap: 25px;
        transition: 0.4s ease;
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-links.active { right: 0 !important;}
    .hamburger { display: flex; }
    .nav-links li a {
        font-size: 1.2rem;
        color: var(--gold);
    }
}
/* ===============================
   HERO SECTION
================================*/
.project-hero {
    height: 95vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/contact.webp') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-caption h1 {
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

/* ===============================
   CONTACT SECTION
================================*/
.contact-main {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border-radius: 40px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(15px);
}

.contact-info-side h2 { font-size: 2.2rem; margin-bottom: 15px; }
.info-details { display: flex; flex-direction: column; gap: 25px; margin-top: 30px; }

.info-item { display: flex; align-items: center; gap: 20px; }
.info-item i {
    width: 50px; height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; font-size: 1.2rem;
}

.info-item span { color: var(--gold); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.info-item p { font-size: 1.1rem; color: #fff; margin-top: 2px; }

/* Contact Form Side */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.input-group input, .input-group textarea {
    width: 100%; padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px; color: #fff;
    outline: none; transition: var(--transition);
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.cta-btn {
    background: var(--gold);
    color: #000;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.cta-btn:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* ===============================
   FOOTER
================================*/
.main-footer {
    background: #0a0a0a !important;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.main-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 90%; height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.footer-grid {
    max-width: 1200px;
    margin: auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
}
.footer-icon{
    margin-left: -35px !important;
    height: 160px !important; /* සයිස් එක හොඳටම පේන්න 120px වගේ දාලා බලන්න */
    width: auto !important;
    max-height: none !important; /* Bootstrap එකෙන් හිර කරලා තියෙනවා නම් ඒක අයින් කරන්න */
    object-fit: contain;
}

.footer-col h3 {
    font-size: 1.3rem;
    color: #ffffff !important; /* Headings සේරම සුදු කලා */
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1px !important; /* 12px වෙනුවට 6px දාලා ලෝගෝ එක සහ නම ළං කළා */
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    border-radius: 10px;
}

/* ENIX කොටස සඳහා රන්වන් පැහැය (Premium Gold) */
.logo-text .gold-text {
    color: #d4af37 !important;
    font-weight: 800;
}

/* ORA කොටස සඳහා පසුබිමට කැපී පෙනෙන ලස්සන නිල් පැහැය */
.logo-text .blue-text {
    color: #041e41 !important; /* අර තද නිල් වෙනුවට කළු පසුබිමේ කැපිලා පේන Neon Blue එකක් දැම්මා */
    font-weight: 800;
}

.about-desc { color: #ffffff !important; line-height: 1.7; margin-bottom: 25px; opacity: 0.9; }

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 40px; height: 40px;
    border-radius: 50%;
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.social-icons a:hover { background: #d4af37 !important; color: #000 !important; transform: translateY(-5px); }

/* Links List */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ffffff !important; text-decoration: none; transition: 0.3s; font-size: 0.95rem; opacity: 0.85; }
.footer-links a:hover { color: #d4af37 !important; opacity: 1; padding-left: 5px; }

/* Contact Details (Gold Section) */
.contact-details { list-style: none; padding: 0; }
.contact-details li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; color: #d4af37 !important; font-size: 0.95rem; }
.contact-details i { color: #d4af37 !important; font-size: 1.1rem; width: 20px; text-align: center; }
.contact-details a { color: #d4af37 !important; text-decoration: none; transition: 0.3s; }
.contact-details a:hover { color: #ffffff !important; text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }

.back-to-top {
    position: absolute;
    bottom: 30px; right: 5%; width: 45px; height: 45px;
    background: #d4af37; color: #000; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.back-to-top:hover { transform: scale(1.1); box-shadow: 0 0 20px #d4af37; }
/* බටන් දෙක එක ළඟ තබා ගැනීමට Flexbox භාවිතා කිරීම */
.contact-btn-group {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

/* පොදු බටන් ස්ටයිල් */
.contact-action-btn {
    flex: 1; /* බටන් දෙකටම සමාන පළලක් ලබා දේ */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* ලෝගෝ එක සහ අකුරු අතර පරතරය */
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

/* WhatsApp Button Style (Brand Green) */
.btn-whatsapp {
    background-color: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Email Button Style (Premium Gold Look) */
.btn-email {
    background-color: transparent !important;
    border: 1.5px solid #d4af37 !important;
    color: #d4af37 !important;
}

.btn-email:hover {
    background-color: #d4af37 !important;
    color: #0b0b0b !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* මොබයිල් ෆෝන් වලදී බටන් දෙක එකක් යට එකක් හිටින්න සකස් කිරීම */
@media (max-width: 480px) {
    .contact-btn-group {
        flex-direction: column;
        gap: 12px;
    }
}
/* ==========================================================================
   10. GLOBAL RESPONSIVE MEDIA QUERIES (BREAKPOINTS)
   ========================================================================== */
@media screen and (max-width: 992px) {
    /* Navbar Hamburger Trigger */
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 250px;
        background: rgba(12, 12, 14, 0.98); backdrop-filter: blur(8px);
        display: flex; flex-direction: column; padding-top: 100px; padding-left: 30px; gap: 25px;
        transition: 0.4s ease; border-left: 1px solid rgba(0, 86, 179, 0.2);
    }
    .nav-links.active { right: 0 !important; }

    /* Hero Text Adjustments */
    .hero-caption h1 { font-size: 2.8rem; }
    .hero-caption p { font-size: 1rem; }

    /* Sections Layouts */
    .choose-wrapper { flex-direction: column; gap: 30px; }
    .choose-image img { height: 280px; }

    /* FIXED TWO-COLUMN MOBILE FOOTER (INDEX COPY) */
    .footer-grid {
        grid-template-columns: 1fr 1.2fr !important; 
        gap: 40px 20px;
        text-align: left;
    }
    .footer-grid .footer-col:first-child { grid-column: span 2; margin-bottom: 10px; }
    .footer-logo, .social-icons, .contact-details li { justify-content: flex-start !important; }
    .footer-col h3 { text-align: left !important; font-size: 1.1rem; margin-bottom: 15px; }
    .footer-links a { display: block; padding-left: 0; }
    .contact-details li { font-size: 0.85rem; gap: 10px; }
}

@media screen and (max-width: 600px) {
    .about-hero { height: 75vh; }
    .hero-caption h1 { font-size: 2.2rem; }
    .our-story-container h2, .our-focus .section-header h2, .why-choose-us .section-header h2 { font-size: 2rem; }
    .about-main, .our-focus, .why-choose-us { padding: 60px 5%; }
    
    /* 50% / 50% split for small phones */
    .footer-grid {
        grid-template-columns: 1fr 1.1fr !important;
        gap: 30px 10px;
        padding: 0 4%;
    }
    .about-desc, .footer-links a { font-size: 0.85rem; }
    .back-to-top { bottom: 20px; right: 4%; width: 40px; height: 40px; }
}
.logo-text .gold-text {
    color: #e9be31 !important;
    font-weight: 900; /* අකුරු හොඳින් කැපිලා පේන්න */
}

/* ORA කොටස සඳහා නිල් පැහැය (Neon Electric Blue) */
.logo-text .blue-text {
    color: #041e41 !important;
    font-weight: 800;
}
/* ============================================================
   🔥 GLOBAL RESPONSIVE FIX PACK (FULL SYSTEM)
   ============================================================ */

/* ============= 1200px – Large Screens Fix ============= */
@media (max-width: 1200px) {
    .container { width: 90%; }
}

/* ============= 992px – Tablet Horizontal ============= */
@media (max-width: 992px) {

    /* Navbar */
    .navbar { padding: 12px 5%; }

    /* Hero */
    .hero-caption h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
    }

    .contact-info-side, 
    .contact-form {
        text-align: center;
    }

    .info-item {
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo,
    .social-icons,
    .contact-details li {
        justify-content: center;
    }

    .back-to-top {
        right: 50%;
        transform: translateX(50%);
    }
}

/* ============= 850px – Mobile Menu ============= */
@media (max-width: 850px) {
    .nav-links li a {
        font-size: 1.2rem;
    }

    .hero-caption h1 {
        font-size: 2.3rem;
    }
}

/* ============= 768px – Small Tablets & Big Phones ============= */
@media (max-width: 768px) {

    /* Global text scaling */
    h1, h2 { line-height: 1.2; }

    /* Hero */
    .hero-caption h1 {
        font-size: 2.2rem;
    }

    /* Contact Form Spacing */
    .contact-wrapper {
        padding: 35px 25px;
    }

    .info-item p {
        font-size: 1rem;
    }

    /* Footer */
    .footer-grid {
        gap: 35px;
    }

    .footer-col h3 {
        font-size: 1.2rem;
    }
}

/* ============= 600px – Mobile Screen (most devices) ============= */
@media (max-width: 600px) {

    /* Navbar */
    .nav-logo { height: 42px; }

    /* Hero */
    .project-hero {
        height: 85vh;
        padding-top: 120px;
    }
    .hero-caption h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    /* Contact Section */
    .contact-wrapper {
        padding: 30px 20px;
        border-radius: 25px;
    }

    .info-item i {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    /* Form fields mobile-friendly */
    .input-group input,
    .input-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 14px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-grid {
        padding: 0 3%;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
    }
}

/* ============= 450px – Small Phones (iPhone SE / A03s etc.) ============= */
@media (max-width: 450px) {

    /* Hero */
    .hero-caption h1 {
        font-size: 1.7rem;
    }

    /* Contact Section */
    .info-item {
        gap: 12px;
    }

    .info-item p {
        font-size: 0.95rem;
    }

    /* Forms */
    .input-group input,
    .input-group textarea {
        font-size: 0.88rem;
    }

    /* Footer */
    .footer-col h3 {
        font-size: 1rem;
    }
}

/* ============= 360px – Ultra Small Phones (old Androids) ============= */
@media (max-width: 360px) {

    .hero-caption h1 {
        font-size: 1.55rem;
    }

    .contact-wrapper {
        padding: 25px 18px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 0.83rem;
        padding: 10px 12px;
    }

    .cta-btn {
        font-size: 0.85rem;
    }

    .footer-col h3 {
        font-size: 0.9rem;
    }
}