/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --background: hsl(210, 40%, 98%);
    --foreground: hsl(215, 25%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 25%, 15%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(215, 25%, 15%);
    --primary: hsl(214, 90%, 45%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(210, 40%, 96%);
    --secondary-foreground: hsl(215, 25%, 15%);
    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215, 15%, 50%);
    --accent: hsl(43, 96%, 56%);
    --accent-foreground: hsl(215, 25%, 15%);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(214, 30%, 90%);
    --input: hsl(214, 30%, 90%);
    --ring: hsl(214, 90%, 45%);
    --radius: 0.75rem;
    --hero-gradient-from: hsl(214, 90%, 45%);
    --hero-gradient-to: hsl(214, 70%, 35%);
    --gold-accent: hsl(43, 96%, 56%);
    --section-light: hsl(210, 40%, 98%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* Navigation Styles */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
    transition: transform 0.2s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--hero-gradient-from) 0%, var(--hero-gradient-to) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-foreground);
}

.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown-trigger:hover {
    color: var(--primary);
}

.nav-dropdown-trigger::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 400px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    display: none;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: grid;
}

.nav-dropdown-item {
    display: block;
    padding: 0.75rem;
    color: var(--foreground);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.nav-dropdown-item:hover {
    background-color: var(--muted);
}

.nav-mobile-toggle {
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-mobile-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--foreground);
}

.nav-mobile-close {
    display: none;
}

.nav-mobile-toggle.active .nav-mobile-menu {
    display: none;
}

.nav-mobile-toggle.active .nav-mobile-close {
    display: block;
}

.nav-mobile {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
    color: var(--primary);
}

.nav-mobile-section {
    margin: 0.5rem 0;
}

.nav-mobile-section-title {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
}

.nav-mobile-section-links {
    padding-left: 1rem;
}

.nav-mobile-section-links .nav-mobile-link {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

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

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.95), rgba(59, 130, 246, 0.85), rgba(59, 130, 246, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text {
    max-width: 48rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title-accent {
    display: block;
    margin-top: 0.5rem;
    color: var(--accent);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 32rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: rgba(251, 191, 36, 0.9);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--primary-foreground);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

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

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: rgba(251, 191, 36, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stat-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-foreground);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    order: 2;
}

.section-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.about-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-benefit-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.about-image {
    position: relative;
    order: 1;
}

.about-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.2), transparent);
}

.about-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    padding: 1.5rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 18rem;
}

.about-card-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.about-card-text {
    color: var(--foreground);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: rgba(210, 40%, 96%, 0.3);
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: rgba(59, 130, 246, 0.5);
}

.service-card-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--hero-gradient-from) 0%, var(--hero-gradient-to) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary-foreground);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary);
}

.service-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--hero-gradient-from) 0%, var(--hero-gradient-to) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-foreground);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    max-width: 28rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.footer-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Case Page Styles */
.page-content {
    padding: 8rem 0 4rem 0;
    min-height: 100vh;
}

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

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.case-content {
    max-width: 48rem;
    margin: 0 auto;
}

.case-section {
    margin-bottom: 2.5rem;
}

.case-section h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.case-section p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-benefits {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.case-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1.125rem;
    color: var(--foreground);
}

.case-benefits li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 1.25rem;
}

.case-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-mobile-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}
