/* ==========================================================================
   1. VARIABLES & BASE STYLES
   ========================================================================== */
/* :root {
    --light-text: #cccccc;
    --bg-black: #121212;
    --card-black: #1e1e1e;
    --gold: #d4af37;
    --royal-blue: #0056b3;
    --text-white: #e0e0e0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

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

.about-intro, .tech-sub, .price-card ul li, .footer p {
    color: var(--white) !important;
    opacity: 1 !important;
}

.gold-text, .gold-title, .price-tag { 
    color: var(--gold); 
}


section {
    padding: 100px 8%;
    text-align: center;
    position: relative;
}

section:nth-child(even) { background: #0f0f0f; }
section:nth-child(odd) { background: #121212; }


section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.section-box {
    max-width: 1100px;
    margin: auto;
    padding: 50px;
    border-radius: 20px;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

h2 {
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
} */

/* ==========================================================================
   1. UPDATED VARIABLES (Blue, Black & White Theme)
   ========================================================================== */
:root {
    --bg-light: #ffffff;      /* මුළු background එකම සුදු පාටයි */
    --bg-section: #f8f9fa;    /* Sections වෙන් කරලා පේන්න පොඩි අළු පාටක් */
    --card-black: #121212;    /* Card එක කළු පාටයි */
    --primary-blue: #0056b3;  /* Blue පාට (පරණ Gold වෙනුවට) */
    --text-dark: #212529;     /* සුදු background එකේ අකුරු පේන්න තද අළු/කළු */
    --text-white: #050505;    /* කළු card ඇතුළේ අකුරු පේන්න */
    --accent-blue: #00d4ff;   /* Glow එකට ගන්න ලස්සන light blue එකක් */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark); /* මුළු සයිට් එකේම අකුරු කළු වෙනවා */
    overflow-x: hidden;
}

/* ==========================================================================
   2. SECTION & CARD STYLES
   ========================================================================== */

/* Sections සුදු පාට කරන්න */
section {
    padding: 100px 8%;
    text-align: center;
    position: relative;
    background-color: var(--bg-light);
}

/* එකක් හැර එකක් section එක ලාවට අළු පාට කරන්න (වෙන් කරලා පේන්න) */
section:nth-child(even) { 
    background: var(--bg-section); 
}

/* Underline එක Gold වෙනුවට Blue කරන්න */
h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}

/* CARDS: මේවා කළු පාටට තියාගන්න */
.info-box, .about-home-box, .section-box, .project-card, .price-card {
    background: var(--card-black) !important;
    color: var(--text-white) !important; /* Card එක ඇතුළේ අකුරු සුදු වෙනවා */
    border: 1px solid rgba(0, 86, 179, 0.2); /* ලාවට blue border එකක් */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Card ඇතුළේ තියෙන පින්තූර වල borders blue කරන්න */
.gold-card-border {
    border: 2px solid var(--primary-blue);
}

/* Text Highlights (Gold වෙනුවට Blue) */
.gold-text, .gold-title, .price-tag, .arrow, .step-no { 
    color: var(--primary-blue) !important; 
}

/* Buttons (Blue) */
.btn-primary, .cta-btn, .about-btn {
    background: var(--primary-blue) !important;
    border: 1px solid var(--primary-blue) !important;
    color: white !important;
}

.btn-primary:hover {
    background: transparent !important;
    color: var(--primary-blue) !important;
}

/* Footer එක කළු පාටටම තියන්න */
.main-footer {
    background: #0a0a0a;
    color: white;
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
.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: #ffffff !important; /* මෙතනට '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: #d4af37 !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 {
    z-index: 1001;
    position: relative;
    flex-direction: column;
    cursor: pointer;
    display: flex !important;
}

.hamburger span {
    background-color: #d4af37 !important;
    height: 3px;
    width: 28px;
    
    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 (min-width: 851px) {
    .hamburger {
        display: none !important;
    }
}
@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);
    }
}

/* ==========================================================================
   3. HERO & CAROUSEL SECTION
   ========================================================================== */
.hero {
    height: 120vh; /* Usa 120vh/150vh dammama screen eka scroll wenna gannවා, 100vh thama set ම */
    width: 100%;
    position: relative;
    
    /* [FIX] Gradient එක 0.6 ඉඳන් 0.8 වෙනකම් ලාවට හැදුවා (ලෝගෝ එක වැහෙන්නේ නැති වෙන්න) */
   background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85)),
                url() no-repeat center center/cover;
                
    background-size: contain; /* [FIX] Image එක මුළුමනින්ම කැපෙන්නේ නැතුව screen එක ඇතුළේ පේන්න 'contain' කරන්න (නැත්නම් 'cover' දාලා බලන්න) */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section එකටත් මේක දාන්න */
