/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bs-danger: #E31E24;       
    --bs-danger-rgb: 227, 30, 36;
    --bs-dark: #0B0F19;            
    --bs-body-font-family: 'Carter One', system-ui; 
}

body {
    overflow-x: hidden;
    font-family: var(--bs-body-font-family);
    background-color: #F8F9FA;
}       

/* Extrabold Layout Typography */
.fw-extrabold { font-weight: 800; }
.letter-spacing-1 { letter-spacing: 1.5px; }

/* Custom Gradient Configurations */
.text-gradient-red {
    background: linear-gradient(135deg, #FF383E 0%, #A60D12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-danger-soft { background-color: rgba(227, 30, 36, 0.07); }
.bg-white-soft { background-color: rgba(255, 255, 255, 0.12); }
.backdrop-blur { backdrop-filter: blur(16px); background: rgba(11, 15, 25, 0.65); }
.border-red-soft { border: 1px solid rgba(227, 30, 36, 0.25) !important; }

/* ==========================================================================
   Header Navbar Modules (Explicitly Clean & Structured)
   ========================================================================== */

/* Header Logo Styling */
.custom-navbar-logo {
    height: 110px;
    width: 110px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0px 4px 12px rgba(223, 30, 36, 0.25));
    transition: transform 0.3s ease;
}

.custom-navbar-logo:hover {
    transform: scale(1.04);
}

/* Navigation Menu Links Typography Configuration */
.custom-nav-link {
    font-size: 1rem;
    letter-spacing: -0.2px;
    transition: color 0.25s ease, opacity 0.25s ease;
}

/* Hover & Active Transition Effects */
.custom-nav-link:hover {
    color: var(--bs-danger) !important;
}

/* Social Media Profile Icons Layout */
.custom-social-icon {
    transition: transform 0.2s ease, color 0.2s ease;
    opacity: 0.95;
    display: inline-block;
}

.custom-social-icon:hover {
    color: var(--bs-danger) !important;
    transform: scale(1.12);
}

/* ==========================================================================
   Footer Modules
   ========================================================================== */

/* Footer Logo Styling */
.custom-footer-logo {
    height: 85px;
    width: 85px;
    filter: brightness(1.1);
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Max Width Utility Helper Class for Layout Text Containment */
.max-w-sm {
    max-width: 400px;
}

/* ==========================================================================
   Hero and Main Layout Sections
   ========================================================================== */

/* Premium Dark Hero Configuration with Fallback Asset Layer */
.hero-section {
    position: relative;
    min-height: 85vh;
    background-color: #090D16;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Background Video Positioning Constraints */
.hero-bg-video {
    z-index: 1;
    pointer-events: none; /* User interaction actions intercept control helper */
}

/* Updated Deep Multi-stop Overlay Mesh to preserve high text contrast readability */
.bg-overlay-gradient {
    z-index: 2;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.88) 0%, rgba(18, 24, 36, 0.92) 100%);
    background-image: radial-gradient(circle at 85% 30%, rgba(227, 30, 36, 0.22) 0%, transparent 65%),
                      linear-gradient(180deg, rgba(9, 13, 22, 0.85) 0%, rgba(18, 24, 36, 0.9) 100%);
}

/* Stack Level Control Utility */
.z-index-2 {
    z-index: 2;
}

/* Micro Interaction FX Layouts */
.shadow-danger {
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.35) !important;
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(227, 30, 36, 0.45) !important;
}

/* ==========================================================================
   Animations Core Configuration
   ========================================================================== */

