:root {
    --accent-main: #ff9800; /* Vibrant Amber/Orange */
    --orange: #ff5722;
    --light-bg: #0f172a; /* Dark slate background */
    --text-dark: #f8fafc; /* White/light text */
    --text-light: #94a3b8; /* Muted text */
    --glass-bg: rgba(255, 255, 255, 0.05); /* Subtle white overlay for glass */
    --glass-border: rgba(255, 255, 255, 0.1); /* Subtle white border */
}

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

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

.accent {
    color: var(--accent-main);
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-radius: 0 0 16px 16px;
    border-top: none;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.transparent-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.transparent-nav .nav-links a, 
.transparent-nav .dropbtn {
    color: white !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

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

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-main);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-main);
    border: 2px solid var(--accent-main);
}

.btn-outline:hover {
    background: rgba(255, 152, 0, 0.1);
    transform: translateY(-2px);
}

.w-100 { width: 100%; }
.mt-4 { margin-top: 1rem; }

/* Hero Section */
.page-header {
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.glitch-text {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--orange);
    display: inline-block;
}

.stat-item span {
    font-size: 2.5rem;
    color: var(--orange);
    font-family: 'Space Grotesk', sans-serif;
}

/* Sections General */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text, .about-timeline {
    padding: 40px;
}

.feature-list {
    margin-top: 20px;
    list-style-position: inside;
    line-height: 1.8;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-main);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Projects */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent-main);
    color: #fff;
    border-color: var(--accent-main);
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    padding: 15px;
    text-align: center;
}

.project-img {
    width: 100%;
    height: 200px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.contact-form, .contact-info {
    padding: 40px;
}

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-dark);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-main);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

/* ===================== HAMBURGER / MOBILE NAV ===================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1100;
    padding: 5px 10px;
    line-height: 1;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1050;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #0f172a;
    border-left: 1px solid rgba(255,255,255,0.1);
    z-index: 1100;
    flex-direction: column;
    padding: 80px 30px 40px;
    gap: 0;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.25,0.8,0.25,1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a, .mobile-nav span {
    color: #f8fafc;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: block;
    transition: color 0.3s;
}

.mobile-nav a:hover { color: #ff9800; }

.mobile-nav .mobile-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    color: #fff; font-size: 1.8rem;
    cursor: pointer; line-height: 1;
}

.mobile-nav .mobile-sub {
    padding-left: 15px;
    font-size: 0.98rem;
    color: #94a3b8 !important;
    border-bottom: none !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* ===================== RESPONSIVE BREAKPOINTS ===================== */
@media (max-width: 900px) {
    .nav-links { display: none !important; }
    .hamburger { display: block; }
    .mobile-nav { display: flex; }
}

@media (max-width: 768px) {
    .stats-container { grid-template-columns: 1fr 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .glitch-text { font-size: 2rem !important; }
    .page-header h1 { font-size: 2rem !important; }
    .page-header { padding: 140px 20px 60px !important; }
    .section { padding: 3rem 5% !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.3rem !important; }
    .nav-container { padding: 0 20px !important; }

    /* Hero section on mobile */
    section#home { padding-top: 100px !important; padding-bottom: 60px !important; }
    .heroSwiper { min-height: 280px !important; }

    /* Services grid */
    .services-grid { grid-template-columns: 1fr !important; }

    /* Stats */
    .stats-container { grid-template-columns: 1fr 1fr !important; gap: 15px !important; }

    /* Contact cards */
    .contact-card { padding: 1.5rem !important; }
}

@media (max-width: 576px) {
    .glitch-text { font-size: 1.5rem !important; }
    .page-header h1 { font-size: 1.6rem !important; }
    h2 { font-size: 1.5rem !important; }
    .btn { padding: 10px 20px !important; font-size: 0.95rem !important; }
    .stats-container { grid-template-columns: 1fr !important; }
    .hero-buttons { flex-direction: column !important; align-items: center !important; gap: 12px !important; }

    /* Make all grid sections single column */
    [style*="grid-template-columns: repeat"] {
        grid-template-columns: 1fr !important;
    }

    /* Fix padding on sections */
    section { padding-left: 20px !important; padding-right: 20px !important; }
    .container { padding: 0 15px !important; }

    /* Footer single column handled by footer-grid rule */
    .footer-grid { grid-template-columns: 1fr !important; text-align: center !important; }
    .footer-logo-img { margin: 0 auto 1rem !important; max-height: 100px !important; }

    /* Navbar logo smaller on mobile */
    .nav-container img[src="logo.png"] { height: 50px !important; max-width: 180px !important; }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--light-bg);
    min-width: 280px;
    box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    left: 0;
    border: 1px solid var(--glass-border);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 152, 0, 0.05);
    color: var(--accent-main);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Page Headers */