.hero-section {
    height: 100vh; /* මේකත් 100vh කරන්න, නැත්නම් section දෙකක් වගේ උස වැඩි වෙනවා */
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-img {
    height: 100vh;
    width: 100%;
    object-fit: cover; 
}

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

#heroCarousel {
    height: 100%;
    z-index: 2;
}

.carousel-inner, .carousel-item { height: 100vh !important; }

.carousel-caption {
    text-align: center;
    bottom: 60% !important;
    transform: translateY(50%); /* සිරස්ව නූලටම මැදට ගන්න */
    z-index: 2;
    top: 42%;
}
.welcome-top {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: white;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: -65px;
    color: var(--white);
}


.carousel-caption p { 
    font-size: 1.2rem; 
    color: var(--white); 
    opacity: 1 !important;
     margin-top: 50px;  
}
/* Carousel එක ඇතුළේ තියෙන Contact Us බටන් එක පොඩි කිරීමට */
.carousel-caption .btn-primary {
    font-size: 0.8rem !important; /* අකුරු වල සයිස් එක (1rem හෝ 0.9.rem දාලා තව පොඩි කරන්න පුළුවන්) */
    padding: 9px 10px !important; /* බටන් එක ඇතුළේ උඩ/යට සහ වම/දකුණ ඉඩ ප්‍රමාණය */
    font-weight: 400 !important;
    text-transform: uppercase; /* අකුරු ඔක්කොම Capital වෙන්න */
    border-radius: 30px !important; /* බටන් එක දෙපැත්ත වටකුරු වීමට */
    display: inline-block;
    transition: all 0.3s ease;
}

/* Hover එකත් ලස්සනට තියාගන්න */
.carousel-caption .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 0 8%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    max-width: 700px;
    text-align: left;
}

.hero-left h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* Bootstrap Carousel Customizations */
.carousel-indicators button {
    background-color: var(--gold) !important;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(10deg); /* Gold tint */
}
@media (max-width: 992px) {
    .carousel-caption {
        bottom: 30%;
        text-align: center;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        bottom: 20%;
        padding: 0 20px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .carousel-caption h1 {
        font-size: 1.7rem;
    }
    .carousel-caption p {
        font-size: 0.8rem;
    }
}


/* ******************************** */

/* ************************************* */
/* ==========================================================================
   4. HERO CARDS
   ========================================================================== */
.hero-card {
    position: relative;
    height: 180px; 
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(201, 204, 50, 0.3);
    transition: 0.4s ease;
    cursor: pointer;
    display: flex;
    align-items: flex-end; 
}
/* Carousel එක ඇතුළේ ENIXORA නම සම්පූර්ණයෙන්ම සුදු පැහැය කිරීමට */
.carousel-caption h1 .logo-text {
    font-size: 5.5rem !important; /* සයිස් එක කලින් වගේම ලොකුවට තියෙන්න ඇරියා */
    font-weight: 900;
    letter-spacing: 4px;
    display: inline-block;
    color: #ffffff !important; /* 🔴 මෙන්න මෙතනින් මුළු නමම සුදු කලා 🔴 */
    /* කළු පසුබිම මැද සුදු අකුරු තවත් කැපිලා පේන්න ලාවට Glow Shadow එකක් දැම්මා */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2); 
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(248, 248, 243, 0.05);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.card-1 { background: linear-gradient(to top, rgba(0,0,0,0.9), transparent), url('/images/index.jpeg') no-repeat center/cover; }
.card-2 { background: linear-gradient(to top, rgba(0,0,0,0.9), transparent), url('images/slide2.png') no-repeat center/cover; }
.card-3 { background: linear-gradient(to top, rgba(0,0,0,0.9), transparent), url('images/slide3.jpg') no-repeat center/cover; }

.card-content {
    padding: 25px; 
    z-index: 2;
    width: 100%;
}

.hero-card h4 {
    color: var(--gold);
    font-size: 1.3rem; 
    margin-bottom: 8px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-card p {
    font-size: 0.9rem; 
    color: #eee;
    opacity: 0.9;
}

.hero-card:hover {
    transform: translateX(-10px) scale(1.05); 
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}
/* Medium Screens (Tablets) */
@media screen and (max-width: 992px) {
    .hero-content-container { /* Meka cards tika thiyena main div eka kiana wiswasayen */
        flex-direction: column;
        gap: 20px;
    }

    .hero-card {
        height: 160px; /* Tablet ekedi usa chuttak adu kala */
        width: 100%;
    }
}

/* Small Screens (Mobile Phones) */
@media screen and (max-width: 600px) {
    .hero-card {
        height: 150px; /* Mobile ekata galapena usa */
        margin-bottom: 10px;
    }

    .hero-card h4 {
        font-size: 1.1rem; /* Akuru chuttak podi kala */
    }

    .hero-card p {
        font-size: 0.8rem;
    }

    /* Mobile ekedi Hover effect eka wadiya thallu wena eka nawathtanna */
    .hero-card:hover {
        transform: scale(1.02); /* Side ekata yanne nathiwa chuttak loku wenna witharak damma */
    }

    .card-content {
        padding: 15px; /* Padding adu kala space ithuru karanna */
    }
}
/* ==========================================================================
   5. TWO-COLUMN SPLIT HERO SECTION
   ========================================================================== */
/* MAIN WRAPPER */
/* ==========================================================================
   SPLIT HERO SECTION (UPDATED TO CSS GRID)
   ========================================================================== */
.split-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates 2 equal columns */
    min-height: 100vh;
    width: 100%;
}

/* LEFT IMAGE SIDE */
.image-container {
    background:
        linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.1)),
        url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070')
        no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    position: relative;
    overflow: hidden; /* Keeps the blurred glow inside bounds */
}

