/* ==========================================================================
   PMG Metals L.L.C - Stylesheet
   ========================================================================== */

/* --- Custom Properties / Design System --- */
:root {
    /* Color Palette */
    --clr-bg-dark: #0f172a;       /* Deep slate/navy background */
    --clr-bg-card-dark: #1e293b;  /* Slate dark card */
    --clr-bg-card-light: #ffffff; /* White card */
    --clr-bg-light: #f8fafc;      /* Very soft gray */
    
    --clr-primary: #0284c7;       /* Metallic blue */
    --clr-primary-hover: #0369a1;
    --clr-accent: #00d2ff;        /* Neon highlight blue */
    
    --clr-text-dark: #0f172a;     /* Off-black text */
    --clr-text-light: #f8fafc;    /* Off-white text */
    --clr-text-muted: #64748b;    /* Cool gray muted text */
    
    --clr-border: #e2e8f0;        /* Light borders */
    --clr-border-dark: #334155;   /* Dark borders */
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
    --grad-dark-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
    --grad-blue-glow: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(2, 132, 199, 0) 70%);

    /* Typography */
    --ff-heading: 'Outfit', sans-serif;
    --ff-body: 'Inter', sans-serif;
    
    /* Layout & Shadows */
    --max-width: 1200px;
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(2, 132, 199, 0.1), 0 10px 10px -5px rgba(2, 132, 199, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-circle: 50%;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    background-color: var(--clr-bg-light);
    color: var(--clr-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

iframe {
    display: block;
}

/* --- Common Components & Layouts --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.sub-title {
    font-family: var(-- ff-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--clr-primary);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--clr-bg-dark);
    margin-bottom: 1rem;
}

.section-header .divider {
    height: 4px;
    width: 60px;
    background: var(--grad-primary);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

.section-desc {
    color: var(--clr-text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--ff-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--clr-text-light);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

.btn-secondary {
    background-color: var(--clr-bg-card-dark);
    color: var(--clr-text-light);
    border-color: var(--clr-border-dark);
}

.btn-secondary:hover {
    background-color: #2e3e56;
    transform: translateY(-2px);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--clr-text-light);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
}

.main-header.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 2px 8px rgba(0, 210, 255, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--ff-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--clr-text-light);
    line-height: 1.1;
}

.logo-sub {
    font-family: var(--ff-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-accent);
    letter-spacing: 2px;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 2.25rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--clr-text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-fast);
}

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

.contact-cta-btn .btn {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition-fast);
    background-color: var(--clr-text-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 180px 0 140px 0;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--clr-text-light);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-dark-overlay);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-tagline {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid rgba(2, 132, 199, 0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s ease;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1.4s ease;
}

/* Wave Divider */
.hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-waves .shape-fill {
    fill: var(--clr-bg-light);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Intro Stats Section
   ========================================================================== */
.intro-stats {
    padding: 0;
    position: relative;
    z-index: 3;
    margin-top: -50px;
}

.stat-card {
    background-color: var(--clr-bg-card-light);
    padding: 2.25rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--clr-primary);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--clr-primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    transition: var(--transition-fast);
}

.stat-card:hover .stat-icon {
    background: var(--grad-primary);
    color: var(--clr-text-light);
}

.stat-card h3 {
    font-size: 1.25rem;
    color: var(--clr-bg-dark);
    margin-bottom: 0.75rem;
}

.stat-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--clr-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--clr-primary);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    color: var(--clr-primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.value-info h4 {
    font-size: 1.05rem;
    color: var(--clr-bg-dark);
    margin-bottom: 0.25rem;
}

.value-info p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-bottom: 0;
}

/* Industrial Badge Visual */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-bg-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--grad-blue-glow);
    border-radius: var(--radius-circle);
    filter: blur(20px);
    z-index: 1;
}

.industrial-badge {
    position: relative;
    z-index: 2;
    background: radial-gradient(100% 100% at 0% 0%, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 2px solid var(--clr-border-dark);
    box-shadow: var(--shadow-premium), inset 0 0 20px rgba(0, 210, 255, 0.1);
    border-radius: var(--radius-lg);
    width: 280px;
    padding: 2.5rem;
    text-align: center;
    color: var(--clr-text-light);
    backdrop-filter: blur(8px);
}

.badge-header {
    margin-bottom: 1.5rem;
}

.badge-logo-icon {
    font-size: 3rem;
    color: var(--clr-accent);
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5));
    animation: rotateGear 12s linear infinite;
}

