/* =========================================
   0. PRELOADER
   ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark); z-index: 9999;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    transition: opacity 0.5s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }

.loader-hive {
    width: 60px; height: 60px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hive-pulse 1.5s infinite ease-in-out;
    position: relative;
}
.loader-hive::before {
    content: ''; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px;
    background: var(--bg-dark);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
}
.loader-hive::after {
    content: ''; position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 2;
    animation: hive-fill 1.5s infinite ease-in-out;
}

@keyframes hive-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 20px var(--primary); }
    100% { transform: scale(0.8); opacity: 0.5; }
}
@keyframes hive-fill {
    0% { transform: scale(0); }
    50% { transform: scale(1); }
    100% { transform: scale(0); }
}

.loader-text {
    margin-top: 20px; font-family: monospace; color: var(--primary); letter-spacing: 2px;
    animation: text-blink 1.5s infinite;
}
@keyframes text-blink { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette - Default Dark Purple Theme */
    --bg-dark: #0a0a0c;         /* Deepest Background */
    --bg-card: #13131a;         /* Card Background */
    --bg-alt:  #0f0f13;         /* Alternating Section Background */
    --bg-header: rgba(10, 10, 12, 0.7); /* Translucent Header */
    --bg-header-scrolled: rgba(10, 10, 12, 0.95);
    
    --primary: #a855f7;         /* Main Accent (Purple) */
    --primary-dark: #7e22ce;    /* Darker Interaction Purple */
    --secondary: #d8b4fe;       /* Lighter Lavender */
    
    --text-main: #f3f4f6;       /* Main White text */
    --text-muted: #9ca3af;      /* Grey secondary text */
    --text-heading: #ffffff;    /* Pure White for Headings */
    
    --border: rgba(168, 85, 247, 0.15); /* Subtile purple borders */
    --shadow: 0 10px 40px rgba(0,0,0,0.3);
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, #d946ef 100%);
    --gradient-glow: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(0,0,0,0) 70%);

    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --radius: 16px;
}

/* =========================================
   GLOBAL POLISH & SCROLLBAR
   ========================================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { 
    background: #333340; 
    border-radius: 5px; 
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: var(--primary); color: white; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    /* Subtle Tech Grid Pattern */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed; /* Parallax effect for grid */
    
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Vignette to fade grid at edges */
body::after {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--bg-dark) 120%);
    pointer-events: none; z-index: -1;
}

/* Censored Effect */
.censored {
    color: transparent;
    text-shadow: 0 0 10px rgba(255,255,255,0.7); /* Blurry text */
    cursor: help;
    transition: 0.3s;
    display: inline-block;
    position: relative;
    user-select: none;
}

.censored:hover {
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.8); /* Purple glow on hover */
}

.censored:hover::after {
    content: "Coming Soon";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    pointer-events: none;
    margin-bottom: 8px;
    z-index: 10;
}

/* Arrow for tooltip */
.censored:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary);
    margin-bottom: -2px;
    pointer-events: none;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* =========================================
   2. UTILITIES & TYPOGRAPHY
   ========================================= */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.bg-alt { background-color: transparent; } /* Remove solid background to show grid */

h1, h2, h3, h4 { color: var(--text-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; margin-bottom: 24px; }
h2 { font-size: 2.5rem; margin-bottom: 10px; }

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.line { width: 60px; height: 3px; background: var(--gradient-main); margin: 10px auto 0; border-radius: 2px; }

.badge {
    background: rgba(168, 85, 247, 0.1);
    color: var(--secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(168, 85, 247, 0.3);
    display: inline-block;
    margin-bottom: 15px;
}

/* Glow Effects */
.glow-effect {
    position: absolute; width: 600px; height: 600px;
    background: var(--gradient-glow); border-radius: 50%;
    z-index: -1; pointer-events: none; opacity: 0.4;
}
.top-left { top: -200px; left: -200px; }
.center-right { top: 30%; right: -300px; }
.bottom-left { bottom: -200px; left: -200px; }

/* =========================================
   3. BUTTONS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 1rem;
    cursor: pointer; gap: 10px; transition: all 0.3s ease; border: none;
    position: relative; z-index: 5;
}
.btn-primary {
    background: var(--gradient-main); color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6); }

.btn-outline {
    background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white;
}
.btn-outline:hover { border-color: var(--primary); background: rgba(168, 85, 247, 0.1); }

.btn-light { background: white; color: var(--primary-dark); }
.btn-light:hover { background: #f0f0f0; transform: translateY(-2px); }

.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* =========================================
   4. HEADER & NAV
   ========================================= */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    display: flex; align-items: center; z-index: 1000;
    background: rgba(10, 10, 12, 0.6); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03); transition: 0.3s;
}
header.header-scrolled {
    background: var(--bg-header-scrolled);
    box-shadow: var(--shadow);
}
.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo-container { 
    display: flex; align-items: center; gap: 12px; 
    text-decoration: none; transition: 0.3s;
}
.logo-container:hover { opacity: 0.8; }
header .logo-container {
    position: relative;
    z-index: 1001; /* Ensure logo stays on top */
    padding-top: 10px; /* Slight top spacing */
}
header .logo-img {
    height: 150px; /* EVEN BIGGER Logo */
    width: auto; 
    object-fit: contain;
    transition: 0.3s;
    /* Optional: Slight drop shadow to separate from content below if needed */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}