.image-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: -60px;
    width: 150px;
    height: 100%;
    background: rgba(0, 255, 255, 0.25);
    transform: skewX(-20deg);
    filter: blur(20px);
}

.overlay-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    max-width: 550px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
 .overlay-text {
    opacity: 0;
    transform: translateX(-100px); 
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1); /* ලස්සනට slide වෙන්න transition එකක් */
}
.image-container:hover .overlay-text {
    opacity: 1;
    transform: translateX(0); /* තිබ්බ තැනටම එනවා */
}

/* RIGHT CONTENT SIDE */
.content-container {
    background-color: #2d2c31;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* INFO BOX WITH SMOOTH TRANSITIONS */
.info-box {
    background: #1f1e23;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    
    /* Smooth transition setup */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.4s ease, 
                box-shadow 0.4s ease;
}

/* Premium Hover Effect */
.info-box:hover {
    transform: translateY(-6px); /* Lifts the card up */
    background: #25242a; /* Slightly brightens up */
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15); /* Adds a subtle blue glow */
}

.section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 60px;
}

.arrow {
    font-size: 1.8rem;
    color: #00d4ff;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.info-box:hover .arrow {
    transform: translateX(10px); /* Moves arrow forward on hover */
}

.section-title h2 {
   position: relative;
    display: inline-block; /* මේක අනිවාර්යයි - එතකොටයි ඉර අකුරු වල දිගටම හැදෙන්නේ */
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80%; /* ඉරේ දිග අකුරු වල දිගෙන් 80%ක් විතර */
    height: 4px;
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold); /* Gold Glow එක */
    border-radius: 10px;
}

.info-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cccccc;
}

/* ==========================================================================
   RESPONSIVE GRID ADJUSTMENTS
   ========================================================================== */
@media (max-width: 400px) {
    .split-hero-section {
        grid-template-columns: 1.5fr 1fr; /* Stacks columns vertically on mobile/tablets */
    }
.image-container {
    height: 100px; /* ඔයාට අවශ්‍ය උස මෙතනින් දෙන්න */
    min-height: 150px; 
    
    background-size: cover; /* Image එක සම්පූර්ණයෙන් පෙනෙන්න මේක දාන්න */
    background-position: center; /* Image එක මැදට ගන්න */
}
    .overlay-text h1 {
        font-size: 2.4rem;
    }

    .content-container {
        padding: 60px 40px;
    }
}

@media (max-width: 600px) {
    .overlay-text h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   6. ABOUT US HERO SECTION
   ========================================================================== */
.about-hero {
    background-image: url('/public/images/about.webp'); 

    background-size: cover;      
    background-position: center;  
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.3); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    z-index: 2; 
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.highlight { color: #ffd700; }

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-white);
}

.title-underline {
    width: 120px;
    height: 4px;
    margin: 15px auto 40px;
    background: var(--gold);
    box-shadow: 0 0 20px rgba(212,175,55,0.7);
    border-radius: 5px;
}

/* About Home Content Layout */
.about-home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
}

.about-home-box {
   max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #0c0c0e !important; /* Card එක සම්පූර්ණ තද කළු කලා */
    border-radius: 20px;
    
    /* [NEON BLUE BORDER & GLOW] - වටේට යන ලස්සන නිල් පාට */
    border: 2px solid rgba(0, 86, 179, 0.6) !important; 
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15),
                inset 0 0 20px rgba(0, 86, 179, 0.1);
    transition: all 0.4s ease;
}
.about-home-box:hover {
    border-color: #00d4ff !important; /* Accent Blue */
    box-shadow: 0 0 45px rgba(0, 212, 255, 0.35),
                inset 0 0 25px rgba(0, 86, 179, 0.2);
    transform: translateY(-3px);
}
/* 1. "ABOUT" කියන වචනය විතරක් සුදු කරන්න */
.section-title .white-text {
    color: #ffffff !important;
}

/* 2. මුළු Title එකම කළු background එකේ කැපිලා පේන්න center කරන්න */
.section-title {
    text-align: center;
    display: block;
    width: 100%;
    color: #0056b3 !important;
    margin-bottom: 30px;
    font-size: 2.8rem;
    font-weight: 800;
}

