/* ===== CSS Variables (Design System) ===== */
:root {
    /* Colors - Light Mode */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(0, 0%, 11%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 11%);
    --primary: hsl(281, 90%, 36%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-glow: hsl(281, 90%, 50%);
    --secondary: hsl(0, 0%, 96%);
    --secondary-foreground: hsl(0, 0%, 11%);
    --muted: hsl(0, 0%, 96%);
    --muted-foreground: hsl(0, 0%, 45%);
    --border: hsl(0, 0%, 90%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(281, 90%, 36%), hsl(281, 90%, 50%));
    --gradient-hero: linear-gradient(135deg, hsla(281, 90%, 36%, 0.95), hsla(260, 80%, 25%, 0.95));
    
    /* Shadows */
    --shadow-glow: 0 0 40px hsla(281, 90%, 50%, 0.3);
    --shadow-glow-strong: 0 0 60px hsla(281, 90%, 50%, 0.5);
    
    /* Radius */
    --radius: 0.75rem;
}

html.dark {
    /* Colors - Dark Mode */
    --background: hsl(0, 0%, 11%);
    --foreground: hsl(0, 0%, 100%);
    --card: hsl(0, 0%, 15%);
    --card-foreground: hsl(0, 0%, 100%);
    --primary: hsl(281, 90%, 50%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-glow: hsl(281, 90%, 60%);
    --secondary: hsl(0, 0%, 20%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --muted: hsl(0, 0%, 20%);
    --muted-foreground: hsl(0, 0%, 65%);
    --border: hsl(0, 0%, 25%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(281, 90%, 50%), hsl(281, 90%, 60%));
    --gradient-hero: linear-gradient(135deg, hsla(281, 90%, 20%, 0.95), hsla(260, 80%, 15%, 0.95));
    
    /* Shadows */
    --shadow-glow: 0 0 50px hsla(281, 90%, 60%, 0.4);
    --shadow-glow-strong: 0 0 70px hsla(281, 90%, 60%, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: hsla(var(--background), 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

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

.nav-link {
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary);
    background-color: var(--muted);
}

.nav-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--foreground);
}

.icon-btn:hover {
    background-color: var(--muted);
}

.theme-icon {
    transition: opacity 0.3s ease;
}

html:not(.dark) .moon-icon {
    display: block;
}

html:not(.dark) .sun-icon {
    display: none;
}

html.dark .moon-icon {
    display: none;
}

html.dark .sun-icon {
    display: block;
}

.menu-icon {
    display: block;
}

.close-icon {
    display: none;
}

.mobile-menu-open .menu-icon {
    display: none;
}

.mobile-menu-open .close-icon {
    display: block;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.3s ease-out;
}

.mobile-menu.open {
    display: flex;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-mobile {
        display: none;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('src/assets/hero-back.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 5rem 1rem;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: hsla(0, 0%, 100%, 0.9);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: hsla(0, 0%, 100%, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid hsla(0, 0%, 100%, 0.5);
    border-radius: 1.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}

.scroll-indicator-inner::before {
    content: '';
    width: 0.25rem;
    height: 0.75rem;
    background-color: hsla(0, 0%, 100%, 0.5);
    border-radius: 0.125rem;
    animation: pulse 2s infinite;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.875rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-glow-strong);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-strong);
}

.btn-full {
    width: 100%;
}

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: hsla(0, 0%, 96%, 0.3);
}

html.dark .section-alt {
    background-color: hsla(0, 0%, 20%, 0.3);
}

.section-header {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 4rem;
}

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

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

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

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

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
}

/* ===== Grid Layouts ===== */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== Cards ===== */
.card {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius);
    background-color: var(--card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.icon-wrapper {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: hsla(281, 90%, 36%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

html.dark .icon-wrapper {
    background-color: hsla(281, 90%, 50%, 0.1);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--card-foreground);
}

.card-description {
    color: var(--muted-foreground);
}

/* ===== Service Cards ===== */
.service-card {
    padding: 2rem;
    border-radius: var(--radius);
    background-color: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background-color: hsla(281, 90%, 36%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-glow);
}

html.dark .service-icon {
    background-color: hsla(281, 90%, 50%, 0.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--card-foreground);
}

.service-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ===== Industry Cards ===== */
.industry-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    background-color: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.industry-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: hsla(281, 90%, 36%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark .industry-icon {
    background-color: hsla(281, 90%, 50%, 0.1);
}

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

.industry-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--card-foreground);
}

.industry-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ===== Reason Cards ===== */
.reason-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background-color: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.check-icon {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 0.25rem;
}

.reason-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--card-foreground);
}

.reason-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 75rem;
    margin: 0 auto;
}

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

.contact-form-wrapper {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-wrapper:hover {
    box-shadow: var(--shadow-glow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--card-foreground);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(281, 90%, 36%, 0.1);
}

html.dark .form-group input:focus,
html.dark .form-group textarea:focus {
    box-shadow: 0 0 0 3px hsla(281, 90%, 50%, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    color: hsl(0, 84.2%, 60.2%);
    font-size: 0.875rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group input.error,
.form-group textarea.error {
    border-color: hsl(0, 84.2%, 60.2%);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-glow);
}

.contact-info-card > div:first-child {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background-color: hsla(281, 90%, 36%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

html.dark .contact-info-icon {
    background-color: hsla(281, 90%, 50%, 0.1);
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--card-foreground);
}

.contact-info-text {
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

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

.social-link {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background-color: hsla(281, 90%, 36%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

html.dark .social-link {
    background-color: hsla(281, 90%, 50%, 0.1);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

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

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 28rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--card-foreground);
}

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

.footer-links button {
    background: none;
    border: none;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: left;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

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

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

.footer-social-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social-links a:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

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

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

/* ===== Toast Notification ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--card);
    color: var(--card-foreground);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    max-width: 350px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: hsl(142, 76%, 36%);
}

.toast.error {
    border-color: hsl(0, 84.2%, 60.2%);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== Utility Classes ===== */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}