/* Shrink logo slightly when scrolling */
header.header-scrolled .logo-img {
    height: 110px; 
}

footer .logo-img {
    height: 200px; width: auto; object-fit: contain;
}
.logo-text { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; color: var(--text-heading); }
.highlight { color: var(--primary); }

.main-nav ul { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; align-items: center; }
.main-nav a { 
    font-weight: 500; color: var(--text-muted); font-size: 0.95rem; position: relative; 
    display: flex; align-items: center; gap: 5px;
}
.main-nav a:hover, .main-nav a.active { color: var(--text-heading); }
.main-nav > ul > li > a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background: var(--primary); transition: 0.3s;
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { width: 100%; }

/* Dropdown Menu Styles */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0; background: var(--bg-card);
    min-width: 200px; padding: 15px 0; border-radius: 12px;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s;
    flex-direction: column; gap: 0 !important;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { width: 100%; }
.dropdown a {
    padding: 10px 20px; width: 100%; display: block; color: var(--text-muted);
    transition: 0.2s;
}
.dropdown a:hover { background: rgba(168, 85, 247, 0.1); color: var(--primary); padding-left: 25px; }
.dropdown a::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-heading); }

/* =========================================
   5. HERO SECTIONS
   ========================================= */
.hero, .page-hero {
    padding-top: 160px; padding-bottom: 80px; position: relative; overflow: hidden;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 32px; max-width: 500px; }
.hero-btns { display: flex; gap: 16px; }

.image-wrapper {
    position: relative; border-radius: 20px; padding: 10px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
}
.image-wrapper img { border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); width: 100%; }

.floating-card {
    position: absolute; background: rgba(19, 19, 26, 0.95); backdrop-filter: blur(10px);
    padding: 12px 20px; border-radius: 12px; border: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5); 
    animation: float 6s ease-in-out infinite;
    z-index: 10; /* Bring to front */
}
.floating-card i { color: var(--primary); font-size: 1.2rem; }
.floating-card span { font-weight: 600; font-size: 0.9rem; }
.card-1 { top: 40px; left: -30px; }
.card-2 { bottom: 40px; right: -30px; animation-delay: 3s; }

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

.service-card, .milestone-content, .team-member, .value-card, .project-card, .faq-item, .contact-form, .info-item .icon-box {
    background: rgba(19, 19, 26, 0.6); /* Glassy Background */
    backdrop-filter: blur(12px);       /* Blur Effect */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle Border */
    border-radius: var(--radius);
    padding: 40px 30px; 
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative; overflow: hidden;
}

.service-card:hover, .milestone-content:hover, .team-member:hover, .value-card:hover, .project-card:hover, .faq-item:hover { 
    transform: translateY(-10px); 
    border-color: rgba(168, 85, 247, 0.3); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); 
}

/* Specific resets for items that reused service-card styles but need tweaks */
.faq-item { padding: 0; border-radius: 12px; } /* Reset padding for accordion */
.team-member { padding: 0; } /* Reset padding for team image */
.project-card { padding: 0; } /* Reset padding for project image */
.info-item .icon-box { padding: 0; width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; } /* Reset icon box */

.service-card {
    /* Retain original service-card specific styles if any, or just empty if covered above */
}

/* Hover Glow Effect */
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.1), transparent 40%);
    opacity: 0; transition: 0.4s;
    pointer-events: none;
}

