

:root {
    /* Color Palette */
    --bg-color: #0a0b10; /* Rich Charcoal / Midnight */
    --surface-color: #12141d;
    --surface-light: #1a1d29;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #eab308; /* Premium Vibrant Gold */
    --accent-hover: #fcd34d;
    --accent-gradient: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #b45309 100%);
    --accent-glow: rgba(234, 179, 8, 0.4);
    --accent-blue: #38bdf8; /* Tech/Innovation Blue */
    --accent-blue-hover: #7dd3fc;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    
    /* Variables */
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography Classes */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 20px var(--accent-glow);
    border: none;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
    backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: rgba(234, 179, 8, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.15);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 0.6rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Dropdown Menu (Desktop) --- */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    display: none !important;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: rgba(18, 20, 29, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem 0;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

/* Custom Scrollbar for Dropdown Menu */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 8px 8px 0;
}
.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

/* Open state toggled by Javascript click event */
.dropdown.open .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
}

.dropdown-menu li {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu li a {
    padding: 0.8rem 1.5rem !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    text-align: left !important;
}

.dropdown-menu li a::after {
    display: none !important; /* Avoid the underline hover anim on submenu links */
}

.dropdown-menu li:last-child a {
    border-bottom: none !important;
}

.dropdown-menu li a:hover {
    background-color: rgba(212, 175, 55, 0.08) !important;
    color: var(--accent-color) !important;
    padding-left: 2rem !important;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

/* --- Mega Menu --- */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: rgba(18, 20, 29, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    width: 850px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    display: flex;
    gap: 2rem;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-column h4 {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column li {
    margin-bottom: 0.8rem;
}

.mega-menu-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.mega-menu-column a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.dropdown:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
}

.dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Hover behavior on desktop */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(8px);
    }
    
    .dropdown:hover .dropdown-toggle i {
        transform: rotate(180deg);
    }
}

.btn-nav {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    color: var(--text-primary);
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
    min-height: 38vh; /* Reduced further by 7% */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 90px;
    padding-bottom: 2.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 11, 16, 0.98) 0%, rgba(10, 11, 16, 0.7) 50%, rgba(10, 11, 16, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    margin-top: 2rem;
}

/* Hero Text Carousel */
.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.hero-carousel-track {
    display: grid;
    width: 100%;
}

.hero-carousel-item {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    visibility: hidden;
}

.hero-carousel-item.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.4);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.1);
}

.hero-carousel-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-carousel-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 0.2rem;
}

.hero-carousel-dots {
    display: flex;
    gap: 8px;
    margin-top: 0.2rem;
}

