/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --pink: #ec4899;
    --foreground: #1f2937;
    --background: #ffffff;
    --muted: #6b7280;
    --border: #e5e7eb;
    --card: #f9fafb;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Font */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

.text-primary {
    color: var(--primary);
}

.font-semibold {
    font-weight: 600;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle::after {
    content: '';
    width: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
}

.dropdown-menu a:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

.dropdown-menu a:hover {
    background-color: var(--card);
    color: var(--primary);
    padding-left: 1.5rem;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }

    .navbar-content {
        padding: 0 1rem;
    }

    .logo img {
        height: 40px;
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

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

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

.btn-outline {
    border: 2px solid var(--foreground);
    color: var(--foreground);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   BADGES & LABELS
   ======================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.badge-small {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin: 1rem 0;
    color: inherit;
}

.section-header p {
    max-width: 40rem;
    margin: 0 auto 0;
    color: inherit;
    opacity: 0.9;
    font-size: 1.1rem;
}

.services .section-header h2,
.pricing .section-header h2 {
    color: white;
}

.services .section-header p,
.pricing .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding-top: 6rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    text-align: center;
    max-width: 56rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 24rem;
    margin: 3rem auto 0;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.sparkle {
    display: inline-block;
    margin-right: 0.25rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: 4rem 0;
    background-color: #1f2937;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card.dark {
    background-color: #1f2937;
    color: white;
    border-color: #1f2937;
}

.service-card.primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.service-card.pink {
    background-color: var(--pink);
    color: white;
    border-color: var(--pink);
}

.service-card.light {
    background-color: var(--card);
    color: var(--foreground);
    border-color: var(--border);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 1.75rem;
}

.service-card.dark .service-icon {
    background-color: rgba(255, 255, 255, 0.1);
}

.service-card.primary .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card.pink .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card.light .service-icon {
    background-color: var(--primary)/10;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-link {
    opacity: 1;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
    padding: 4rem 0;
    background-color: #111827;
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary);
    background-color: white;
    transform: scale(1.05);
}

.pricing-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary);
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 400;
}

.features {
    list-style: none;
    margin: 1.5rem 0;
}

.features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--foreground);
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
}

.pricing-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group:has(textarea) {
    grid-template-columns: 1fr;
}

.form-group:has(select) {
    grid-template-columns: 1fr;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-section {
    margin-bottom: 2rem;
}

.contact-info-section h3 {
    margin-bottom: 1rem;
}

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

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item p {
    margin: 0;
}

.response-time {
    padding: 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-section {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

.contact-header-image {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

.contact-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-hero {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    min-height: 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.about-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.about-hero-content h1 {
    color: white;
}

.founder {
    padding: 4rem 0;
    background-color: white;
}

.founder-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .founder-card {
        grid-template-columns: 1fr;
    }
}

.founder-image img {
    width: 100%;
    max-width: 160px;
    border-radius: 0.5rem;
}

.founder-content p {
    color: var(--muted);
    line-height: 1.8;
}

.services-about {
    padding: 4rem 0;
    background-color: white;
}

.cta-section {
    padding: 4rem 0;
    background-color: white;
}

.cta-card {
    background-color: var(--card);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    text-align: center;
}

.cta-card h2 {
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.cta-footer {
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ========================================
   WEB DESIGN PAGE
   ======================================== */

.page-header-image {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

.page-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.web-design-hero {
    padding: 4rem 0;
    background-color: white;
    text-align: center;
}

.web-design-hero h1 {
    margin-bottom: 1rem;
}

.web-design-hero p {
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    color: var(--muted);
    font-size: 1.1rem;
}

.web-design-hero .btn {
    margin-top: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1.5rem;
}

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

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

.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

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

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .pricing-grid,
    .services-grid {
        gap: 1rem;
    }

    .contact-grid {
        gap: 1.5rem;
    }
}
/* ========================================
   INDUSTRIES SCROLL SECTION
   ======================================== */

.industries-scroll {
    background: var(--primary);
    padding: 1.5rem 0;
    overflow: hidden;
}

.industries-container {
    width: 100%;
    overflow: hidden;
}

.industries-track {
    display: flex;
    gap: 3rem;
    padding: 0;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.industry-item {
    font-weight: 600;
    color: #000;
    flex-shrink: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.industry-item::before {
    content: '::';
    color: rgba(0, 0, 0, 0.3);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    padding: 5rem 0;
    background-color: var(--background);
}

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--foreground);
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item summary:hover {
    background-color: var(--card);
}

.faq-item summary::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   FOOTER GRID UPDATE
   ======================================== */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid > div:first-child {
    grid-column: 1;
}

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-track {
        gap: 2rem;
    }
}

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

    .industries-track {
        gap: 1rem;
    }

    .industry-item {
        font-size: 0.875rem;
    }
}

/* ========================================
   WHERE WE WORK SECTION
   ======================================== */

.where-we-work {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 5rem 0;
    color: white;
}

.where-we-work .section-header h2 {
    color: white;
}

.where-we-work .section-header p {
    color: #cbd5e1;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.location-badge {
    border: 2px solid var(--primary);
    border-radius: 2rem;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 500;
    color: white;
    transition: var(--transition);
    background: rgba(16, 185, 129, 0.1);
}

.location-badge:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .location-badge {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   STATS BAR SECTION
   ======================================== */

.stats-bar {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
    padding: 3rem 0;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

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

.stat-item {
    color: white;
}

.stat-item .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item .stat-value {
        font-size: 1.5rem;
    }
}