.page-header {
    padding: 180px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,152,0,0.05) 0%, rgba(255,255,255,0) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
}
/* Hero Banner */
.hero-content {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* Banner Slider (Swiper) */
.heroSwiper {
    width: 100%;
    height: auto;
    min-height: 320px;
    margin-bottom: 30px;
}

/* Logos Marquee */
.logos-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 60px 0;
    background: rgba(0,0,0,0.01);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Text Content blocks */
.content-block {
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-light);
}

.content-block h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin: 40px 0 15px;
    line-height: 1.3;
}

.content-block h3 {
    font-size: 1.5rem;
    color: var(--accent-main);
    margin: 25px 0 10px;
    line-height: 1.3;
}

.content-block p, .content-block ul, .content-block ol {
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.7;
}
.content-block li {
    margin-bottom: 10px;
    text-align: left;
    line-height: 1.7;
    margin-left: 20px;
}

.testimonial-card {
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-style: italic;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.testimonial-card p.author {
    font-style: normal;
    font-weight: 700;
    color: var(--accent-main);
    margin-top: 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    padding: 30px;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    gap: 20px;
    align-items: center;
}

.process-step h3 {
    color: var(--accent-main);
    font-size: 2rem;
    margin: 0;
}

/* Content Images */
.content-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 10px 0 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.industry-image {
    width: calc(100% + 60px);
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin: -30px -30px 20px -30px;
    display: block;
}
/* Responsive Hero Slider */
@media (max-width: 1024px) {
    .glitch-text {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .glitch-text {
        font-size: 2.2rem;
    }
    .hero-slider {
        height: 380px;
    }
}
@media (max-width: 480px) {
    .glitch-text {
        font-size: 1.8rem;
    }
    .hero-slider {
        height: 450px;
    }
}

/* Footer Grid and Alignment */
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.footer-logo-img {
    display: block;
    max-height: 150px;
    width: auto;
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    margin-left: 0;
}

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

@media (max-width: 768px) {
    .footer-grid {
        text-align: center !important;
    }
    .footer-grid > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo-img {
        margin-left: auto;
        margin-right: auto;
    }
}

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

/* Why Industries Trust Us Showcase Grid (3 on top, 2 on bottom staggered) */
.why-showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.why-box-1 {
    grid-column: 1 / span 4;
    grid-row: 1;
}

.why-box-2 {
    grid-column: 5 / span 4;
    grid-row: 1;
}

.why-box-3 {
    grid-column: 9 / span 4;
    grid-row: 1;
}

.why-box-4 {
    grid-column: 3 / span 4;
    grid-row: 2;
}

.why-box-5 {
    grid-column: 7 / span 4;
    grid-row: 2;
}

/* Responsive Showcase Grid */
@media (max-width: 992px) {
    .why-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-box-1, .why-box-2, .why-box-3, .why-box-4, .why-box-5 {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
}

/* Floating Action Contact Buttons */
.floating-contact-wrap {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.floating-btn-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.floating-btn-phone {
    background: linear-gradient(135deg, var(--accent-main) 0%, #ff5722 100%);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.35);
}

.floating-btn-phone:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 152, 0, 0.55);
}

/* Tooltip on hover */
.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    pointer-events: none;
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile responsive alignment */
@media (max-width: 576px) {
    .floating-contact-wrap {
        right: 15px;
        bottom: 20px;
        gap: 12px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .floating-btn::before {
        display: none; /* Hide tooltips on mobile devices */
    }
}