@keyframes rotateGear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.badge-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
}

.badge-content {
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--clr-border-dark);
    border-bottom: 1px solid var(--clr-border-dark);
    padding: 1rem 0;
}

.badge-highlight {
    font-family: var(--ff-heading);
    font-weight: 700;
    color: var(--clr-accent);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.badge-details {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.badge-footer {
    display: inline-block;
    background-color: var(--clr-primary);
    font-family: var(--ff-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.services-grid .service-card {
    grid-column: span 2;
}

@media (min-width: 992px) {
    .services-grid .service-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .services-grid .service-card {
        grid-column: span 2;
    }
    .services-grid .service-card:nth-child(5) {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-grid .service-card {
        grid-column: span 1 !important;
    }
}


.service-card {
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-fast);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(2, 132, 199, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--grad-primary);
    color: var(--clr-text-light);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--clr-bg-dark);
    margin-bottom: 0.85rem;
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    font-family: var(--ff-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

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

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-section {
    padding: 100px 0;
    background-color: var(--clr-bg-light);
}

.why-grid {
    align-items: start;
    margin-top: 1.5rem;
}

.why-item {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.why-item:hover {
    box-shadow: var(--shadow-md);
}

.why-icon-box {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(0, 210, 255, 0.1) 100%);
    color: var(--clr-primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-content h3 {
    font-size: 1.15rem;
    color: var(--clr-bg-dark);
    margin-bottom: 0.5rem;
}

.why-content p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    padding: 5rem 0;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--clr-text-light);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(2, 132, 199, 0.8) 100%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-text h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-button {
    flex-shrink: 0;
}

.cta-button .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: var(--clr-bg-dark);
    border-color: var(--clr-border-dark);
}

.cta-button .btn:hover {
    background-color: #1a263d;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

/* Info Cards Panel */
.info-card-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-card {
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: rgba(2, 132, 199, 0.08);
    color: var(--clr-primary);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-details h3 {
    font-size: 1rem;
    color: var(--clr-bg-dark);
    margin-bottom: 0.25rem;
}

.info-details p {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-bottom: 0;
}

.info-details a:hover {
    color: var(--clr-primary);
}

/* Maps */
.map-container {
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-header {
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-bg-dark);
}

.map-placeholder {
    height: 280px;
}

/* Contact Form Panel */
.contact-form-panel {
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.contact-form-panel h3 {
    font-size: 1.5rem;
    color: var(--clr-bg-dark);
    margin-bottom: 0.5rem;
}

.form-intro {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-family: var(--ff-heading);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--clr-bg-dark);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 2.75rem;
    font-family: var(--ff-body);
    font-size: 0.9rem;
    background-color: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    color: var(--clr-text-dark);
    transition: var(--transition-fast);
    outline: none;
}

.modern-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1rem;
}

.modern-form textarea {
    padding: 0.85rem 1.25rem;
    resize: vertical;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-status {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
    border-top: 1px solid var(--clr-border-dark);
}

.footer-top {
    padding: 5rem 0 3rem 0;
}

.footer-col h3 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--clr-primary);
}

.about-col .footer-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.85rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-circle);
    background-color: var(--clr-bg-card-dark);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid var(--clr-border-dark);
}

.social-link:hover {
    background: var(--grad-primary);
    color: var(--clr-text-light);
    transform: translateY(-2px);
    border-color: transparent;
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.links-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.links-col a i {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.links-col a:hover {
    color: var(--clr-accent);
}

.links-col a:hover i {
    transform: translateX(3px);
}

.contact-col .contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    align-items: start;
}

.contact-list li i {
    color: var(--clr-primary);
    margin-top: 0.25rem;
    font-size: 1rem;
}

.contact-list a:hover {
    color: var(--clr-accent);
}

.footer-bottom {
    background-color: #0b101d;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Base typography scaling */
    html {
        font-size: 15px;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Header & Mobile Navigation */
    .contact-cta-btn {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--clr-bg-dark);
        border-top: 1px solid var(--clr-border-dark);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    /* Hero */
    .hero-section {
        padding: 140px 0 100px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Stat cards alignment overlap adjustment */
    .intro-stats {
        margin-top: -30px;
    }
    
    /* About */
    .about-visual {
        order: -1;
        margin-bottom: 1.5rem;
    }
    
    /* CTA */
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    /* Contact */
    .info-card-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 2rem;
    }
    
    /* Footer */
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.1rem;
    }
}
