/* ==========================================================================
   CSS Variables & Theme Setup
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #3B4B72; /* Deep Slate Blue */
    --primary-light: #4A5D8A;
    --secondary-color: #3B4B72;
    --accent-color: #1A1A1A; /* Bold Black / Dark Charcoal */
    --accent-hover: #000000;
    
    /* Neutral Colors */
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #3B4B72;
    --text-main: #1A1A1A;
    --text-muted: #555555;
    --text-inverse: #FFFFFF;
    
    /* Layout & Spacing */
    --container-width: 1280px;
    --section-padding: 100px 0;
    --border-radius: 4px;
    --card-radius: 4px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-hover: 0 20px 40px -10px rgba(11, 31, 58, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-color: #111520; /* Dark slate */
    --bg-light: #1E2536;
    --text-main: #F8F9FA;
    --text-muted: #A0ABC0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --primary-color: #F8F9FA;
    --primary-light: #FFFFFF;

}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4, 
[data-theme="dark"] h5, 
[data-theme="dark"] h6 {
    color: var(--text-inverse);
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--text-inverse) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

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

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.align-center {
    align-items: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 163, 0, 0.3);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff !important;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff !important;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 24px 0;
    background-color: transparent;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] #header.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    transition: color var(--transition-normal);
}

.logo-subtext {
    color: #fff;
    transition: color var(--transition-normal);
}

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

#header.scrolled .logo-text, #header.scrolled .logo-subtext {
    color: var(--primary-color);
}

[data-theme="dark"] #header.scrolled .logo-text, [data-theme="dark"] #header.scrolled .logo-subtext {
    color: #fff;
}

.main-nav .nav-links {
    display: flex;
    gap: 2rem;
}

.main-nav .nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

#header.scrolled .main-nav .nav-links a {
    color: var(--text-main);
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-normal);
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color var(--transition-normal);
}

#header.scrolled .theme-toggle {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

#header.scrolled .mobile-menu-btn {
    color: var(--text-main);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(11, 31, 58, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    text-align: center;
    width: 100%;
    padding: 2rem;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-links a {
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    /* Use a gradient as fallback if image missing */
    background-color: var(--primary-color); 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 31, 58, 0.9) 0%, rgba(11, 31, 58, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    color: #fff;
    max-width: 800px;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero .title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff !important;
}

.hero .description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #fff !important;
    margin-bottom: 0.2rem;
    display: inline-block;
}

.stat-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Outfit', sans-serif;
}

.stat-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-image {
    position: relative;
}

.rounded {
    border-radius: var(--card-radius);
}

.shadow {
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.badge-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: transform var(--transition-fast);
}

.value-box:hover {
    transform: translateY(-5px);
}

.value-box i {
    font-size: 2rem;
    color: var(--accent-color);
}

.value-box h4 {
    margin-bottom: 0;
    font-size: 1.125rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-color);
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    z-index: -1;
    transition: height var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: color var(--transition-fast);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    transition: color var(--transition-fast);
}

.service-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
    color: #fff;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .filter-btn {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-item {
    background: var(--bg-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 31, 58, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-link:hover {
    background: #fff;
    color: var(--accent-color);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-info .location, .portfolio-info .year {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--accent-color);
    margin-right: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.portfolio-info .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Expertise Section
   ========================================================================== */
.expertise {
    background-color: var(--primary-color);
}

[data-theme="dark"] .expertise {
    background-color: #0B1221;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--card-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.giant-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    color: #fff;
    font-size: 1.5rem;
}

.check-list {
    margin-top: 1.5rem;
}

.check-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ==========================================================================
   Features / Why Choose Us
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--bg-light);
    border-radius: var(--card-radius);
    transition: all var(--transition-normal);
}

[data-theme="dark"] .feature-box {
    border-color: rgba(255, 255, 255, 0.05);
}

.feature-box:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.feature-box:hover .feature-icon {
    background: var(--accent-color);
    color: #fff;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::after {
    content: '\201D';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    font-family: serif;
    color: var(--bg-light);
    line-height: 1;
    z-index: 0;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feedback {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.client-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.client-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--bg-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(11, 31, 58, 0.9), transparent);
    display: flex;
    justify-content: center;
    gap: 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.team-social a:hover {
    background: #fff;
    color: var(--accent-color);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.team-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--bg-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem;
}

.contact-info h3 {
    color: #fff;
    font-size: 1.5rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.info-item h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    margin-bottom: 0;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.contact-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--text-muted);
    background: transparent;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    transition: border-color var(--transition-fast);
}

[data-theme="dark"] .form-control {
    border-color: rgba(255, 255, 255, 0.2);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.map-container {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #061121;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
}

.footer h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-color);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter-form button {
    padding: 0 20px;
    background: var(--accent-color);
    border: none;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

.footer-bottom {
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease-out;
}

.reveal-active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero .title {
        font-size: 3rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about .experience-badge {
        right: 0;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .main-nav, .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .hero .title {
        font-size: 2.5rem;
    }

    .expertise-image {
        order: -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .testimonial-carousel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
    
    .team-grid, .portfolio-grid, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Works Table Section
   ========================================================================== */
.table-container {
    overflow-x: auto;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 1px;
}

.works-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
}

.works-table th, .works-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.works-table th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
}

.works-table tbody tr {
    transition: background-color var(--transition-fast);
}

.works-table tbody tr:hover {
    background-color: var(--bg-light);
}

.works-table tbody td {
    font-size: 0.9rem;
    color: var(--text-main);
}

.works-table td:nth-child(2) {
    white-space: normal;
    min-width: 300px;
    font-weight: 500;
}

.works-table td:nth-child(4) {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--accent-color);
}

[data-theme="dark"] .works-table th, [data-theme="dark"] .works-table td {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
[data-theme="dark"] .works-table tbody tr:hover {
    background-color: var(--primary-light);
}