.service-card:hover { 
    transform: translateY(-10px); 
    border-color: rgba(168, 85, 247, 0.3); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); 
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 60px; height: 60px; background: rgba(255, 255, 255, 0.03); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; color: var(--primary);
    font-size: 1.5rem; margin-bottom: 24px; transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative; z-index: 2;
}
.service-card:hover .service-icon { 
    background: var(--gradient-main); color: white; 
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}
.service-card h3 { margin-bottom: 15px; font-size: 1.25rem; position: relative; z-index: 2; }
.service-card p { color: var(--text-muted); margin-bottom: 20px; position: relative; z-index: 2; }

.read-more {
    color: var(--secondary); font-weight: 500; font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 5px;
    position: relative; z-index: 5;
}
.read-more:hover i { transform: translateX(5px); }

/* =========================================
   7. TIMELINE & TEAM & VALUES
   ========================================= */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: var(--gradient-main); transform: translateX(-50%);
}
.milestone { display: flex; justify-content: flex-end; padding-right: 50px; position: relative; margin-bottom: 50px; width: 50%; }
.milestone:nth-child(even) { align-self: flex-end; justify-content: flex-start; padding-right: 0; padding-left: 50px; left: 50%; }

.milestone-marker {
    position: absolute; right: -8px; top: 0; width: 16px; height: 16px;
    background: var(--primary); border-radius: 50%; box-shadow: 0 0 15px var(--primary); z-index: 2;
}
.milestone:nth-child(even) .milestone-marker { left: -8px; right: auto; }

.milestone-content {
    background: var(--bg-card); padding: 25px; border-radius: 16px; border: 1px solid var(--border);
    width: 100%; position: relative; transition: 0.3s;
}
.milestone-content:hover { transform: translateY(-5px); border-color: var(--primary); }
.milestone-year { color: var(--primary); font-weight: 700; font-size: 1.2rem; margin-bottom: 5px; display: block; }
.milestone p { color: var(--text-muted); font-size: 0.95rem; }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-member {
    overflow: hidden; text-align: center;
}
.team-member:hover { transform: translateY(-10px); border-color: var(--primary); }
.team-image { height: 250px; overflow: hidden; }
.team-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.team-member:hover .team-image img { transform: scale(1.1); }
.team-info { padding: 25px; }
.position { color: var(--primary); font-size: 0.9rem; font-weight: 500; display: block; margin-bottom: 15px; }
.team-social { display: flex; justify-content: center; gap: 15px; }
.team-social a { color: var(--text-muted); }
.team-social a:hover { color: var(--primary); }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-card {
    text-align: center;
}
.value-card:hover { background: var(--bg-card); border-color: var(--primary); }
.value-icon { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.value-card p { color: var(--text-muted); }

/* =========================================
   8. FILTER & PROJECTS
   ========================================= */
.filter-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 24px; border-radius: 30px; color: var(--text-muted); cursor: pointer; transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary); color: white; border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.project-card {
    overflow: hidden;
}
.project-card.hide { display: none; } 

.project-image { position: relative; overflow: hidden; height: 220px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.project-card:hover .project-image img { transform: scale(1.1); }

.project-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 12, 0.8); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-info { padding: 20px; }
.project-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.project-info p { color: var(--primary); font-size: 0.9rem; font-weight: 500; }

/* =========================================
   9. FAQ & CONTACT
   ========================================= */
