@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@600;700;800;900&display=swap');

:root {
    --primary-color: #1D2B48;   /* Modern Navy */
    --secondary-color: #FF6B00; /* Energetic Orange */
    --text-main: #212529;
    --text-muted: #6C757D;
    --bg-light: #F8F9FA;
    --white: #ffffff;
    --border-color: #DEE2E6;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Modern Shadows */
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(255, 107, 0, 0.4);

    --radius-md: 12px;
    --radius-btn: 10px;
    --radius-pill: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-light);
    /* Modern dot grid background */
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 24px 24px;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    z-index: 0;
}

/* Ambient Background Glows */
body::before {
    content: '';
    position: fixed;
    top: -20%; left: -10%;
    width: 60vw; height: 60vh;
    background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%; right: -10%;
    width: 60vw; height: 60vh;
    background: radial-gradient(circle, rgba(29,43,72,0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.03em;
    word-break: break-word;
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #FF8C00, var(--secondary-color));
    color: var(--white);
    padding: 15px 35px;
    border-radius: var(--radius-btn);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #0F172A);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* Pulse Glow Animation for Main CTAs */
.pulse-btn {
    animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

/* Header & Navigation */
header {
    background: rgba(29, 43, 72, 0.95); /* Deep Navy Glassmorphism */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    font-size: 1.2rem;
    color: var(--white);
}

.logo img { max-height: 55px; }

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-info-header {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
}

.contact-info-header i { color: var(--secondary-color); margin-right: 5px; }

.header-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.badge-placeholder {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 35px;
    margin: 0 auto;
}

.nav-links li a {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85)), url('Images/WhatsApp%20Image%202026-04-24%20at%2012.08.02%20(1).jpeg') center/cover;
    padding: 140px 20px 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem) !important;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 35px;
    max-width: 90%;
    font-weight: 300;
}

/* General Sections */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.raised-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 0;
    position: relative;
    z-index: 10;
    padding: 60px 40px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

/* Asymmetric 2026 Fluid Grid */
@media (min-width: 992px) {
    .grid-3 .card:nth-child(2) { transform: translateY(20px); }
    .grid-3 .card:nth-child(2):hover { transform: translateY(15px); }
    .grid-3 .card:nth-child(3) { transform: translateY(40px); }
    .grid-3 .card:nth-child(3):hover { transform: translateY(35px); }
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    align-items: start;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 20px;
    margin-top: 40px;
}
.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    position: relative;
}

/* Client Logos */
.client-logo {
    max-height: 140px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(70%);
    transition: var(--transition);
}
.client-logo:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Dynamic Spotlight Micro-animation layer */
.card::before, .contact-form::before, .contact-info::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, -100px);
    left: var(--mouse-x, -100px);
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(29, 43, 72, 0.06) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}
.card:hover::before, .contact-form:hover::before, .contact-info:hover::before { opacity: 1; }
.card > *, .contact-form > *, .contact-info > * { position: relative; z-index: 1; }

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 0, 0.15);
    z-index: 2;
}

.card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card h3 i {
    color: var(--secondary-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Interactive Hover Panels */
.info-panel {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.hover-reveal:hover .info-panel {
    opacity: 1;
    max-height: 200px;
    margin-bottom: 10px;
}

/* Services List */
.service-list {
    text-align: left;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.service-list li:before {
    content: "✓";
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: 300;
    font-size: 1.1rem;
}

/* Credit Meter Animation */
.credit-meter-container {
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.meter {
    margin-bottom: 15px;
}

.meter-label {
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.meter-bar {
    height: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0; /* JS will animate this */
    transition: width 1.5s ease-in-out;
    border-radius: 10px;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.contact-info {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    height: 150px;
}

.contact-info h2, .contact-info h3 {
    color: var(--white);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--white);
}

/* Modern Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 20px 20px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-col .footer-logo img { height: 50px; }

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 2px 4px 6px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .header-right .contact-info-header, .header-right .header-btn {
        display: none;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(29, 43, 72, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        padding: 20px 0;
        text-align: center;
        gap: 15px; /* Add spacing between mobile menu items */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    /* Mobile Layout Enhancements */
    .logo { font-size: 1rem; }
    .logo img { max-height: 40px; }
    .hero { padding: 110px 15px 60px !important; }
    .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.2rem) !important; }
    .hero-content h1 br { display: none; } /* Prevents awkward wrapping */
    .hero-content p { font-size: 1rem !important; width: 100%; max-width: 100%; }
    .section { padding: 50px 15px !important; }
    .section-title { font-size: 2rem !important; margin-bottom: 35px !important; }
    
    /* Prevent side-scrolling and text overlapping */
    .grid-2, .grid-3, .footer-container { display: flex !important; flex-direction: column !important; gap: 30px !important; }
    [style*="grid-template-columns"] { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; }
    
    /* Auto height to stop text 'bottoming out' */
    .raised-panel, .card, .contact-form, .contact-info, .credit-meter-container { height: auto !important; min-height: auto !important; padding: 25px 15px !important; }
    .floating-element { min-height: 250px !important; height: auto !important; }
    .client-logo { max-height: 80px !important; }

    .main-footer { padding: 50px 15px 20px; }
    
    /* Override inline HTML paddings & gaps causing constraints */
    [style*="padding: 40px"], [style*="padding: 60px"] { padding: 25px 15px !important; }
    [style*="gap: 50px"], [style*="gap: 40px"] { gap: 20px !important; }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

/* Extra Small Mobile Overrides */
@media (max-width: 480px) {
    .credit-meter-container .meter-label {
        flex-direction: column;
        text-align: left;
        gap: 4px;
    }
}

/* Make icons in contact info use the secondary color */
.contact-info i {
    color: var(--secondary-color) !important; /* Important needed to override FontAwesome inline styles */
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.contact-line i {
    margin-top: 5px;
    flex-shrink: 0;
    width: 20px;
}

/* 2026 Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 20%, var(--secondary-color) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Autonomous Animations */
@keyframes float-anim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.floating-element {
    animation: float-anim 6s ease-in-out infinite;
}