.hero-carousel-dots .dot {
    width: 12px;
    height: 12px;
    background: var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.hero-carousel-dots .dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-carousel-title {
        font-size: 1.8rem;
    }
    .hero-carousel-desc {
        font-size: 0.9rem;
    }
    .hero-carousel-wrapper {
        margin-bottom: 1rem;
    }
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* --- Monolithic Panels Setup --- */
.innovation {
    background: var(--surface-color);
    position: relative;
}

.innovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.innovation-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.innovation-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-item {
    background: rgba(26, 29, 41, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.1), inset 0 0 20px rgba(56, 189, 248, 0.05);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.benefit-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.benefit-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.innovation-image {
    position: relative;
}

.innovation-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.innovation-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    z-index: -1;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(18, 20, 29, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(26, 29, 41, 0.8);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Authority --- */
.authority {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--surface-color) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(234, 179, 8, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* --- Testimonials --- */
.testimonials {
    background: var(--bg-color);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testi-card {
    background: rgba(26, 29, 41, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.testi-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
}

.testi-text::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: var(--glass-border);
    font-family: Georgia, serif;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

/* --- Contact Section --- */
.contact {
    background: var(--surface-color);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: rgba(18, 20, 29, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-info {
    padding: 4rem;
    background: linear-gradient(135deg, var(--surface-light) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* --- Footer --- */
footer {
    background: var(--bg-color);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (min-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-wrap-single {
    grid-template-columns: 1fr !important;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* --- Carousel --- */
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
}

.carousel-slide > div {
    width: 100%;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 992px) {
    .carousel-slide {
        flex: 0 0 33.333%;
    }
}

/* --- Custom Logo Setup --- */
.site-logo-container {
    position: relative;
    display: inline-block;
}

.header-logo {
    width: 135px; /* Reduced further by 7% */
    max-width: 100%;
    height: auto;
}

.footer-logo {
    width: 389px;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.site-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 991px) {
    .innovation-grid, .contact-wrap {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .innovation-image {
        width: calc(100% - 20px);
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        max-width: none;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
        padding-top: 100px;
        padding-bottom: 50px;
        overflow-y: auto;
        box-shadow: none;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        letter-spacing: 1px;
    }
    
    .nav-links .btn-nav {
        margin-top: 1rem;
        padding: 1rem 3rem;
        background: var(--accent-color);
        color: #000;
        border: none;
        font-size: 1.2rem;
        font-weight: 700;
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    }

    /* Mobile Dropdown Styling */
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        justify-content: center;
        width: 100%;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .dropdown-menu, .mega-menu {
        position: static;
        transform: none !important;
        background-color: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(212, 175, 55, 0.1);
        border-radius: 8px;
        box-shadow: none;
        min-width: 90%;
        width: 90%;
        margin: 1rem auto;
        max-height: none;
        overflow-y: visible;
        opacity: 0;
        display: none;
        flex-direction: column;
        pointer-events: none;
        transition: none;
        padding: 1.5rem 1rem;
    }
    
    .mega-menu-column {
        margin-bottom: 1.5rem;
    }
    
    .mega-menu-column:last-child {
        margin-bottom: 0;
    }

    .mega-menu-column h4 {
        text-align: center;
        font-size: 1.1rem;
        color: var(--accent-color);
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding-bottom: 0.8rem;
    }

    .dropdown.open .dropdown-menu, .dropdown.open .mega-menu {
        opacity: 1;
        display: flex;
        flex-direction: column;
        pointer-events: auto;
    }

    .dropdown-menu li a, .mega-menu-column a {
        font-size: 1.05rem !important;
        text-align: center !important;
        padding: 0.8rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .mega-menu-column li:last-child a {
        border-bottom: none !important;
    }
    
    .dropdown-menu li a:hover, .mega-menu-column a:hover {
        background-color: rgba(212, 175, 55, 0.1) !important;
        padding-left: 1rem !important; /* Prevents text shifting */
        color: var(--accent-color) !important;
        border-radius: 4px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        position: relative;
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .contact-info, .contact-form {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 4rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 8px;
    }
    
    .hero-buttons .btn,
    .innovation-content .btn,
    [style*="text-align: center"] .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
        box-sizing: border-box;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .service-card, .testi-card {
        padding: 2rem 1.5rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(212, 175, 55, 0.15);
        border-radius: 12px;
        background: linear-gradient(145deg, var(--surface-light) 0%, var(--surface-color) 100%);
    }

    .portfolio-card {
        border-radius: 12px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(212, 175, 55, 0.15) !important;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }
    
    .project-text h2 {
        font-size: 2rem;
    }
}

/* --- Smart TV / Large Monitor Optimization --- */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
        max-width: 800px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .service-card {
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .services-grid, .testi-grid, .portfolio-grid, .benefits-list {
        grid-template-columns: 1fr !important;
    }
    
    .contact-info {
        padding: 1.5rem !important;
    }

    /* Footer Mobile Optimization */
    footer {
        padding: 3rem 0 1.5rem 0;
        overflow: hidden;
    }
    
    .footer-col {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .footer-logo {
        width: 250px; /* Adjusted to fit all mobile screens */
        max-width: 100%;
        margin: 0 0 1rem 0;
    }
    
    .footer-col p {
        font-size: 0.95rem;
        line-height: 1.6;
        word-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer-links {
        width: 100%;
    }

    .footer-links li {
        font-size: 0.95rem;
        word-wrap: break-word;
        width: 100%;
    }
    
    .social-links {
        justify-content: flex-start;
        width: 100%;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.5;
        word-wrap: break-word;
    }
}

/* Custom Timeline */
.css-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 100px 60px;
    margin: 0 auto;
    box-sizing: border-box;
}
.css-timeline-line {
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    height: 0;
    border-top: 2px dashed var(--text-secondary);
    z-index: 1;
}
.css-timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}
.css-timeline-step {
    width: 22px;
    height: 22px;
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 0.7rem;
    border: 3px solid var(--bg-color);
    position: relative;
    z-index: 3;
}
.css-timeline-node {
    position: absolute;
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.css-node-top {
    bottom: 20px;
}
.css-node-bottom {
    top: 20px;
}
.css-timeline-icon {
    width: 55px;
    height: 55px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--accent-glow);
}
.css-timeline-content {
    background: var(--surface-color);
    padding: 8px 10px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--glass-border);
}
.css-timeline-content h4 {
    margin: 0;
    font-size: 0.7rem;
    color: var(--text-primary);
    line-height: 1.3;
}
.css-timeline-conn {
    position: absolute;
    width: 0;
    height: 12px;
    border-left: 2px dashed var(--text-secondary);
}
.css-conn-top {
    bottom: 8px;
}
.css-conn-bottom {
    top: 8px;
}
}
.css-timeline-annot {
    position: absolute;
    color: var(--text-secondary);
    white-space: nowrap;
    font-size: 0.65rem;
    background: rgba(18, 20, 29, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
}

/* --- Premium Lists --- */
.service-text-col ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.service-text-col ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-text-col ul li > i {
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--accent-color);
}

.premium-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px !important;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    padding-left: 1.2rem !important;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.premium-list-item:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.4);
}

.list-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.list-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.list-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}


/* Screen reader only for hidden SEO text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