/* 3. List එකේ තියෙන Check marks/අකුරු ටික සුදු කරන්න (Screenshot එකේ ඒවා පේන්නේ නැහැ) */
.about-mini-list li {
    color: #ffffff !important; /* මේකෙන් තමයි අර ලැයිස්තුව සුදු වෙන්නේ */
    margin: 12px 0;
}

.about-home-img-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gold-card-border {
    padding: 10px; 
    border: 2px solid var(--gold); 
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); 
    transition: 0.4s ease;
}

.gold-card-border:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.about-main-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    display: block;
}

.about-home-text {
    flex: 1.2;
    text-align: left;
}
.about-home-text p {
    color: #cccccc !important;
    line-height: 1.7;
}
.about-mini-list {
    list-style: none;
    margin-bottom: 30px;
}

.about-mini-list li {
    margin: 8px 0;
    color: var(--gold);
    font-weight: 500;
    font-size: 1.1rem;
}

.about-btn {
    margin-top: 15px;
    display: inline-block;
}

/* Vision Block Box */
.vision-box {
    margin-top: 60px;
    padding: 35px;
    background: #151515;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.vision-box blockquote {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

/* ==========================================================================
   7. SERVICES SECTION (3D CARDS ROTATION)
   ========================================================================== */
.services-3d-section {
    padding: 100px 8%;
    background-color: var(--bg-light) !important;
    text-align: center;
    overflow: hidden;
}

.services-3d-section .section-title {
    color: var(--text-dark) !important;
    margin-bottom: 40px;
    font-weight: 800 !important; /* මෙන්න මේකෙන් title එක පට්ටම Bold වෙනවා */
    font-size: 2.8rem;
}

/* ලොකු ප්‍රධාන කළු Card Container එක */
.services-3d-section .services-card-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 40px 40px;
    background: #0c0c0e !important;
    border-radius: 24px;
    border: 1px solid rgba(0, 86, 179, 0.15);
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ලොකු Card එක Hover කරද්දී මුළු සෙක්ෂන් එකටම එන Neon Blue Glow එක */
.services-3d-section .services-card-container:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.25), 
                inset 0 0 30px rgba(0, 86, 179, 0.15);
}

.banner {
    width: 100%;
    height: 450px; 
    text-align: center;
    position: relative;
}

.banner .slider {
    position: absolute;
    width: 220px; /* Card එකේ පළල පොඩ්ඩක් වැඩි කලා */
    height: 320px; /* Card එකේ උස */
    top: 10%;
    left: calc(50% - 110px);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(-10deg);
    animation: autoRun 25s linear infinite;
    z-index: 2;
}

@keyframes autoRun {
    from { transform: perspective(1000px) rotateX(-10deg) rotateY(0deg); }
    to { transform: perspective(1000px) rotateX(-10deg) rotateY(360deg); }
}

/* කැරකෙන තනි තනි 3D Card එකක් */
.banner .slider .item {
    position: absolute;
    inset: 0;
    transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(350px);
    background: #121214 !important; /* පොඩි Card එකේ background එක */
    border-radius: 16px;
    border: 1px solid rgba(0, 86, 179, 0.3);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Card එක ඇතුලේ තියෙන Image එක */
.banner .slider .item img {
    width: 100%;
    height: 60%; /* පින්තූරය Card එකෙන් බාගෙකට වඩා ගන්නවා */
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 86, 179, 0.2);
}

/* Card එක ඇතුලේ පහල තියෙන Content (Text) කොටස */
.banner .slider .item .content {
    padding: 15px 10px;
    background: transparent; /* දැනටමත් Card එක කළු නිසා මේක transparent කලා */
    color: #fff;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner .slider .item .content h3 {
    font-size: 1.1rem;
    color: #ffffff !important;
    margin-bottom: 5px;
    font-weight: 600;
}

.banner .slider .item .content p {
    font-size: 0.85rem;
    color: #cccccc !important;
    opacity: 0.9;
    margin: 0;
}