/* Entrance Animation Modules */
.animate-fade-in-up { animation: fadeInUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in-right { animation: fadeInRight 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(45px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-pulse {
    animation: heartbeat 2.5s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==========================================================================
   Responsive Adaptive Viewports Adjustments
   ========================================================================== */

@media (max-width: 991.98px) {
    .hero-section { min-height: auto; }
    .display-3 { font-size: 2.8rem; }
    
    .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .navbar-nav .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .custom-navbar-logo {
        height: 90px;
        width: 90px;
    }
}

/* ==========================================================================
   About Section Layout Controls
   ========================================================================== */

.py-6 {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

/* Custom Image Dimension Bounds */
.custom-about-img {
    min-height: 480px;
    max-height: 550px;
    transition: transform 0.5s ease;
}

.custom-about-img:hover {
    transform: scale(1.03);
}

/* About Section Floating Experience Badge Styling */
.about-experience-badge {
    background: rgba(11, 15, 25, 0.85) !important;
    max-width: 280px;
}

/* Background Visual Blueprint Dots Matrix Effect */
.about-grid-pattern {
    width: 140px;
    height: 140px;
    background-image: radial-gradient(var(--bs-danger) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
}

/* Translate Position Helper */
.translate-middle-30 {
    transform: translate(-30%, -30%);
}

/* Core Icon Shape Rule Restoration */
.icon-pill {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* ==========================================================================
   Advanced Bento Box Grid Layout System
   ========================================================================== */

.bg-bento-dark {
    background-color: #0d0f12 !important;
}

/* Secondary Typography Fallback */
.font-sans {
    font-family: system-ui, -apple-system, sans-serif;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

/* Bento Card Base Structure */
.bento-wrapper-card {
    background-color: #161a22;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* Absolute Glass Gradient Overlay */
.bento-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

/* Special Highlighting for Accent Cards */
.bento-bg-gradient.active-accent {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(0,0,0,0) 100%);
}

/* Square Icon Dimensioning Inside Cards */
.bento-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* High-End Hover Micro-actions */
.bento-wrapper-card:hover {
    transform: translateY(-5px);
    background-color: #1c212b;
    border-color: rgba(220, 53, 69, 0.3); /* Hover செய்யும்போது சிவப்பாக மாறும் */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.bento-wrapper-card:hover .bento-icon-box {
    background-color: #dc3545 !important; /* Icon box background changes to Red */
    color: #ffffff !important;
    transform: rotate(-8deg) scale(1.05);
}

.bento-wrapper-card:hover .bento-bg-gradient {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
}

/* Custom Soft Border Helper */
.border-red-soft {
    border: 1px solid rgba(220, 53, 69, 0.25) !important;
}

/* Utilities Max Width Constraint */
.max-w-md {
    max-width: 520px;
}

/* ==========================================================================
   Alternative Luxury Layered Cards Design System
   ========================================================================== */

.bg-darker-premium {
    background-color: #ffffff !important;
}

/* Rebuilt Pill Tabs Top Engine Styling */
.btn-pill-filter {
    background-color: #ea2e34 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pill-filter:hover {
    color: #352323 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-pill-filter.active {
    background-color: #ea2e34 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Modern Glass Card Outer Geometry */
.modern-glass-card {
    height: 380px; /* Fixed Height Symmetry Rule */
    border: 1px solid rgba(255, 255, 255, 0.06);
    background-color: #12131a;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

/* Deep Fluid Card Background Engine */
.bg-img-engine {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cinematic Vignette Overlay Mesh */
.card-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

/* Typography Text Shadow for Ultra Legibility */
.text-shadow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Advanced Hover Micro-interactions */
.modern-glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3); /* Gold accent on card boundary */
}

.modern-glass-card:hover .bg-img-engine {
    transform: scale(1.1) rotate(1deg); /* Subtle premium dynamic zoom */
}

.modern-glass-card:hover .card-overlay-gradient {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(220, 53, 69, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%); /* Adds signature dark red hue on hover */
}

/* Grid Item Transition Wrapper */
.modern-service-item {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Light Premium Why Choose Us Matrix Layout
   ========================================================================== */

#why-choose-us-premium {
    background-color: #ffffff !important;
}

.text-dark-slate {
    color: #1a1d24 !important;
}

/* Left Side Image Vignette (Remains Dark for Text Readability inside Image) */
.premium-graphic-frame {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
}

.frame-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-graphic-frame:hover .frame-img {
    transform: scale(1.05);
}

.frame-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
}

/* Right Side Metric Cards Matrix - Light Setup */
.wcu-metric-card {
    background-color: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.wcu-metric-card:hover {
    transform: translateY(-4px);
    background-color: #ffffff;
    border-color: rgba(255, 193, 7, 0.5); /* Yellow Accent Border on Hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Micro Icon Frame Dimensioning */
.wcu-icon-box {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wcu-metric-card:hover .wcu-icon-box {
    transform: rotate(-5deg) scale(1.05);
}

/* Light Soft Color Palette Tokens for Micro Icons */
.bg-warning-light { background-color: rgba(255, 193, 7, 0.12) !important; }
.bg-danger-light  { background-color: rgba(220, 53, 69, 0.1) !important; }
.bg-info-light    { background-color: rgba(13, 202, 240, 0.1) !important; }
.bg-success-light { background-color: rgba(25, 135, 84, 0.1) !important; }

/* ==========================================================================
   Premium Testimonial Overlap Grid Slider (As Per image_c520f4.png)
   ========================================================================== */

#premium-testimonials {
   background-color: #ffffff !important; /* Pure Dark Matt Premium Contrast */
    z-index: 1;
}

/* Subtle Ambient Lighting behind Cards */
.radial-glow-ambient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

/* Micro Testimonial Glass-Box Component Architecture */
.testimonial-glass-card {
    background-color: #FFFFFF; /* Rich deep grey-black slate card background */
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-glass-card:hover {
    transform: translateY(-5px);
    /* background-color: #15181f; */
    border-color: rgba(255, 193, 7, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

/* Quote Layout Styling */
.quote-text {
    line-height: 1.6;
    font-size: 0.95rem;
}

.border-muted-v2 {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Image Avatar Precision Positioning */
.avatar-wrapper {
    width: 68px;
    height: 68px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Custom Dots Styling (Matches image_c520f4.png perfectly) */
.premium-indicators-matrix button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 193, 7, 0.3) !important;
    border: none !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

.premium-indicators-matrix button.active {
    background-color: #ffc107 !important;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.6);
}

/* Counters Premium Aesthetics */
.text-outline-gold {
    color: transparent !important;
    -webkit-text-stroke: 1.5px #ffc107; /* Gold Outline */
    font-family: 'Carter One', sans-serif; /* Fallback for font-carter */
    letter-spacing: 1px;
}

.text-muted-v2 {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
}