﻿/* ===== CSS CUSTOM PROPERTIES (VARIABLES) ===== */
:root {
    /* Primary color palette — ELIDZ corporate colours */
    --primary-blue: #1e40af;
    --light-blue: #3b82f6;
    --primary-orange: #f78f1e;
    --light-orange: #faa94e;
    
    /* Neutral colors */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #1e293b;
    --medium-gray: #64748b;
    
    /* Gradient combinations */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #f78f1e 100%);
    --gradient-hero: linear-gradient(135deg, #1e40af 0%, #5a9ab5 50%, #f78f1e 100%);
    
    /* Shadow variations for depth */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding/border included in width calculations */
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for all anchor links */
}

body {
    font-family: 'Inter', sans-serif; /* Modern, clean font */
    line-height: 1.6; /* Improved readability */
    color: var(--dark-gray);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* ===== NAVIGATION STYLES ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 64, 175, 0.08);
    z-index: 1000;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(30, 64, 175, 0.1);
    border-bottom-color: rgba(30, 64, 175, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    height: 52px;
    width: auto;
    border-radius: 8px;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 1rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.6rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.06);
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 700;
    background: rgba(30, 64, 175, 0.07);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Nav action buttons */
.nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.btn-nav-ghost {
    padding: 0 1.1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-blue);
    border: 1.5px solid rgba(30, 64, 175, 0.3);
    background: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s;
    cursor: pointer;
    line-height: 1;
    height: 34px;
}

.btn-nav-ghost:hover {
    border-color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.06);
    color: var(--primary-blue);
}

.btn-nav-cta {
    padding: 0 1.2rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
    cursor: pointer;
    border: none;
    height: 34px;
    line-height: 1;
}

.btn-nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.35);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1.5px solid rgba(30, 64, 175, 0.2);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: rgba(30, 64, 175, 0.06);
    border-color: var(--primary-blue);
}

/* Hamburger — 3 bars, 2px each, 5px gap → total height = 2+5+2+5+2 = 16px */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 20px;
    height: 16px;
    pointer-events: none;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease, width 0.2s ease;
    transform-origin: center center;
}

/* X state: bar1 rotates +45°, bar2 fades, bar3 rotates -45° */
/* offset = (bar-height + gap) = 2 + 5 = 7px */
.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid rgba(30, 64, 175, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem 1rem;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.7rem 0.875rem;
    border-radius: 8px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.mobile-nav-link i {
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.15s;
}

.mobile-nav-link:hover {
    color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.06);
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    color: var(--primary-blue);
}

.mobile-nav-link.active {
    color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.08);
    font-weight: 700;
}

.mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-actions .btn-nav-ghost,
.mobile-nav-actions .btn-nav-cta {
    justify-content: center;
    height: 38px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* ===== BUTTON COMPONENTS ===== */
/* Base button styling - shared across all button types */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth animations */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */
}

/* Primary button with gradient background */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: var(--shadow-lg);
}

/* Outline button - transparent with border */
.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue); /* Fill on hover */
    color: var(--white);
}