/* ලොකු Card එක Hover කරන් ඉන්නකොට, ඇතුලේ කැරකෙන පොඩි 3D Card වල Borders Neon වෙනවා */
.services-card-container:hover .banner .slider .item {
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.slider:hover {
    animation-play-state: paused;
    cursor: pointer;
}
/* Medium Screens (Tablets - 992px walata adu aya) */
@media screen and (max-width: 992px) {
    .banner {
        height: 400px; 
    }
    
    .banner .slider {
        width: 180px; /* Card eka chuttak podi kala */
        height: 280px;
        left: calc(50% - 90px);
    }

    /* Cards athara dura (translateZ) adu kala tablet ekata hariyanna */
    .banner .slider .item {
        transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(280px);
    }
}

/* Small Screens (Mobile Phones - 600px walata adu aya) */
@media screen and (max-width: 600px) {
    .services-3d-section {
        padding: 60px 5%;
    }

    .services-card-container {
        padding: 40px 10px; /* Side gaps adu kala */
    }

    .banner {
        height: 350px;
    }

    .banner .slider {
        width: 150px; /* Mobile ekedi card eka thawa podi kala */
        height: 240px;
        left: calc(50% - 75px);
    }

    /* Mobile ekedi translateZ eka godak adu karanna oni natham screen eken eliyata yanawa */
    .banner .slider .item {
        transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(180px);
    }

    .banner .slider .item .content h3 {
        font-size: 0.9rem;
    }

    .banner .slider .item .content p {
        font-size: 0.75rem;
    }
}
/* ==========================================================================
   8. PROCESS / TIMELINE SECTION
   ========================================================================== */
.process-section {
    padding: 120px 10%;
   /* padding: 100px 8%; */
    background-color: #0c0c0e; /* අර කළු පාටමයි */
    text-align: center;
}

.process-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    background: #121214;
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    transition: all 0.4s ease;
}

/* Step Number එක Gold පාටින් උඩ තියෙනවා */
.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.1); /* මුලින් ලාවට පේන්නේ */
    position: absolute;
    top: 10px;
    right: 20px;
    transition: 0.4s;
}

