/* ========================================
   ALPINE SUPPLY GROUP - Modern CSS
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-hover: #ff6b6b;
    --text-dark: #1a1a2e;
    --text-light: #5a5a7a;
    --text-lighter: #8a8aa0;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0f0f23;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.15);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVIGATION - DARK MENU
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.logo-img {
    width: auto;
    max-height: 70px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ========================================
   SECTION NAVIGATION ARROWS
   ======================================== */
.section-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 999;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    color: var(--text-dark);
}

.nav-arrow:hover {
    background: var(--accent);
    color: var(--bg-white);
    transform: scale(1.1);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow:disabled:hover {
    background: var(--bg-white);
    color: var(--text-dark);
    transform: none;
}

.nav-dots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--text-light);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.nav-dot:hover {
    border-color: var(--accent);
}

.nav-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

/* ========================================
   HERO SECTION - NEW DESIGN
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-white);
    padding: 0 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f5f6f8 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(233, 69, 96, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(233, 69, 96, 0.03) 0%, transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 80px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-left {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-badge span:last-child {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.title-line {
    color: var(--text-dark);
    display: block;
}

.title-line.accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,0.1);
}

/* Hero Right - Visual Cards */
.hero-right {
    position: relative;
    height: 500px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-card {
    position: absolute;
    background: var(--bg-white);
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.visual-card .card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(233,69,96,0.1) 0%, rgba(233,69,96,0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.visual-card .card-icon svg {
    color: var(--accent);
}

.visual-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.visual-card p {
    font-size: 0.75rem;
    color: var(--text-light);
}

.card-1 {
    top: 20px;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.card-3 {
    bottom: 40px;
    right: 20px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-2 {
    animation: float2 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 10px)); }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid rgba(26,26,46,0.2);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.btn-full {
    width: 100%;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-tag.light {
    color: rgba(255,255,255,0.7);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--bg-white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

.section-header.centered .section-desc {
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--bg-white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-left {
    position: sticky;
    top: 120px;
}

.about-text-block {
    margin-bottom: 32px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}

.about-info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(233, 69, 96, 0.15);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(233,69,96,0.1) 0%, rgba(233,69,96,0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon svg {
    color: var(--accent);
}

.info-card-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.info-card-content p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.about-right {
    position: relative;
}

.about-main-card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.main-card-header {
    margin-bottom: 24px;
}

.main-card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgba(233, 69, 96, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
}

.main-card-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.main-card-text:last-of-type {
    margin-bottom: 28px;
}

.main-card-philosophy {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(233, 69, 96, 0.15);
}

.philosophy-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.philosophy-header svg {
    color: var(--accent);
}

.philosophy-header span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-card-philosophy p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.08;
    line-height: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(233,69,96,0.1) 0%, rgba(233,69,96,0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    color: var(--accent);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.3;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.85rem;
}

.service-link a span {
    transition: var(--transition-fast);
}

.service-link a:hover span {
    transform: translateX(5px);
}

/* ========================================
   CAPABILITIES SECTION
   ======================================== */
.capabilities-section {
    background: var(--bg-dark);
    overflow: hidden;
}

.capabilities-bg {
    position: absolute;
    inset: 0;
}

.capabilities-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 0% 100%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(22, 33, 62, 0.5) 0%, transparent 50%);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.capabilities-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.philosophy-box {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.2);
    padding: 28px;
    border-radius: 16px;
}

.philosophy-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 10px;
}

.philosophy-box p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.capability-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 400px;
}

.cap-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.cap-img:hover img {
    transform: scale(1.05);
}

.cap-img-1 {
    grid-row: span 2;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 22px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.contact-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-color: rgba(233, 69, 96, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--bg-white);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-lighter);
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-value.address {
    font-size: 0.85rem;
    line-height: 1.6;
}

a.contact-value:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-lighter);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER - MODERN CORPORATE
   ======================================== */
.footer {
    background: var(--bg-dark);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: auto;
    max-height: 50px;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 0.5px;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}

.footer-contact-list a {
    color: rgba(255,255,255,0.5);
}

.footer-contact-list a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
}

.footer-bottom-links a:hover {
    color: rgba(255,255,255,0.7);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 40px;
    }
    
    .hero-left {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-right {
        height: 350px;
    }
    
    .hero-image-wrapper {
        width: 240px;
        height: 300px;
    }
    
    .visual-card {
        display: none;
    }
    
    .about-layout,
    .capabilities-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .capability-image-grid {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand-col {
        grid-column: span 2;
    }
    
    .section-nav {
        right: 15px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        color: var(--text-dark);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .section {
        padding: 80px 0;
    }

    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-right {
        display: none;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-left {
        position: relative;
        top: auto;
    }

    .about-cards-grid {
        grid-template-columns: 1fr;
    }

    .about-main-card {
        padding: 30px;
    }

    .service-card {
        padding: 30px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand-col {
        grid-column: span 1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-nav {
        position: fixed;
        right: 10px;
        top: auto;
        bottom: 30px;
        transform: none;
        flex-direction: row;
        background: var(--bg-white);
        padding: 10px 15px;
        border-radius: 30px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-dots {
        flex-direction: row;
        gap: 8px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .capability-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .cap-img-1 {
        grid-row: span 1;
    }

    .cap-img {
        height: 200px;
    }
}