/* Orange accent button */
.btn-orange {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-orange:hover {
    background: var(--light-orange);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
/* Main hero section with gradient background and decorative elements */
.hero {
    background: var(--gradient-hero);
    color: var(--white);
    margin-top: 0;
    padding: 7.5rem 0 4rem; /* top padding accounts for 64px fixed navbar */
    position: relative;
    overflow: hidden; /* Hide decorative elements that extend beyond bounds */
}

/* Grid pattern overlay for texture */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* SVG grid pattern for subtle texture */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Background building image */
.hero::after {
    content: '';
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 60%;
    height: 80%;
    background-image: url('assets/img/BUILDING-STP.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Enhanced building image for larger screens */
@media (min-width: 1024px) {
    .hero::after {
        width: 50%;
        height: 70%;
        right: 0;
        bottom: 0;
        opacity: 0.2;
        background-size: cover;
        background-position: center right;
    }
}

/* Mobile building image adjustment */
@media (max-width: 768px) {
    .hero::after {
        width: 80%;
        height: 60%;
        right: -20%;
        bottom: -15%;
        opacity: 0.08;
        background-size: contain;
    }
}

/* Container for decorative elements */
.hero-decoration {
    position: absolute;
    inset: 0;
    z-index: 0; /* Behind content */
}

/* Decorative ribbon element */
.hero-decoration .ribbon {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 40%;
    background: var(--gradient-primary);
    transform: rotate(-18deg); /* Diagonal ribbon effect */
    filter: blur(30px); /* Soft, blurred appearance */
    opacity: 0.12;
}

/* Decorative glow element */
.hero-decoration .glow {
    position: absolute;
    left: 10%;
    top: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(closest-side, rgba(234, 88, 12, 0.25), rgba(234, 88, 12, 0));
    filter: blur(12px);
    opacity: 0.7;
}

/* Hero content layout - two column grid */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal columns for content and visual */
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1; /* Above decorative elements */
}

/* Hero headline styling */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800; /* Extra bold for impact */
    margin-bottom: 1.5rem;
    line-height: 1.1; /* Tight line height for large text */
}

/* Hero description text */
.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9; /* Slightly transparent for hierarchy */
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero call-to-action buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Hero visual cards grid */
.hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid of cards */
    gap: 1rem;
    position: relative;
}

/* Individual visual cards with glassmorphism effect */
.visual-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Glassmorphism blur effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    animation: float 6s ease-in-out infinite; /* Floating animation */
}

/* Staggered animation delays for visual interest */
.visual-card:nth-child(1) { animation-delay: 0s; }
.visual-card:nth-child(2) { animation-delay: 2s; }
.visual-card:nth-child(3) { animation-delay: 4s; }
.visual-card:nth-child(4) { animation-delay: 1s; }

/* Floating animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); } /* Gentle up and down movement */
}

/* Visual card icons */
.visual-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-orange); /* Orange accent for icons */
}

/* Visual card headings */
.visual-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Visual card descriptions */
.visual-card p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ===== STATS SECTION ===== */
/* Statistics showcase section */
.stats {
    background: var(--white);
    padding: 4rem 0;
    box-shadow: var(--shadow); /* Subtle shadow for depth */
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive grid for statistics cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
    gap: 2rem;
}

/* Individual statistic cards */
.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: var(--light-gray);
    transition: transform 0.3s ease; /* Smooth hover animation */
    border: 2px solid transparent;
}

/* Hover effect for stat cards */
.stat-card:hover {
    transform: translateY(-8px); /* Lift effect */
    border-color: var(--primary-orange); /* Orange border on hover */
}

/* Large statistic numbers with gradient text */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary); /* Gradient text effect */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

/* Statistic labels */
.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--light-gray);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.features-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-orange);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Industries Section */
.industries {
    padding: 6rem 0;
    background: var(--white);
}

.industries-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.industries h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--primary-blue);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.industry-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
}

.industry-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.industry-card p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: rgb(245, 240, 240);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

.contact-item address {
    font-style: normal;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.4;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: var(--primary-orange);
    transform: translateY(-4px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* ===== FOOTER SECTION ===== */
/* Modern footer with gradient background and organized content */
.footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative overlay */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Footer content grid layout */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Company info section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: 12px;
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social media links */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.4);
}

/* Footer navigation sections */
.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-orange);
    border-radius: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-link i {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Contact information styling */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1rem;
    margin-top: 0.125rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--white);
}

/* Newsletter signup */
.newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.newsletter h4 {
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}

