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

:root {
    --primary-color: #0b2b5e;   /* Deep Navy Blue */
    --primary-light: #1a4a8c;
    --secondary-color: #d1121c; /* Flag Red */
    --secondary-light: #ff3b46;
    --accent-color: #f2a900;    /* Gold/Yellow */
    --bg-card: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #5a6c7d;
    --bg-light: #f0f4f8;
    --white: #ffffff;
    --border-color: #e1e8ed;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);

    /* Modern Shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(11, 43, 94, 0.06);
    --shadow-lg: 0 20px 40px rgba(11, 43, 94, 0.15);
    --shadow-glow: 0 10px 25px rgba(209, 18, 28, 0.35);

    --radius-md: 24px;
    --radius-btn: 50px;
    --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: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-light);
    background-image: radial-gradient(rgba(11, 43, 94, 0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    z-index: 0;
}

/* Ambient Background Glows */
body::before {
    content: '';
    position: fixed;
    top: -20vh; right: -10vw;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(209, 18, 28, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20vh; left: -10vw;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(242, 169, 0, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    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-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: var(--radius-btn);
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn:hover::before {
    opacity: 1;
}

.btn-lg {
    font-size: 1.15rem;
    padding: 18px 45px;
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(209, 18, 28, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(209, 18, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(209, 18, 28, 0); }
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: saturate(180%) blur(25px);
    -webkit-backdrop-filter: saturate(180%) blur(25px);
    box-shadow: 0 15px 40px rgba(11, 43, 94, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 8px 25px;
    width: 95%;
    max-width: 1200px;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
    border: 1px solid rgba(11, 43, 94, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

.header-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.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: 5px;
    margin: 0 auto;
    background: rgba(11, 43, 94, 0.04);
    padding: 6px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(11, 43, 94, 0.03);
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.nav-links li a:hover {
    color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;    
    padding: 140px 20px 80px;
    color: var(--white);
    position: relative;
    border-radius: 0 0 60px 60px;
    margin-bottom: 40px;
}

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

.hero-content {
    text-align: center;
    background: rgba(11, 43, 94, 0.65);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 60px 50px;
    border-radius: 35px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.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.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 35px;
    max-width: 80%;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* 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);
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--gradient-secondary);
    margin: 20px auto 0;
    border-radius: 5px;
    box-shadow: var(--shadow-glow);
}
.section-title[style*="left"]::after {
    margin-left: 0;
}

.raised-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--white);
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(11, 43, 94, 0.08);
    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(10px) scale(1.02); }
    .grid-3 .card:nth-child(3) { transform: translateY(40px); }
    .grid-3 .card:nth-child(3):hover { transform: translateY(30px) scale(1.02); }
}

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

/* Image Gallery */
.image-gallery {
    column-count: 3;
    column-gap: 20px;
    margin-top: 40px;
}

.image-gallery img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

/* Modern Accent Images */
.styled-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(11, 43, 94, 0.15);
    border: 8px solid var(--white);
    transform: perspective(1000px) rotateY(-3deg) scale(0.98);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    object-fit: cover;
    display: block;
}
.styled-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 35px 60px rgba(11, 43, 94, 0.25);
    border-color: #f8fafc;
}

/* Footprint Gallery */
.footprint-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.footprint-grid img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    padding: 15px;
}

.footprint-grid img:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--accent-color);
}

@media (max-width: 992px) {
    .image-gallery { column-count: 2; }
}
@media (max-width: 576px) {
    .image-gallery { column-count: 1; }
}

/* 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.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(11, 43, 94, 0.08);
    border-radius: var(--radius-md);
    padding: 60px 30px 40px;
    margin-top: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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(209, 18, 28, 0.05) 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::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}
.card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(11, 43, 94, 0.15);
}

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

.card h3 i {
    display: none;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 75px;
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(11, 43, 94, 0.3);
    border-radius: 50%;
    font-size: 32px;
    transition: var(--transition);
}
.card:hover .card-icon {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-glow);
    transform: translateX(-50%) translateY(-8px) scale(1.15);
}

/* 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;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

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

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

.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 {
    padding-bottom: 10px;
    color: var(--primary-color);
}

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

/* Contact Details Module */
.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(11, 43, 94, 0.08);
    padding: 40px;
    border-radius: var(--radius-md);
}
.contact-line i {
    color: var(--secondary-color) !important;
    background: var(--bg-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Modern Footer */
.main-footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 40px 40px;
    margin: 80px auto 20px;
    position: relative;
    z-index: 10;
    border-radius: 40px;
    width: calc(100% - 40px);
    max-width: 1200px;
    box-shadow: 0 20px 50px rgba(11, 43, 94, 0.15);
    border: 1px solid rgba(255,255,255,0.15);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

.footer-col p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(8px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;    
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.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: var(--text-muted);
}

/* 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 {
        top: 15px;
        padding: 8px 15px;
        border-radius: 25px;
    }

    .header-right .contact-info-header, .header-right .header-btn {
        display: none;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        width: 100%;        
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.7);
        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: 35px; }
    .hero { border-radius: 0 0 35px 35px; }
    .hero { padding: 120px 15px 50px !important; }
    .hero-content { padding: 40px 20px !important; border-radius: 24px; }
    .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; }
    .styled-image { transform: none !important; border-width: 4px; box-shadow: 0 15px 30px rgba(11,43,94,0.1); }
    
    /* Prevent side-scrolling and text overlapping */
    .grid-2, .grid-3, .footer-container { display: flex !important; flex-direction: column !important; gap: 30px !important; align-items: stretch !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, .contact-form, .contact-info, .credit-meter-container { height: auto !important; min-height: auto !important; padding: 25px 15px !important; }
    .card { height: auto !important; padding: 60px 20px 30px !important; margin-top: 50px !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;
    }
}

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

/* 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, var(--secondary-color) 0%, var(--accent-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

/* 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;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