.process-step h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.process-step p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* HOVER EFFECT - Mouse එක ගෙනිච්චහම Gold සහ Neon Blue මිශ්‍ර වෙනවා */
.process-step:hover {
    transform: translateY(-10px);
    border-color: #d4af37; /* Gold border */
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.process-step:hover .step-number {
    color: #d4af37; /* Hover කරාම අංකය Gold වෙනවා */
    opacity: 1;
}

/* ==========================================================================
   9. PROJECTS GRAPHICS GRID
   ========================================================================== */
/* ==========================================================================
   9. PROJECTS GRAPHICS GRID - MODERN DARK LUXURY
   ========================================================================== */
.projects-section {
    padding: 100px 8%;
    background-color: #e2f5f5 !important; /* මුළු සයිට් එකේම කළු පාටට මැච් කලා */
    text-align: center;
}

/* Our Projects මාතෘකාව කළු background එකේ පේන්න */
.projects-section .section-title {
    color: #1a1818 !important;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px; /* කාඩ් අතර පරතරය වැඩි කලා පිළිවෙලට පේන්න */
    margin-top: 50px;
}

/* ප්‍රොජෙක්ට් කාඩ් එක */
.project-card {
    background: #121214 !important; /* තද කළු background */
    border: 1px solid rgba(0, 86, 179, 0.2); /* ලාවට නිල් border එකක් */
    border-radius: 20px; /* වටකුරු මුළු */
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* කාඩ් එක ඇතුලේ තියෙන ඉමේජ් එක කන්ටේනර් එකක් ඇතුලට දැම්මා zoom එක ලස්සන කරන්න */
.project-card .img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Content (Text) */
.project-content {
    padding: 25px 20px;
    text-align: left;
    background: #121214;
}

.project-content h3 {
    color: #ffffff !important; /* Title එක සුදු කලා */
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-content p {
    color: #cccccc !important; /* විස්තරය ලා අළු පාට කලා */
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* ==========================================================================
   HOVER EFFECTS (Mouse එක උඩට ගෙනිච්චහම වෙන සුපිරි සෙල්ලම)
   ========================================================================== */
.project-card:hover {
    transform: translateY(-10px) scale(1.02); /* කාඩ් එක උඩට ඉස්සෙනවා */
    border-color: #d4af37 !important; /* බෝඩර් එක Gold වෙනවා */
    /* Neon Gold Glow එකක් වටේට එනවා */
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15), 
                0 0 15px rgba(0, 212, 255, 0.1); 
}

/* Hover කරද්දී ඉමේජ් එක ලස්සනට Zoom වෙනවා */
.project-card:hover img {
    transform: scale(1.1);
}

/* Hover කරද්දී ප්‍රොජෙක්ට් එකේ නම (H3) Gold වෙනවා */
.project-card:hover .project-content h3 {
    color: #d4af37 !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .projects-section {
        padding: 60px 5%;
    }
    
    .projects-section .section-title {
        font-size: 2.2rem; /* ෆෝන් එකට ගැලපෙන්න මාතෘකාව පොඩි කලා */
    }

    .projects-grid {
        grid-template-columns: 1fr; /* මොබයිල් එකේදී එක පේළියට එක බැගින් ලස්සනට එනවා */
        gap: 25px;
    }

    .project-card:hover {
        transform: translateY(-5px); /* මොබයිල් එකේදී වැඩිය හෙල්ලෙන්නේ නැතිවෙන්න හැදුවා */
    }
}
/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */

/* Medium Screens (Tablets - 992px walata adu aya) */
@media screen and (max-width: 992px) {
    .about-home-container, 
    .process-container {
        flex-direction: column; /* Card ekakata yatin ekak set wenawa */
        text-align: center;
        gap: 30px;
    }

    .about-home-text {
        text-align: center; /* Mobile ekedi text center kalla lassanai */
    }

    .about-home-box {
        padding: 40px 20px;
    }

    .banner {
        height: 400px; /* 3D slider eka chuttak podi kala */
    }
}

/* Small Screens (Mobile Phones - 600px walata adu aya) */
@media screen and (max-width: 600px) {
    .section-title {
        font-size: 2rem; /* Title eka phone eke size ekata podi kala */
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-home-box {
        padding: 30px 15px;
        margin: 0 10px; /* Athu deken gap ekak thia ganna */
    }

    /* Process steps tika mobile ekedi lokuwata pena widiha */
    .process-step {
        width: 100%;
        margin-bottom: 15px;
    }

    .step-number {
        font-size: 2.2rem;
        top: 5px;
        right: 15px;
    }

    /* Navbar links mobile ekedi pena widiha wenas karanna oni nam meka thama thana */
    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   10. PRICING SECTION CARD GRID
   ========================================================================== */
/* ==========================================================================
   10. PRICING SECTION - PREMIUM MODERN COMPACT
   ========================================================================== */
/* Pricing Section එක පින්තූරයේ විදිහට තද කළු කිරීම */
.pricing-section {
    padding: 100px 8%;
    background-color: #0b0b0b !important; 
    text-align: center;
}

.pricing-section .section-title {
    color: #ffffff !important;
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 30px;
}

/* Slider Layout Settings */
.pricing-slider-container {
    width: 100%;
    padding: 0; /* බටන් නැති නිසා පරතරය අඩු කළා */
}

.swiper {
    padding-bottom: 50px !important; /* යටින් පොඩි ඉඩක් තැබීමට */
}

.swiper-slide {
    height: auto; 
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   MINI CARD STYLE (කාඩ් 8 ටම එකම සයිස් එක සහ හැඩය ලැබෙන තැන)
   ========================================================================== */
.mini-card {
    background: #111113 !important; 
    border-radius: 24px !important; 
    padding: 45px 25px !important; 
    border: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    width: 100%; 
    max-width: 320px; /* කාඩ් එක ලස්සනට පේන උපරිම පළල */
}

/* Hover Effect */
.mini-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9) !important;
}

/* Light Blue Neon Icons */
.card-icon {
    font-size: 2.4rem;
    color: #00d4ff !important;
    margin-bottom: 20px;
}

/* Card Title */
.mini-card h3 {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

/* Gold Prices */
.small-price {
    font-size: 1.45rem;
    font-weight: 700;
    color: #d4af37 !important;
    margin-bottom: 25px;
}

/* Premium Package Highlight Glow */
.mini-card.highlighted {
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15) !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
}

/* ==========================================================================
   BUTTONS STYLE (සිහින් රන්වන් බෝඩර් බට්න් එක)
   ========================================================================== */
.btn-inquire {
    width: 85%;
    padding: 12px 20px;
    border: 1.5px solid #d4af37 !important; 
    border-radius: 30px;
    background: transparent !important;
    color: #d4af37 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto; 
}

.btn-inquire:hover {
    background: #d4af37 !important;
    color: #111113 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   CUSTOM NAVIGATION BUTTONS (Next / Prev Controls)
   ========================================================================== */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.swiper-button-prev-custom, .swiper-button-next-custom {
    background: #111113 !important;
    border: 1.5px solid #d4af37 !important; 
    color: #d4af37 !important;
    padding: 11px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.swiper-button-prev-custom:hover, .swiper-button-next-custom:hover {
    background: #d4af37 !important;
    color: #111113 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .pricing-section .section-title { font-size: 2.2rem; }
}
/* ==========================================================================
   12. PREMIUM TECH STACK
   ========================================================================== */
.tech-section {
    padding: 100px 8%;
    text-align: center;
    position: relative;
    background-color: #000000 !important;

}

.tech-title {
    font-size: 2.8rem;
   color: #ffffff !important;
    margin-bottom: 20px;
}
 .tech-sub {
    color: #ffffff !important;
    margin-bottom: 20px;
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
background: linear-gradient(145deg, #acacb6, #c7bcff);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 15px;
    padding: 25px;
    transition: .4s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212,175,55,0.2);
}

.tech-card img {
    height: 50px;
    margin-bottom: 10px;
}

.tech-card p {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--card-black);
}

@media (max-width: 600px) {
    .tech-card img { height: 40px; }
}


/* ==========================================================================
   13. BASE JS ON-SCROLL ANIMATIONS & MODALS
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

[data-animate].active {
    opacity: 1;
    transform: translate(0,0);
}

[data-animate="fade-up"] { transform: translateY(80px); }
[data-animate="fade-down"] { transform: translateY(-80px); }
[data-animate="fade-left"] { transform: translateX(-80px); }
[data-animate="fade-right"] { transform: translateX(80px); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
}

.modal-content {
    background: var(--card-black);
    margin: 10% auto;
    padding: 40px;
    width: 50%;
    border-radius: 10px;
    border: 1px solid var(--gold);
    position: relative;
    color: white;
}

.close {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 35px;
    color: var(--gold);
    cursor: pointer;
}

/* ==========================================================================
   14. MAIN FOOTER
   ========================================================================== */
/* ==========================================================================
   MAIN FOOTER STYLES - READABILITY FIX
   ========================================================================== */
.main-footer {
    background: #0a0a0a;
    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 Column Headings (QUICK LINKS, CONTACT INFO) */
.footer-col h3 {
    font-size: 1.3rem;
    color: #ffffff !important; /* මේවා සුදු පාට කලා පින්තූරයේ තියෙන විදිහට */
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}
.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;
}
/* ENIXORA Name Gradient (ඔයාගේ කලර් එක ඒ විදිහටම තියාගත්තා) */

 
/* ENIXORA එක යට තියෙන විස්තරය (පින්තූරයේ නොපෙනී තිබුණු කොටස) */
.about-desc {
    color: #ffffff !important; /* සම්පූර්ණ සුදු පාට කලා ලස්සනට කියවන්න පුළුවන් වෙන්න */
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Social Icons (Facebook, LinkedIn, Instagram) */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px; height: 40px;
    border-radius: 50%;
    color: #d4af37 !important; /* Gold icons */
    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);
}

/* QUICK 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; /* Hover කරද්දී විතරක් Gold වෙනවා */
    opacity: 1;
    padding-left: 5px; 
}

/* CONTACT INFO LIST (ඔයා Gold කරන්න කිව්ව කොටස) */
.contact-details { list-style: none; padding: 0; }
.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #d4af37 !important; /* මුළු ලිස්ට් එකම රන්වන් (Gold) පාට කලා */
    font-size: 0.95rem;
}

.contact-details i { 
    color: #d4af37 !important; /* Icons ටිකත් Gold */
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-details a { 
    color: #d4af37 !important; /* Email, Phone ලින්ක්ස් සේරම Gold */
    text-decoration: none; 
    transition: 0.3s;
}

.contact-details a:hover {
    color: #ffffff !important; /* Contact ලින්ක්ස් උඩට mouse ගියාම සුදු වෙනවා */
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* BACK TO TOP BUTTON */
.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; }

/* ==========================================================================
   RESPONSIVE FOOTER FIX
   ========================================================================== */
/* ==========================================================================
   ULTRA-MODERN RESPONSIVE FOOTER FIX (ANY DEVICE VALID)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .footer-grid {
        /* ටැබ්ලට් සහ ෆෝන් වලදී තීරු 2ක ලේඅවුට් එකක් දෙනවා */
        grid-template-columns: 1fr 1.2fr; 
        gap: 40px 20px;
        text-align: left; /* හැමදේම වම් පැත්තට පෙළගස්වනවා */
    }

    /* ENIXORA ලෝගෝ එකයි විස්තරයයි තියෙන Column එක උඩින්ම සම්පූර්ණ ඉඩ ගන්නවා */
    .footer-grid .footer-col:first-child {
        grid-column: span 2; 
        margin-bottom: 10px;
    }

    /* ලෝගෝ එකයි social icons යි මැදට යන්නේ නැතුව වම් පැත්තටම තියාගන්නවා */
    .footer-logo {
        justify-content: flex-start !important;
    }
    
    .social-icons {
        justify-content: flex-start !important;
    }

    /* Quick Links සහ Contact headings වම් පැත්තට ලස්සනට සෙට් කරනවා */
    .footer-col h3 {
        text-align: left !important;
        font-size: 1.1rem; /* මොබයිල් එකට ගැළපෙන්න අකුරු චුට්ටක් පොඩි කලා */
        margin-bottom: 15px;
    }

    .footer-links a {
        display: block;
        padding-left: 0;
    }

    /* Contact Info ලිස්ට් එක වම් පැත්තටම Align කරනවා */
    .contact-details li {
        justify-content: flex-start !important;
        font-size: 0.85rem; /* ෆෝන් එකේ එක පේළියට text එක ගන්න */
        gap: 10px;
    }
}