.newsletter-btn {
    padding: 0.75rem 1rem;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.newsletter-btn:hover {
    background: var(--light-orange);
    transform: translateY(-1px);
}

/* Footer bottom section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-credit {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-credit:hover {
    color: var(--light-orange);
}

/* Footer legal links */
.footer-legal {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container,
    .hero-container,
    .stats-container,
    .features-container,
    .industries-container,
    .cta-container,
    .contact-container,
    .footer-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        gap: 0;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.78rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-visual {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .navbar {
        position: fixed; /* ensure stacking context for absolute mobile-menu */
    }

    .nav-container {
        padding: 0 1rem;
    }
    
    .brand-logo {
        height: 28px;
    }

    .hero {
        padding: 6.5rem 0 3rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-visual {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .visual-card {
        padding: 1.5rem 1rem;
    }
    
    .visual-card i {
        font-size: 1.5rem;
    }
    
    .visual-card h4 {
        font-size: 1rem;
    }
    
    .visual-card p {
        font-size: 0.8rem;
    }

    .features h2,
    .industries h2,
    .cta h2,
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .features-subtitle,
    .cta p {
        font-size: 1.125rem;
    }

    .features-grid,
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .industry-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Contact Section Mobile Revamp */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        text-align: center;
        order: 1;
    }
    
    .contact-info h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 0.75rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .contact-item {
        background: rgba(30, 64, 175, 0.05);
        border: 1px solid rgba(30, 64, 175, 0.1);
        border-radius: 12px;
        padding: 1rem;
        text-align: center;
        transition: all 0.2s ease;
    }
    
    .contact-item:hover {
        background: rgba(30, 64, 175, 0.08);
        transform: translateY(-2px);
    }
    
    .contact-item i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, #1e40af 0%, #ea580c 100%);
    }
    
    .contact-item h4 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        color: #1e40af;
    }
    
    .contact-item address {
        font-size: 0.8rem;
        line-height: 1.2;
        color: #64748b;
    }
    
    .contact-form {
        order: 2;
        padding: 1.25rem;
        max-width: 350px;
        margin: 0 auto;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.85rem;
        border-radius: 10px;
        border: 1.5px solid #e2e8f0;
    }
    
    .form-group textarea {
        min-height: 80px;
        resize: vertical;
    }
    
    .contact-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        border-radius: 10px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Mobile Footer Redesign */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        order: 1;
    }
    
    .footer-brand-header {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-section {
        order: 2;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .newsletter {
        max-width: 250px;
        margin: 0 auto;
        padding: 0.75rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding-top: 1rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        order: 2;
    }
    
    .footer-legal {
        order: 1;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .footer-legal a {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-visual {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .visual-card {
        padding: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features,
    .industries,
    .contact {
        padding: 4rem 0;
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .features h2,
    .industries h2,
    .cta h2,
    .contact-info h2 {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .industry-card {
        padding: 2rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .industry-icon {
        font-size: 2.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-container {
        padding: 0 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .visual-card {
        padding: 1rem;
    }
    
    .visual-card i {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .visual-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .visual-card p {
        font-size: 0.75rem;
    }
    
    .stats,
    .features,
    .industries,
    .contact {
        padding: 3rem 0;
    }
    
    .cta {
        padding: 3rem 0;
    }
    
    .features h2,
    .industries h2,
    .cta h2,
    .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .cta p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card,
    .industry-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-card h3,
    .industry-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-card p,
    .industry-card p {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .industry-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .contact-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-copyright {
        font-size: 0.875rem;
        padding-top: 1.5rem;
    }
    
    .hero::after {
        width: 300px;
        height: 200px;
        right: -30%;
        bottom: -20%;
        opacity: 0.1;
    }
    
    .hero-decoration .ribbon {
        width: 120%;
        height: 30%;
        left: -30%;
        top: -30%;
        transform: rotate(-12deg);
        opacity: 0.08;
    }
    
    .hero-decoration .glow {
        width: 200px;
        height: 200px;
        left: 0%;
        top: 40%;
        opacity: 0.5;
    }
}

@media (max-width: 360px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .brand-logo {
        height: 24px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
    
    .features h2,
    .industries h2,
    .cta h2,
    .contact-info h2 {
        font-size: 1.375rem;
    }
    
    .feature-card,
    .industry-card {
        padding: 1.25rem 0.75rem;
    }
    
    .contact-form {
        padding: 1.25rem 0.75rem;
    }
}

/* Landscape orientation for tablets */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .visual-card {
        padding: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-logo,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .hero-decoration,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        color: var(--primary-blue) !important;
    }
    
    * {
        box-shadow: none !important;
    }
}