/* 
   ADRAS AJANS - Premium Digital Agency Website
   Theme: Dark, Minimal, High-End
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --bg-body: #050505;
    --bg-card: #0F0F0F;
    --bg-card-hover: #1A1A1A;

    --text-main: #FFFFFF;
    --text-muted: #A3A3A3;
    --text-dark: #666666;

    --accent: #3B82F6;
    /* A crisp digital blue for strategic accents */
    --accent-purple: #8b5cf6;
    /* Soft purple for ambient glow */
    --accent-hover: #60A5FA;
    --accent-glow: rgba(59, 130, 246, 0.4);

    --border-light: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease-out;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Process Numbers */
    --text-process-number: rgba(255, 255, 255, 0.2);
    --border-process-line: rgba(255, 255, 255, 0.3);
    --text-process-number-hover: rgba(255, 255, 255, 0.4);

    /* Theme Specifics */
    --bg-header-scroll: rgba(5, 5, 5, 0.8);
    --bg-cta: #080808;
    --bg-footer: #000000;

    --bg-input: #121212;
    --border-input: #333;
    /* Slightly lighter for visibility */
    --text-input: #fff;
    --bg-input-focus: #1a1a1a;

    --bg-btn-form: #161616;
    --bg-btn-form-hover: #222;
    --text-btn-form: #fff;
}

[data-theme="light"] {
    --bg-body: #FFFFFF;
    --bg-card: #F3F4F6;
    --bg-card-hover: #E5E7EB;

    --text-main: #111827;
    --text-muted: #4B5563;
    --text-dark: #9CA3AF;

    --border-light: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(0, 0, 0, 0.2);

    --accent-glow: rgba(59, 130, 246, 0.2);

    /* Light Theme Process Numbers */
    --text-process-number: rgba(0, 0, 0, 0.1);
    --border-process-line: rgba(0, 0, 0, 0.2);
    --text-process-number-hover: rgba(0, 0, 0, 0.3);

    /* Light Theme Specifics */
    --bg-header-scroll: rgba(255, 255, 255, 0.9);
    --bg-cta: #F9FAFB;
    --bg-footer: #F3F4F6;

    --bg-input: #FFFFFF;
    --border-input: #D1D5DB;
    --text-input: #111827;
    --bg-input-focus: #FFFFFF;

    --bg-btn-form: #1F2937;
    --bg-btn-form-hover: #111827;
    --text-btn-form: #FFFFFF;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-gradient {
    /* White to Blue gradient as requested */
    background: linear-gradient(90deg, #FFFFFF 20%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 0.2em;
    /* Prevent descender clipping */
}

.section-spacer {
    padding: 120px 0;
}

/* Typography Scale */
.h1-hero {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.3;
    /* Increased from 1.1 to fix clipping */
}

.h2-section {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.02em;
    /* Increased spacing to fix display issues */
    margin-bottom: 12px;
    /* Reduced from 24px */
}

.text-lead {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 40px;
    /* Added spacing from content */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-medium);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-body);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--text-main);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Hero Video Background */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for readability */
    z-index: 1;
}

.hero-content-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    /* Added padding-bottom to balance */
    margin-top: -40px;
    /* Shift up slightly */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s, background 0.3s, backdrop-filter 0.3s;
}