/* ඉතා කුඩා Screen සඳහා (Small Mobile Phones - max 480px) */
@media screen and (max-width: 480px) {
    .footer-grid {
        /* ඉඩ ඉතාම මදි ෆෝන් වලත් කැඩෙන්නේ නැතුව 50% ගානේ බෙදීයනවා */
        grid-template-columns: 1fr 1.1fr; 
        gap: 30px 10px;
        padding: 0 4%;
    }
    
    .about-desc {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    /* Back to top බටන් එක ෆෝන් එකේදී අයිනටම කරලා පොඩි කලා */
    .back-to-top {
        bottom: 20px;
        right: 4%;
        width: 40px;
        height: 40px;
    }
}
.footer-logo {
    display: flex;
    align-items: center; /* අයිකන් එක සහ නම එකම මට්ටමට තැබීමට */
     /* අයිකන් එක සහ නම අතර පරතරය */
    margin-bottom: 20px;
    /* අයිකන් එක සහ නම එකම මට්ටමට තැබීමට */
    gap: 0px !important;
    
}

/* පරණ ලෝගෝ අයිකන් එකේ සයිස් එක */
.footer-icon {
    
    height: 120px !important;/* මේක ඔයාට ඕන ගාණට අඩු වැඩි කරගන්න */
    width: auto;
}

/* අලුත් 3D නම (Text Image) සඳහා සෙටින්ග්ස් */
.footer-name-img {
    margin-left: -35px !important;
    height: 160px !important; /* සයිස් එක හොඳටම පේන්න 120px වගේ දාලා බලන්න */
    width: auto !important;
    max-height: none !important; /* Bootstrap එකෙන් හිර කරලා තියෙනවා නම් ඒක අයින් කරන්න */
    object-fit: contain;
}
/* පරණ .logo-text එකේ CSS දැන් ඕන වෙන්නේ නැහැ, ඒවා අයින් කරන්න */
/* ==========================================================================================
   UNIVERSAL RESPONSIVE SYSTEM (FOR FULL WEBSITE)
   ========================================================================================== */

/* ----------------------- 1200px (Laptops & Large Tablets) ------------------------- */
@media (max-width: 1200px) {

    section {
        padding: 80px 6%;
    }

    .hero-left h1,
    .carousel-caption h1 {
        font-size: 3rem;
    }

    .about-home-container {
        gap: 20px;
    }

    .split-hero-section {
        grid-template-columns: 1fr 1.2fr;
    }
}


/* -------------------------- 992px (Tablets Landscape) ---------------------------- */
@media (max-width: 992px) {

    /* NAV */
    .nav-links {
        gap: 15px;
    }

    /* HERO */
    .hero-left h1 {
        font-size: 2.5rem;
    }

    .carousel-caption h1 {
        font-size: 2.2rem;
    }

    /* HERO CARDS */
    .hero-content-container {
        flex-direction: column;
        gap: 15px;
    }

    .hero-card {
        height: 160px;
        width: 100%;
    }

    /* SPLIT SECTION */
    .split-hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .image-container {
        height: 350px;
    }

    .content-container {
        padding: 60px;
    }

    /* ABOUT PAGE */
    .about-home-container {
        flex-direction: column;
        text-align: center;
    }

    .about-home-text {
        text-align: center;
    }

    /* SERVICES */
    .services-3d-section .services-card-container {
        padding: 40px 25px;
    }
}


/* -------------------------- 768px (Tablets Portrait / Small Devices) ---------------------------- */
@media (max-width: 768px) {

    /* GLOBAL */
    section {
        padding: 60px 5%;
    }

    h2.section-title {
        font-size: 2.1rem;
    }

    /* NAV */
    .logo-text {
        font-size: 1.4rem;
    }

    /* HERO TEXT */
    .carousel-caption h1,
    .hero-left h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    /* HERO CARDS */
    .hero-card {
        height: 150px;
    }

    .hero-card h4 {
        font-size: 1.1rem;
    }

    .hero-card p {
        font-size: 0.8rem;
    }

    /* ABOUT */
    .about-home-box {
        padding: 40px 25px;
    }

    /* SPLIT SECTION */
    .image-container {
        height: 280px;
    }

    .overlay-text h1 {
        font-size: 1.8rem;
    }

    /* SERVICES */
    .service-3d-card {
        transform: none !important;
    }
}


/* -------------------------- 600px (Mobile Phones) ---------------------------- */
@media (max-width: 600px) {

    /* NAVBAR */
    .navbar {
        padding: 10px 5%;
    }

    /* HERO */
    .hero-left h1 {
        font-size: 1.6rem;
    }

    .carousel-caption {
        bottom: 18%;
        padding: 0 20px;
    }

    /* HERO CARDS */
    .hero-card {
        height: 140px;
    }

    /* SPLIT SECTION */
    .content-container {
        padding: 40px 25px;
    }

    /* ABOUT */
    .about-main-img {
        max-width: 280px;
    }

    .vision-box {
        padding: 20px;
    }

    /* PRICING CARDS */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .price-card {
        padding: 25px 20px;
        border-radius: 16px !important;
    }
}


/* -------------------------- 480px (Very Small Phones) ---------------------------- */
@media (max-width: 480px) {

    h2.section-title {
        font-size: 1.8rem;
    }

    .hero-left h1 {
        font-size: 1.4rem;
    }

    .price-tag {
        font-size: 1.4rem !important;
    }

    .btn-primary,
    .about-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .overlay-text h1 {
        font-size: 1.5rem;
    }
}