.faq-grid { max-width: 800px; margin: 0 auto; display: grid; gap: 15px; }
.faq-item {
    overflow: hidden;
}
.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-question h3 { font-size: 1.1rem; font-weight: 500; }
.faq-answer {
    max-height: 0; overflow: hidden; padding: 0 25px; color: var(--text-muted);
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active { border-color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-item.active .faq-answer { padding-bottom: 25px; max-height: 200px; }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.icon-box {
    width: 50px; height: 50px; 
    border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem;
}
.social-links { display: flex; gap: 15px; margin-top: 40px; }
.social-links a {
    width: 45px; height: 45px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: var(--text-main);
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: white; }

.contact-form { /* Padding handled by global glass class if 40px is standard, or keep if unique */ }
.form-group { margin-bottom: 20px; }
input, textarea {
    width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    padding: 15px; border-radius: 8px; color: var(--text-main); font-family: inherit; font-size: 1rem; transition: 0.3s;
}

input:focus, textarea:focus { outline: none; border-color: var(--primary); background: rgba(168, 85, 247, 0.05); }

.cta-box {
    background: linear-gradient(135deg, rgba(19, 19, 26, 0.9) 0%, rgba(10, 10, 12, 0.95) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 24px; padding: 60px 40px;
    text-align: center; color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative; overflow: hidden;
}

/* Subtle accent line at top of CTA */
.cta-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-content h2 { color: white; margin-bottom: 15px; }
.cta-content p { color: var(--text-muted); margin-bottom: 30px; }

/* =========================================
   10. FOOTER
   ========================================= */
footer { background: var(--bg-dark); padding: 40px 0 30px; border-top: 1px solid var(--border); font-size: 0.9rem; text-align: left; }

/* New Footer Layout: Logo Left, Links Right */
.footer-content { 
    display: flex; 
    flex-direction: row; 
    align-items: center; /* Center align vertically with links */
    justify-content: space-between;
    gap: 30px; 
    padding-bottom: 20px; 
}

/* Logo Section - Left Side */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align */
    gap: 0; /* Remove gap as text is gone */
    max-width: 300px; 
}

footer .logo-img {
    height: 180px; /* Adjusted size to fit slimmer footer */
    width: auto; 
    object-fit: contain;
    margin-bottom: 0px;
}

/* Links Grid - 3 Columns Right Side */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    flex: 1; /* Take remaining space */
}

/* Left align headers */
.footer-col h4 { margin-bottom: 15px; color: var(--text-heading); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom { 
    margin-top: 20px;
    text-align: center; 
    padding: 15px 0 0; 
    border-top: 1px solid var(--border); 
    color: var(--text-muted); 
    font-size: 0.85rem;
}
/* Header Logo Styles Restored */
.logo-container { 
    display: flex; align-items: center; gap: 12px; 
    text-decoration: none; transition: 0.3s;
}
.logo-container:hover { opacity: 0.8; }
header .logo-container {
    position: relative;
    z-index: 1001;
    padding-top: 10px;
}
header .logo-img {
    height: 150px;
    width: auto; 
    object-fit: contain;
    transition: 0.3s;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}
header.header-scrolled .logo-img {
    height: 110px; 
}

/* =========================================
   11. NEW: TECH GRID & WP EXTRAS
   ========================================= */
/* Tech Stack Grid */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px; }
.tech-item {
    background: var(--bg-card); padding: 25px 15px; border-radius: 12px;
    text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px;
}
.tech-item:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.tech-icon { font-size: 2.5rem; color: var(--secondary); transition: 0.3s; }
.tech-item:hover .tech-icon { color: var(--primary); transform: scale(1.1); }
.tech-item h4 { font-size: 1rem; font-weight: 600; }

/* Floating WordPress Logo */
.wp-floating-logo {
    position: absolute; top: 30px; right: 40px; width: 80px; height: 80px;
    background: var(--gradient-main); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: white; z-index: 10;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
    animation: wpFloat 6s ease-in-out infinite;
}
@keyframes wpFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* =========================================
   12. MOBILE MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .hero-content, .contact-wrapper, .footer-content, .about-content { 
        grid-template-columns: 1fr; 
        flex-direction: column; /* Ensure flex containers stack */
        gap: 40px; 
    }
    
    /* Responsive Footer */
    .footer-logo-section {
        align-items: center; /* Center logo on mobile */
        text-align: center;
        max-width: 100%;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        text-align: center;
        gap: 40px;
    }
    
    .hero, .page-hero { text-align: center; padding-top: 120px; }
    .hero-btns { justify-content: center; }
    .mobile-toggle { display: block; }
    .main-nav {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: var(--bg-dark); padding: 40px; transition: 0.3s; border-top: 1px solid rgba(255,255,255,0.05);
    }
    .main-nav.active { left: 0; }
    .main-nav ul { flex-direction: column; align-items: center; gap: 30px; }
    
    .timeline::before { left: 20px; }
    .milestone { width: 100%; padding-left: 50px; padding-right: 0; justify-content: flex-start; }
    .milestone:nth-child(even) { left: 0; }
    .milestone-marker { left: 12px; right: auto; }
    .milestone:nth-child(even) .milestone-marker { left: 12px; }
    
    .wp-floating-logo { top: -20px; right: 20px; width: 60px; height: 60px; font-size: 1.8rem; }
}

/* Animations */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Contact Form Enhancements */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.form-notice {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    border-left: 2px solid #444;
}

.form-notice a {
    color: #aaa;
    text-decoration: underline;
}

/* Select dropdown styling */
.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    color-scheme: dark;
}

.contact-form select option {
    background-color: #13131a;
    color: #fff;
}