header.scrolled {
    padding: 15px 0;
    background: var(--bg-header-scroll);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

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

/* Logo Styles */
/* Logo Styles */
.logo-link {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 36px;
    /* Further reduced size */
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
    /* Ensure no bullets */
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Responsive Nav Toggle */
.menu-toggle {
    display: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

@media(max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-container nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 2000;
    }

    .nav-links {
        display: none;
        width: 100%;
        background: var(--bg-body);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links.active {
        display: flex;
    }
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Header height */
    position: relative;
    overflow: hidden;
}

/* Cookie Consent Notification */
.cookie-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 360px;
    max-width: 90%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    /* Hidden by default */
}

.cookie-notification.show {
    display: block;
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-title-sm {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.cookie-desc-sm {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cookie-actions .btn {
    flex: 1 1 auto;
    text-align: center;
}

.btn-text {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none !important;
    opacity: 0.8;
    transition: all 0.2s;
    padding: 6px 12px;
    border-radius: 6px;
}

.btn-text:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
    text-decoration: none !important;
}

/* Ensure buttons fit well */
.cookie-actions .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.hero-subhead {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

/* Trust Section (Marquee) */
.trust-section {
    padding: 15px 0;
    /* Reduced padding for tighter fit */
    /* Borders removed for seamless look */
    background: rgba(5, 5, 5, 0.4);
    /* More transparent */
    overflow: hidden;
    backdrop-filter: blur(10px);
    /* Optional: adds a nice glass effect */
    position: relative;
    z-index: 10;
}

.trust-title {
    display: none;
    /* Hide title styles just in case */
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    align-items: center;
    /* Vertically center items */
    height: 60px;
    /* Fixed height to match logos + small buffer */
}

.marquee-content {
    display: flex;
    gap: 80px;
    /* Increased gap slightly for larger logos */
    animation: scroll 75s linear infinite;
    min-width: 100%;
    align-items: center;
}

.logo-item {
    height: 50px;
    /* Increased from 40px */
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Stats Section */
.stats-section {
    padding: 20px 0 40px;
    /* Spacing around stats */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
}

.stats-divider {
    border: 0;
    height: 1px;
    background: var(--border-light);
    width: 100%;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* About Section */
/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Text gets slightly more space */
    gap: 60px;
    align-items: center;
    text-align: left;
    /* Reset alignment */
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-visual {
    background: transparent;
    height: auto;
    border-radius: 12px;
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-visual img {
    /* Constrain size as requested */
    max-height: 600px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about-visual:hover img {
    filter: grayscale(0%);
}

.about-visual::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.stat-item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.stat-number {
    font-family: 'Outfit';
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
}

/* Process Section Updates */
.process-step {
    position: relative;
    /* Removed padding-top, letting elements flow naturally */
    display: flex;
    flex-direction: column;
}

/* Remove old absolute line */
.process-step::before {
    display: none;
}

.step-number {
    font-family: 'Outfit';
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-process-number);

    /* Layout: Block flow with border as the line */
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-process-line);

    /* Reset absolute positioning */
    top: auto;
    left: auto;
    opacity: 1;
}

/* Highlight line on hover */
.process-step:hover .step-number {
    border-color: var(--accent);
    color: var(--text-process-number-hover);
    transition: all 0.3s ease;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    position: relative;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

.vertical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.vertical-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-card);
    cursor: pointer;
    display: block;
    aspect-ratio: 9/16;
    transition: transform 0.3s ease;
    border: 1px dashed var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.project-card:hover {
    transform: translateY(-5px);
    z-index: 2;
}

.project-media {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 12px;
}

/* Play Icon for Project Cards */
.project-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.project-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.project-card:hover .project-img,
.project-card:hover video {
    transform: scale(1.05);
}

.project-toggle-btn-wrapper {
    margin-top: 50px;
    text-align: center;
}

.hidden-project {
    display: none;
}

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Mobile Responsive for Projects */
@media (max-width: 992px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 576px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

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

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check-icon {
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}

/* Contact / CTA */
/* Contact / CTA (Split) */
.cta-section {
    background: var(--bg-cta);
    /* Variable background */
    padding: 80px 0;
    /* Reverted extra bottom padding */
    border-top: 1px solid var(--border-light);
}

.cta-section-alt {
    background: var(--bg-cta);
    /* Uses same variable as CTA for consistency */
}

.contact-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    /* Widened from 1000px */
    margin: 0 auto;
}

.contact-info-side {
    text-align: left;
    padding-right: 20px;
}

.contact-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.1;
}

.contact-sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
}

/* Contact Details Styling */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 4px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--accent);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.2rem;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Form Side */
.contact-form-side {
    width: 100%;
}

.form-group {
    margin-bottom: 12px;
    /* Compressed from 20px */
}

.form-input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: 6px;
    padding: 14px 16px;
    /* Reduced from 18px 20px */
    color: var(--text-input);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    /* Slight reduction for compactness */
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    /* Consistent focus color */
    background-color: var(--bg-input-focus);
}

textarea.form-input {
    min-height: 100px;
    /* Reduced from 140px */
    resize: vertical;
}

/* Dark Button for Form */
.btn-dark-form {
    width: 100%;
    background-color: var(--bg-btn-form);
    color: var(--text-btn-form);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-dark-form:hover {
    background-color: var(--bg-btn-form-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-split-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-footer);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-link {
    display: block;
    margin-bottom: 16px;
    width: fit-content;
}

.footer-logo {
    max-width: 180px;
    /* Constrain width */
    height: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
}

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

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.social-links a:hover {
    color: var(--accent) !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .h1-hero {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        /* Center on mobile */
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
    }

    .process-step::before {
        display: none;
        /* Hide top line on mobile */
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-col a[href^="mailto"] {
        word-break: break-all;
    }

    .article-container {
        padding: 0 20px;
    }
}

/* Blog Styles (Added from earlier context) */
.blog-hero-detail {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 60px;
    border-radius: 0 0 30px 30px;
    /* Optional rounded corners at bottom */
    overflow: hidden;
    margin-top: 80px;
    /* Space for fixed header */
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: left;
    /* Ensure text is left aligned */
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin: 40px 0 20px;
    font-family: 'Outfit', sans-serif;
    text-align: left;
    /* Left align headings */
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--text-main);
}

/* Layout Grid Helpers - Alternating Rows */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

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

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

@media (max-width: 576px) {

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