/* =============================================
   Nowahalla Enterprise Group - Corporate Styles
   ============================================= */

/* CSS Variables / Design Tokens */
:root {
    --navy: #2C3E6B;
    --navy-dark: #1E2D52;
    --navy-light: #3A5289;
    --blue-soft: #6C8EBF;
    --blue-pastel: #8FADD4;
    --blue-lighter: #B4CBE4;
    --gold: #C9A96E;
    --gold-light: #D4BC8E;
    --bg-primary: #F4F6FA;
    --bg-secondary: #EAEEF5;
    --bg-card: #FFFFFF;
    --text-primary: #1E2D52;
    --text-secondary: #5A6A8A;
    --text-light: #8693AB;
    --white: #FFFFFF;
    --border: #D8DFE9;
    --shadow-sm: 0 2px 8px rgba(44, 62, 107, 0.06);
    --shadow-md: 0 4px 24px rgba(44, 62, 107, 0.10);
    --shadow-lg: 0 8px 40px rgba(44, 62, 107, 0.14);
    --shadow-glow: 0 0 60px rgba(108, 142, 191, 0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* =============================================
   Header
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(244, 246, 250, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--blue-soft));
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(44, 62, 107, 0.25);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.5px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--blue-soft));
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--navy);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: all var(--transition);
    font-family: var(--font-primary);
}

.lang-btn:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-color: var(--blue-soft);
}

.lang-flag {
    font-size: 16px;
}

.lang-label {
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(170deg, var(--bg-primary) 0%, var(--bg-secondary) 40%, #e8edf6 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blue-soft), transparent 70%);
    top: -10%;
    right: -5%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--gold), transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--blue-pastel), transparent 70%);
    top: 40%;
    left: 40%;
    animation: orbFloat3 14s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 142, 191, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 142, 191, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -25px) scale(1.05); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44, 62, 107, 0.08);
    border: 1px solid rgba(44, 62, 107, 0.12);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--navy), var(--blue-soft), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(44, 62, 107, 0.30);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 62, 107, 0.40);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.6);
    color: var(--navy);
    border: 1.5px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    border-color: var(--blue-soft);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

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

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -1px;
}

.hero-stat-plus {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
}

.hero-stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--blue-soft), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* =============================================
   Section Common
   ============================================= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-soft);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   About Section
   ============================================= */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-content {
    padding-right: 20px;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-soft);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--blue-soft));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   Services Section
   ============================================= */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    overflow: hidden;
    transition: all var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--blue-soft), var(--gold));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--navy), var(--blue-soft));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(44, 62, 107, 0.25);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-card-number {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--bg-secondary);
    line-height: 1;
    pointer-events: none;
    transition: color var(--transition);
}

.service-card:hover .service-card-number {
    color: rgba(108, 142, 191, 0.12);
}

/* =============================================
   Projects Section
   ============================================= */
.projects {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.project-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.project-card-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    border: none;
}

.project-card-featured .project-card-content {
    padding: 48px;
    color: var(--white);
}

.project-card-featured .project-card-badge {
    background: rgba(201, 169, 110, 0.2);
    color: var(--gold-light);
    border-color: rgba(201, 169, 110, 0.3);
}

.project-card-featured .project-card-title {
    color: var(--white);
    font-size: 28px;
}

.project-card-featured .project-card-desc {
    color: rgba(255, 255, 255, 0.75);
}

.project-card-featured .project-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.project-card-content {
    padding: 32px;
}

.project-card-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(108, 142, 191, 0.1);
    color: var(--blue-soft);
    border: 1px solid rgba(108, 142, 191, 0.15);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.project-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.project-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tag {
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(44, 62, 107, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold-light);
    transition: all var(--transition);
}

.project-card-link:hover {
    gap: 12px;
    color: var(--gold);
}

/* Project Screenshot */
.project-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.project-screenshot {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: perspective(800px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.project-card-featured:hover .project-screenshot {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.project-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}






/* Non-featured project cards in a 2-col grid */
.projects-grid .project-card:not(.project-card-featured) {
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Make non-featured cards side by side */
.projects-grid .project-card:nth-child(2),
.projects-grid .project-card:nth-child(3) {
    grid-column: auto;
}

@media (min-width: 769px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    .project-card-featured {
        grid-column: 1 / -1;
    }
}

/* =============================================
   Contact Section
   ============================================= */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--blue-soft);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--blue-soft);
    font-weight: 500;
}

.contact-info-card a:hover {
    color: var(--navy);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.contact-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue-soft);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(108, 142, 191, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    grid-column: 1 / -1;
    margin-top: 8px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--blue-soft), var(--gold));
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-address {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a,
.footer-contact a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
    transition: all var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   Reveal Animations
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 100;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 24px;
        font-weight: 600;
        color: var(--navy);
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 80px;
        height: 1px;
    }

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

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

    .project-card-featured {
        grid-template-columns: 1fr;
    }

    .project-card-visual {
        padding: 24px;
    }

    .project-mockup {
        transform: none;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 64px 0;
    }
}

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

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .service-card {
        padding: 28px 22px;
    }

    .project-card-featured .project-card-content {
        padding: 28px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }
}

/* Form success state */
.form-success {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue-soft));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 15px;
}
