/* Custom Variable Setup matching Image */
:root {
    --bg-dark-custom: #14232c;
    --text-success-custom: #15cc74;
    --btn-subsidy-color: #12b467;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Helper Text Styles */
.fs-7 { font-size: 0.85rem; }
.tracking-wide { letter-spacing: 2px; }
.tracking-widest { letter-spacing: 6px; }
.z-index-2 { z-index: 2; }
.z-index-3 { z-index: 3; }
.z-index-max { z-index: 9999; }
.fw-extrabold { font-weight: 800; }
.line-height-tight { line-height: 1.1; }

/* Custom Layout Bars */
.top-bar {
    background-color: #0b151b;
}

.bg-dark-custom {
    background-color: #d92b2b !important;
}

.text-success {
    color: #d92b2b !important;
}

/* Subsidy Button Styling */
.btn-subsidy {
    background-color: #106e49;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-subsidy:hover {
    background-color: #0e9655;
    color: white;
    box-shadow: 0 4px 10px rgba(18, 180, 103, 0.4);
}

/* Hero Section Style with Image fallback gradient */
.hero-section {
    min-height: 85vh;
    background: url('assets/hero-bg.jpg') no-repeat center center/cover;
    background-color: #1a2f3a; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90px, rgba(20,35,44,0.85) 30%, rgba(20,35,44,0.4) 100%);
    z-index: 1;
}

.text-light-muted {
    color: #cbd5e1;
}

/* Right Social Sidebar */
.social-sidebar a {
    width: 48px;
    height: 48px;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.social-sidebar a:hover {
    transform: scale(1.1);
}
.bg-facebook { background-color: #3b5998; }
.bg-instagram { background-color: #e1306c; }
.bg-youtube { background-color: #ff0000; }
.bg-twitter { background-color: #1da1f2; }

/* Bottom Left Widgets */
.widget-btn {
    width: 60px;
    height: 60px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.widget-btn:hover {
    transform: translateY(-5px);
}
.whatsapp-bg { background-color: #25d366; }
.phone-bg { background-color: #00a8ff; }       

/* Slider Uniform Heights */
.min-vh-85 {
    min-height: 85vh;
}

#heroCarousel .carousel-inner .carousel-item {
    height: 85vh;
    background-size: cover !important;
    background-position: center center !important;
}

/* Specific Indicator Dots color overrides */

.carousel-indicators {
    margin-bottom: 2rem !important;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 14px !important;
    height: 14px !important;
    padding: 0 !important;
    margin-right: 8px !important;
    margin-left: 8px !important;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff !important;
    background-clip: padding-box;
    border: 0 !important;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    opacity: 0.5;
    border-radius: 50% !important;
    transition: opacity 0.6s ease, width 0.3s ease !important;
}

.carousel-indicators .active {
    opacity: 1 !important;
    width: 35px !important;
    border-radius: 10px !important;
    background-color: var(--text-success-custom) !important;
}

/* About Section Styles */
.about-title-line {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgb(217, 43, 43); /* Translucent light success line matching the design */
    z-index: -1;
    border-radius: 4px;
}

/* Custom Cross-Corner Rounded Styling for Image Banner */
.about-custom-img {
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    object-fit: cover;
    height: 420px; /* Uniform optimal dimension scale rendering */
    transition: transform 0.4s ease;
}

.about-custom-img:hover {
    transform: scale(1.02); /* Mild hovering elevation feedback */
}

/* Responsive adjustment for clean spacing layout handles */
@media (max-width: 991.98px) {
    .about-custom-img {
        height: 320px;
        border-top-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }
}

/* Core Section Base */
.utl-milestones-section {
    background-color: #106e49 !important; /* Premium dark theme background */
}

/* Glowing Neon Background Spheres for Visual Depth */
.tech-glow-circle-1 {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: -10%;
    left: -5%;
    z-index: 1;
}
.tech-glow-circle-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.12) 0%, rgba(0,0,0,0) 70%);
    bottom: -15%;
    right: -5%;
    z-index: 1;
}

/* Milestone List Interactions */
.milestone-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
    backdrop-filter: blur(5px);
}

.milestone-card:hover {
    background-color: rgba(255, 255, 255, 0.09) !important;
    transform: translateX(6px);
}

.milestone-icon-circle {
    width: 42px;
    height: 42px;
    font-size: 1rem;
}

/* Custom Text Sizes if Bootstrap defaults conflict */
.fs-7 { font-size: 0.88rem !important; }
.fs-8 { font-size: 0.75rem !important; }

/* Card Container Layout */
.milestone-list .milestone-card {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* இடது பக்கத்தில் இருந்து கார்டு தொடங்குவதை உறுதி செய்கிறது */
    width: 100%;
}

/* Text Container Force Align */
.milestone-text {
    text-align: left !important; /* எந்தவொரு உலகளாவிய சென்டர் கிளாஸையும் இது முறியடிக்கும் */
}

/* Stats Card Framework Base */
.stat-premium-card {
    background-color: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Elegant Border & Scale Interaction on Mouse Hover */
.stat-premium-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(220, 53, 69, 0.4) !important; /* Soft Red Glow on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Font Weights Extensions */
.fw-black {
    font-weight: 900 !important;
}

/* Micro Utilities Alignment Fixes */
.fs-7 { font-size: 0.85rem !important; }
.fs-8 { font-size: 0.75rem !important; }
.tracking-wider { letter-spacing: 0.08em !important; }
.tracking-wide { letter-spacing: 0.04em !important; }

/* Footer Links Typography & Animations */
.footer-link {
    transition: all 0.25s ease;
}

.footer-link:hover {
    color: #198754 !important; /* பூட்ஸ்டார்ப் பச்சை நிறத்திற்கு லிங்க் மாறும் */
    padding-left: 4px; /* லிங்க் லேசாக வலதுபுறம் நகரும் மாடர்ன் எஃபெக்ட் */
}

/* Contact & Social items should not shift on hover */
ul.text-white .footer-link:hover {
    padding-left: 0 !important;
}

/* Social Media Circles */
.social-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.social-btn:hover {
    background-color: #198754 !important;
    transform: translateY(-3px);
}

/* Text Sizing Helpers */
.fs-7 { font-size: 0.88rem !important; }
.fs-8 { font-size: 0.78rem !important; }