/* =========================================
   0. Typography (Self-Hosted Fonts)
   ========================================= */

@font-face {
    font-family: 'Inter';
    src: url('./assets/fonts/inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./assets/fonts/inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./assets/fonts/inter-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('./assets/fonts/outfit-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('./assets/fonts/outfit-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('./assets/fonts/outfit-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/*
Theme Name: North Calm Sea (NCS)
Theme URI: https://ncs-groups.com
Author: Antigravity
Description: A premium maritime theme for North Calm Sea shipping management, built with high coding standards.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ncs
*/

/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* =========================================
       TRUE NORTH PALETTE
       ========================================= */

    /* 1. Core Navy Tones */
    --color-navy-deep: #021B35;
    /* The Brand "Black" */
    --color-navy-blue: #003366;
    /* The Brand "Blue" */
    --color-navy-light: #005F99;
    /* Highlights */

    /* 2. Accent Colors */
    --color-safety-orange: #FF4500;
    --color-orange-hover: #E03E00;
    --color-gold: #C5A059;
    /* Premium Accents */

    /* 3. Neutrals */
    --color-white: #FFFFFF;
    --color-off-white: #F9FAFB;
    --color-grey-light: #F0F4F8;
    --color-grey-medium: #94A3B8;
    --color-text-main: #1E293B;

    /* 4. Functional Variables (Aliases) */
    --color-primary-dark: var(--color-navy-deep);
    --color-primary: var(--color-navy-blue);
    --color-accent: var(--color-safety-orange);
    --color-accent-hover: var(--color-orange-hover);

    --color-bg-white: var(--color-white);
    --color-bg-light: var(--color-grey-light);

    /* 5. Gradients */
    --gradient-ocean: linear-gradient(135deg, var(--color-navy-deep) 0%, #000B14 100%);
    --gradient-royal: linear-gradient(135deg, var(--color-navy-blue) 0%, var(--color-navy-deep) 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Layout */
    --container-width: 1240px;
    --header-height: 80px;
    --border-radius: 8px;
    --section-spacing: 7rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.7;
    /* Increased line-height for readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. Utility Classes
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.text-center {
    text-align: center;
}

.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.2rem;
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-bg-white);
    color: var(--color-bg-white);
}

.btn-outline:hover {
    background-color: var(--color-bg-white);
    color: var(--color-primary-dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* =========================================
   3. Header & Navigation (Premium Glass)
   ========================================= */
.top-bar {
    background-color: rgba(2, 27, 53, 0.9);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 1002;
    transition: all 0.4s ease;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.site-header .main-nav {
    background: rgba(255, 255, 255, 0.05);
    /* Ultra transparent initially */
    backdrop-filter: blur(0px);
    /* No blur initially for clean look */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled State (Sticky & Solid) */
.site-header.scrolled .main-nav,
.site-header .main-nav.scrolled {
    /* Fallback */
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(2, 27, 53, 0.95);
    /* Deep Navy Glass */
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: none;
    animation: slideDown 0.4s ease forwards;
}

.site-header.scrolled .top-bar {
    display: none;
    /* Hide top bar on scroll for cleaner look */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.logo .site-title {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--color-bg-white);
    /* White logo on hero */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: block;
    /* Ensure it behaves like a block/header even as a span */
}

.main-navigation ul {
    display: flex;
    gap: 3rem;
    margin: 0;
    align-items: center;
}

.main-navigation ul li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.main-navigation ul li a:hover {
    color: var(--color-accent);
}

.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item a::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-bg-white);
    cursor: pointer;
}

/* Button override for Header */
.site-header .btn {
    background: linear-gradient(45deg, var(--color-accent), #FF8C00);
    /* Gradient Orange */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.site-header .btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.6);
}

/* =========================================
   4. Hero Section (Cinematic)
   ========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    /* Full screen */
    display: flex;
    align-items: center;
    color: var(--color-bg-white);
    background-color: var(--color-primary-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/hero-ship.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
        background-position: center;
    }

    100% {
        transform: scale(1.15);
        background-position: center top;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Complex Gradient: Dark Navy bottom/left -> Transparent Top/Right */
    background: linear-gradient(45deg, rgba(2, 27, 53, 0.95) 0%, rgba(2, 27, 53, 0.8) 40%, rgba(0, 51, 102, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 6rem;
    /* Account for header */
}

.hero-content .subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 60px;
    animation: fadeInRight 1s ease-out 0.2s backwards;
}

.hero-content .subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
}

.hero-content h1 {
    font-size: 5rem;
    color: var(--color-bg-white);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-content h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-bg-white);
    opacity: 0.8;
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 650px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    border-left: 3px solid var(--color-accent);
    padding-left: 1.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.icon-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    z-index: 10;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

.icon-scroll::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 24px;
        opacity: 0;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================
   4. Section Standard Styles (Whitespace)
   ========================================= */
.section-padding {
    padding: var(--section-spacing) 0;
}

.section-header {
    margin-bottom: 4rem;
    /* More space below headers */
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* =========================================
   5. About Section (Premium)
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    height: 550px;
    border-radius: var(--border-radius);
    /* Removed default shadow for a more layered look */
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Decorative elements for About */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    border: 5px solid var(--color-accent);
    z-index: -1;
    opacity: 0.3;
    border-radius: var(--border-radius);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: repeating-linear-gradient(45deg,
            var(--color-bg-light),
            var(--color-bg-light) 10px,
            #e2e8f0 10px,
            #e2e8f0 20px);
    z-index: -1;
    border-radius: var(--border-radius);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--color-primary-dark);
}

.about-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

.check-list {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns for checklist */
    gap: 1.5rem;
}

.check-list li {
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.check-list li i {
    color: var(--color-accent);
    margin-right: 15px;
    font-size: 1.3rem;
    background: rgba(255, 69, 0, 0.1);
    padding: 8px;
    border-radius: 50%;
}

/* =========================================
   6. Services Section (Bento Grid)
   ========================================= */
.services-section-wrapper {
    background: var(--color-primary-dark);
    /* Uniform Dark Background */
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
    z-index: 1;
}

.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Span Classes */
.services-bento-grid .span-2 {
    grid-column: span 2;
}

.service-link {
    display: block;
    text-decoration: none;
}

/* Card Base */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Animated Bottom Stroke */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Icon Box */
.service-card .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

/* Fix Readability for Header */
.services-section-wrapper .section-header h2 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services-section-wrapper .section-header p {
    color: rgba(255, 255, 255, 0.9);
    /* Increased opacity */
    font-weight: 400;
}

/* Fix Readability for Service Cards */
.service-card h3 {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    /* Brighter grey */
    font-weight: 400;
}

/* Featured Horizontal Cards (Top Row) */
.service-card.featured-horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    padding: 2.5rem;
}

.featured-horizontal h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.featured-horizontal p {
    font-size: 1rem;
    /* Slightly larger */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 90%;
}

/* Standard Vertical Cards (Bottom Rows) */
.service-card:not(.featured-horizontal) h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    /* Space before text */
    color: #fff;
}

.service-card:not(.featured-horizontal) p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    /* Brighter */
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 90%;
}

/* Features List (Hidden on Homepage for cleaner look, or styled minimally) */
.service-features {
    display: none;
    /* Hide bullets on homepage grid for cleaner look */
}

/* New Arrow Style */
.service-link-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    transition: 0.3s;
}

.service-card:hover .service-link-arrow {
    color: #fff;
    transform: translateX(3px) translateY(-3px);
}

/* =========================================
   7. Team Section (Clean Profile)
   ========================================= */
/* =========================================
   8. Team Section (Clean Light)
   ========================================= */
.team-section {
    background-color: var(--color-grey-light);
    /* Standardized */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.member-img {
    height: 320px;
    background-color: #e0e0e0;
    background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Gradient Overlay on Image */
.member-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.team-card:nth-child(2) .member-img {
    background-image: url('https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?auto=format&fit=crop&q=80');
}

.team-card:nth-child(3) .member-img {
    background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80');
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
    color: var(--color-primary-dark);
}

.member-info .position {
    display: block;
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.member-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.position::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

/* =========================================
   8. Footer
   ========================================= */
/* =========================================
   8. Footer (Premium Chic)
   ========================================= */
.site-footer {
    background-color: #0b1120;
    /* Deepest Navy (almost black) */
    color: #94a3b8;
    /* Cool Grey Text */
    padding-top: 5rem;
    font-size: 0.95rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separation from content */
}

/* Elegant Top Highlight */
.site-footer::before {
    display: none;
    /* Remove harsh gradient bar */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    /* Optimized column widths */
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Clean Underline */
.footer-col h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
    margin-top: 0.8rem;
}

/* Links List */
.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact Items - Clean & Aligned */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    /* Divider between items */
}

.footer-contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.footer-contact-item i {
    color: var(--color-accent);
    font-size: 1.1rem;
    width: 25px;
    /* Fixed width for alignment */
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item span {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Social Icons (Minimalist) */
.social-icons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Floating Buttons Override */
.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-primary-dark);
    border: 2px solid var(--color-accent);
    opacity: 0;
    visibility: hidden;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.footer-contact-item span {
    flex: 1;
}

.social-icons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-white);
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =========================================
   9. Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-grid {
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* =========================================
   8. CTA Section (Premium Redesign)
   ========================================= */
.cta-section {
    position: relative;
    padding: 10rem 0;
    /* More breathing room */
    background-image: url('./images/hero-ship.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for contrast */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 27, 53, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* The Glass Card Container */
.cta-section .container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem;
    border-radius: 20px;
    max-width: 900px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    overflow: hidden;
}

/* Decorative Glow Line */
.cta-section .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    /* Gradient Text */
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 5;
}

/* Premium Buttons for CTA */
.btn-white {
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 69, 0, 0.4);
}

.cta-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* =========================================
   9. FAQ Section (Accordion)
   ========================================= */
/* =========================================
   9. FAQ Section (Clean Light)
   ========================================= */
.faq-section {
    background-color: #fff;
    padding-bottom: 6rem;
}

.faq-section::before {
    display: none;
    /* Remove dark orb */
}

.faq-section .section-header h2,
.faq-section .section-header p,
.faq-section .section-header .section-tag {
    color: var(--color-primary-dark);
    /* Back to dark text */
}

.faq-section .section-header .section-tag {
    color: var(--color-accent);
}

/* =========================================
   11. FAQ Section (Grid with Sidebox)
   ========================================= */
.faq-section {
    background-color: var(--color-bg-light);
}

.faq-wrapper-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Widened Right Column (Consultation Box) */
    gap: 4rem;
    /* Increased gap for better separation */
    align-items: start;
}

@media (max-width: 992px) {
    .faq-wrapper-grid {
        grid-template-columns: 1fr;
        /* Stack on tablet/mobile */
    }
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #fff;
    border: none;
    padding: 1.5rem 1.8rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    /* Visual interaction indicator */
}

.faq-question:hover {
    background: #fff;
    color: var(--color-accent);
}

.faq-question.active {
    background: #fff;
    color: var(--color-primary-dark);
    border-left-color: var(--color-accent);
    /* Active indicator */
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #cbd5e0;
}

.faq-question.active i {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-answer {
    padding: 0 1.8rem 1.5rem;
    /* Bottom padding included */
    display: none;
    /* JS handles display */
    color: #64748b;
    line-height: 1.8;
    background: #fff;
}


/* Consultation Form Card */
.consultation-form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 20, 50, 0.08);
    /* Premium Shadow */
    position: sticky;
    top: 100px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.consultation-form-card .card-header {
    margin-bottom: 2rem;
    text-align: center;
}

.consultation-form-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.consultation-form-card p {
    font-size: 0.95rem;
    color: #64748b;
}

.premium-form .form-row {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.premium-form .three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.premium-form .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
    transition: all 0.3s ease;
    outline: none;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    background: #fff;
    border-color: var(--color-navy-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.premium-form textarea {
    resize: vertical;
}

.premium-form .btn-block {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Form Responsive */
@media (max-width: 576px) {

    .premium-form .three-col,
    .premium-form .two-col {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .consultation-form-card {
        padding: 1.5rem;
        /* Less padding on mobile */
    }
}

/* =========================================
   10. Blog/News Section
   ========================================= */
/* =========================================
   10. Blog/News Section (Clean Modern)
   ========================================= */
.blog-section {
    background-color: #f9f9f9;
    /* Contrast to dark sections */
    position: relative;
    padding-bottom: 8rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.news-img {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    /* Switched to left */
    right: auto;
    background: var(--color-accent);
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
    z-index: 2;
}

.news-content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.news-content h3 a {
    color: var(--color-primary-dark);
    transition: color 0.2s;
    background: linear-gradient(to right, var(--color-accent) 0%, var(--color-accent) 100%);
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s;
    padding-bottom: 2px;
}

.news-content h3 a:hover {
    color: var(--color-primary-dark);
    background-size: 100% 2px;
}

.news-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.read-more {
    margin-top: auto;
    /* Push to bottom */
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.read-more:hover {
    transform: translateX(5px);
    color: var(--color-accent);
}


/* =========================================
   11. Floating Buttons
   ========================================= */
.floating-btn {
    position: fixed;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 1.5rem;
}

.scroll-top {
    bottom: 30px;
    background-color: var(--color-primary);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.whatsapp-float {
    bottom: 90px;
    /* Above scroll-top */
    background-color: #25D366;
    /* WhatsApp Brand Color */
    transform: scale(1);
    left: 30px;
    /* Move to left side as requested "سمت چ" */
    right: auto;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Keep scroll-to-top on right, but make WA left */
.whatsapp-float {
    left: 30px;
    right: auto;
    bottom: 30px;
    /* Align with scroll top vertically, but opposite side */
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-features-list {
    color: white;
}

/* =========================================
   12. Testimonials (Premium Dark)
   ========================================= */
.testimonials-section {
    background-color: var(--color-primary-dark);
    /* Exact match to Services */
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    /* Reduced top padding for flow */
    border-top: none;
    /* Seamless merge */
}

/* Continue the Ocean Gradient visually via pseudo-element or just use the same base */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle Pattern only, no heavy gradient clash */
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, transparent 1px, transparent 50px);
    pointer-events: none;
}

.testimonials-section .section-header h2 {
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding-top: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    /* Dark Glass */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Featured Card (Center) Pop */
.testimonial-card.featured {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.quote-icon {
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: serif;
}

.client-rating {
    margin-bottom: 1.5rem;
    color: #FFD700;
    /* Gold */
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.client-meta {
    display: flex;
    align-items: center;
}

.client-meta img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-accent);
    margin-right: 1.2rem;
    object-fit: cover;
}

.client-info h4 {
    color: #fff;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.client-info span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .testimonial-card.featured {
        transform: scale(1);
        /* Reset scale on mobile */
    }
}

/* =========================================
   13. Global Page Header (Premium)
   ========================================= */
.page-header-section {
    background-color: var(--color-primary-dark);
    color: var(--color-bg-white);
    padding: 10rem 0 6rem;
    /* Taller header */
    background-image:
        linear-gradient(135deg, rgba(2, 27, 53, 0.95) 0%, rgba(0, 51, 102, 0.85) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Abstract pattern overlay */
.page-header-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.page-header-section .container {
    position: relative;
    z-index: 2;
}

.page-header-section h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-header-section .page-intro p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Contact Form Premium Glass */
.contact-form-area {
    padding: 3rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8) !important;
    /* Override light bg if present */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* =========================================
   12. Premium Footer
   ========================================= */
.site-footer-premium {
    background-color: #0b1120;
    /* Extremely dark navy/black */
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

/* --- Top CTA Bar --- */
.footer-top-cta {
    background: var(--color-accet);
    /* Fallback */
    background: linear-gradient(90deg, var(--color-accent) 0%, #ff6b3d 100%);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cta-text h3 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-text p {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.footer-top-cta .btn {
    background: #fff;
    color: var(--color-accent);
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
}

.footer-top-cta .btn:hover {
    background: #000;
    color: #fff;
}

/* --- Main Footer Area --- */
.footer-main {
    padding: 5rem 0 3rem;
    position: relative;
}

/* Watermark */
.footer-bg-watermark {
    position: absolute;
    bottom: -50px;
    right: 5%;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

/* Brand Column */
.footer-logo {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.footer-logo span {
    color: var(--color-accent);
}

.brand-desc {
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #94a3b8;
    max-width: 300px;
}

/* Social Icons Premium */
.social-links-premium {
    display: flex;
    gap: 10px;
}

.social-links-premium a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links-premium a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
    border-color: var(--color-accent);
}

/* Headings */
.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

/* Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

/* Contact Rows */
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: #cbd5e1;
}

.contact-row i {
    color: var(--color-accent);
    margin-top: 5px;
}

/* --- Bottom Bar --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.bottom-flex p {
    margin: 0;
    color: #64748b;
}

.bottom-flex strong {
    color: #fff;
}

.bottom-links a {
    color: #64748b;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.bottom-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bg-watermark {
        font-size: 10rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-flex {
        flex-direction: column;
        text-align: center;
    }

    .bottom-flex {
        flex-direction: column;
        text-align: center;
    }

    .bottom-links a {
        margin: 0 10px;
    }
}

/* =========================================
   14. Services Extra (Process & Premium CTA)
   ========================================= */
.process-section {
    position: relative;
    background-color: var(--color-bg-white);
    z-index: 1;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    /* Subtle background number */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: -1;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    color: rgba(255, 69, 0, 0.1);
    transform: translateX(-50%) scale(1.2);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary-dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(2, 27, 53, 0.2);
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
}

/* Connector Line (Desktop Only) */
@media (min-width: 1024px) {
    .process-step::after {
        content: '';
        position: absolute;
        top: 40px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: repeating-linear-gradient(90deg, #ddd 0, #ddd 6px, transparent 6px, transparent 12px);
        z-index: 0;
    }

    .process-step:last-child::after {
        display: none;
    }
}

/* Premium CTA */
/* =========================================
   Ultra-Premium CTA (Uniform Dark)
   ========================================= */
.cta-premium {
    background-color: var(--color-primary-dark);
    /* Exact match */
    position: relative;
    padding: 8rem 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No shadow or elevation, just flat seamless continuation */
    z-index: 1;
    /* Elevate above */
}

@keyframes oceanGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Background mesh pattern for texture continuity */
.cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* Glowing Orbs */
.cta-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* The Glass Card Container */
.cta-premium .container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    /* Ultra transparent white */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    padding: 5rem 3rem;
    max-width: 960px;
    overflow: hidden;
}

/* Shine effect on card */
.cta-premium .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    animation: shineCard 6s infinite;
}

@keyframes shineCard {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.cta-premium h2 {
    color: #fff;
    font-size: 3.5rem;
    /* Larger */
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-premium p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Mobile adjustments included in responsive section later */

/* =========================================
   15. Responsive Design (Mobile First)
   ========================================= */

/* Tablet (Portrait) and Mobile Landscape */
@media (max-width: 1024px) {
    :root {
        --font-heading: 'Outfit', sans-serif;
        --font-body: 'Inter', system-ui, -apple-system, sans-serif;

        --section-spacing: 5rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        height: 400px;
        order: -1;
        /* Image on top */
    }

    .team-grid,
    .services-grid,
    .process-grid,
    .check-list {
        grid-template-columns: 1fr;
        /* Stack everything */
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    :root {
        --font-heading: 'Outfit', sans-serif;
        --font-body: 'Inter', system-ui, -apple-system, sans-serif;

        --container-width: 100%;
        --header-height: 70px;
        --section-spacing: 4rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Typography Scaling */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    body {
        font-size: 0.95rem;
        /* Slightly smaller body text */
    }

    /* Header & Navigation */
    .top-bar {
        display: none;
        /* Hide top bar details on mobile to save space */
    }

    .menu-toggle {
        display: block;
        /* Show Hamburger */
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .main-navigation ul {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 70px;
        /* Below header */
        left: 0;
        width: 100%;
        background: rgba(2, 27, 53, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .main-navigation.toggled ul {
        display: flex;
        /* Show when toggled */
        animation: slideDownMenu 0.3s ease forwards;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-navigation ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .header-actions {
        display: none;
        /* Hide standard CTA button in header, rely on menu or page CTA */
    }

    /* Hero adjustments */
    .hero-content {
        padding-top: 3rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-content .subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
        padding-left: 0;
        margin-bottom: 1rem;
        display: block;
    }

    .hero-content .subtitle::before {
        display: none;
    }

    .hero-content p {
        font-size: 1rem;
        border-left: none;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-lg {
        width: 100%;
        padding: 1rem;
    }

    /* Services & Cards */
    .services-grid {
        grid-template-columns: 1fr;
        /* Force single column */
    }

    .service-card {
        padding: 2rem;
    }

    .service-card:hover {
        transform: none;
        /* Disable shift */
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Floating Buttons */
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .whatsapp-float {
        left: 20px;
        bottom: 20px;
    }

    .scroll-top {
        right: 20px;
        bottom: 20px;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }
}

/* =========================================
   17. Premium Contact Page
   ========================================= */
.page-header-premium {
    background: var(--color-primary-dark);
    padding: 10rem 0 7rem;
    text-align: center;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.page-header-premium .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker radial overlay for text punch-through */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-header-premium h1 {
    color: #fff !important;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.page-header-premium .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

@media (max-width: 992px) {
    .contact-grid-premium {
        grid-template-columns: 1fr;
    }
}

.contact-info-panel .panel-header {
    margin-bottom: 3rem;
}

.info-card-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.info-card .icon-box {
    width: 50px;
    height: 50px;
    background: #f0f4f8;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 10px;
    margin-right: 1.5rem;
    transition: 0.3s;
}

.info-card:hover .icon-box {
    background: var(--color-accent);
    color: #fff;
}

.info-card h4 {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0.3rem;
}

.info-card p,
.contact-link {
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    line-height: 1.5;
}

.contact-link.highlight {
    color: var(--color-accent);
}

/* Right Panel */
.form-card {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.form-card h3 {
    margin-bottom: 2rem;
}

.map-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #fff;
}

/* =========================================
   11. Blog & Archive Logic
   ========================================= */

/* Featured Articles Grid */
.featured-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.featured-article-card {
    height: 400px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.featured-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.featured-article-card .featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.featured-article-card:hover .featured-bg {
    transform: scale(1.05);
}

.featured-article-card .featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
}

.featured-article-card .featured-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}

.featured-article-card .meta-tag {
    background: var(--color-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.featured-article-card h3 {
    margin: 0.5rem 0 1.5rem;
}

.featured-article-card h3 a {
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    line-height: 1.3;
}

.btn-text-white {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

/* Spacer */
.spacer-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 3rem 0;
}

/* Section Title Simple */
.section-title-simple {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title-simple h3 {
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    margin: 0;
}

.section-title-simple .line {
    height: 2px;
    background: var(--color-accent);
    width: 50px;
    display: block;
}

/* Standard News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.news-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: var(--color-primary-dark);
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-list {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
}

.category-list a {
    color: inherit;
    text-decoration: none;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-content h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.news-content h3 a:hover {
    color: var(--color-primary-dark);
}

.read-more-link {
    margin-top: auto;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Pagination Wrapper */
.pagination-wrapper {
    margin-top: 4rem;
    text-align: center;
}

@media (max-width: 992px) {
    .featured-articles-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .featured-article-card {
        height: 300px;
    }

    .featured-article-card h3 a {
        font-size: 1.4rem;
    }
}

/* =========================================
   18. Portfolio Section
   ========================================= */
.portfolio-section {
    background-color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
    opacity: 0.6;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: all 0.3s ease;
}

.overlay-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.overlay-content .btn-text {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: inline-block;
}

.portfolio-card:hover .overlay-content h3 {
    transform: translateY(0);
}

.portfolio-card:hover .overlay-content .btn-text {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   19. Trusted Partners Section
   ========================================= */
.partners-section {
    background-color: var(--color-grey-light);
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-grid-wrapper {
    overflow-x: auto;
    padding-bottom: 1rem;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    font-size: 1.5rem;
    color: #9ca3af;
    /* Muted grey */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-logo i {
    font-size: 2rem;
}

.partner-logo:hover {
    color: var(--color-primary-dark);
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        gap: 2rem;
        justify-content: space-around;
    }

    .partner-logo {
        font-size: 1.2rem;
    }
}

.relative-z {
    position: relative;
    z-index: 10;
}




/* =========================================
   BREADCRUMBS SYSTEM
   ========================================= */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--color-grey-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--color-accent);
}

.breadcrumbs .sep {
    opacity: 0.3;
}

.breadcrumbs .current {
    color: var(--color-text-main);
    font-weight: 600;
}

/* Header Integration */
.page-header-premium .breadcrumbs {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    padding: 0;
}

.page-header-premium .breadcrumbs a {
    color: #fff;
}

.page-header-premium .breadcrumbs a:hover {
    color: var(--color-accent);
}

.page-header-premium .breadcrumbs .current {
    color: var(--color-accent);
    opacity: 1;
}

/* =========================================
   PORTFOLIO ARCHIVE (Relocated)
   ========================================= */
.portfolio-grid-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.portfolio-card.archive-card {
    height: 420px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.portfolio-card.archive-card .portfolio-image {
    height: 320px;
    position: relative;
}

.portfolio-card-body {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-card-body .cat-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    font-weight: 700;
}

/* ==========================================================================
   ULTRA-PREMIUM MOBILE RESPONSIVENESS OVERHAUL
   ========================================================================== */

@media (max-width: 968px) {

    /* Global Section Spacing */
    .section-padding {
        padding: 4rem 0 !important;
    }

    /* Typography Overhaul */
    h1 {
        font-size: 2.8rem !important;
        line-height: 1.1;
    }

    h2 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.6rem !important;
    }

    /* Container Tweaks */
    .container {
        padding: 0 1.5rem;
    }

    /* Global Navigation Redesign for Mobile */
    .top-bar {
        display: none;
    }

    /* Hide clutter on mobile */
    .site-header {
        position: sticky;
        top: 0;
        background: rgba(2, 27, 53, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    }

    .main-navigation ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(2, 27, 53, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
    }

    .main-navigation ul li a {
        color: white !important;
        width: 100%;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-navigation.toggled ul {
        transform: translateY(0);
    }

    .header-actions {
        display: none;
    }

    /* Hide on mobile to focus on hamburger */

    /* Hero Section (Bento Overdraw) */
    .hero-section {
        height: auto !important;
        padding: 6rem 0 3rem !important;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 3.2rem !important;
    }

    .hero-btns {
        justify-content: center;
    }

    .menu-toggle {
        display: block !important;
        color: white !important;
        position: relative;
        z-index: 1001;
        cursor: pointer;
    }

    /* Bento Grid Logic - Stack everything on mobile */
    .bento-grid,
    .services-bento-grid,
    .footer-grid,
    .about-grid-premium {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .span-2 {
        grid-column: auto !important;
    }

    .featured-horizontal {
        flex-direction: column !important;
    }

    /* Stats Section */
    .stats-section .container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .stat-item {
        border: none !important;
    }

    /* About & Sections with Images */
    .about-image-premium,
    .mission-img {
        margin-top: 2rem;
    }

    .image-experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 1rem;
    }

    .image-experience-badge .years {
        font-size: 1.5rem;
    }

    /* Specialized Post Grids */
    .news-grid,
    .portfolio-grid-archive,
    .team-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer Overhaul */
    .footer-main {
        padding: 4rem 0 2rem !important;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 2rem;
    }

    .brand-desc {
        text-align: center;
    }

    .social-links-premium {
        justify-content: center;
        margin-bottom: 3rem;
    }

    .footer-col h3 {
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 10px;
    }

    .footer-links {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .contact-col .contact-row {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {

    /* Critical Mobile Optimizations */
    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-section {
        min-height: 80vh;
        display: flex;
        align-items: center;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 2px;
    }

    /* Card Padding Improvements */
    .service-card,
    .news-card,
    .team-card,
    .contact-info-panel,
    .form-card {
        padding: 1.5rem !important;
    }

    /* FAQ Section */
    .faq-question h3 {
        font-size: 1rem;
    }

    /* Floating Buttons Overlap Fix */
    #scrollToTop {
        bottom: 80px;
        right: 20px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

/* Touch-Specific Enhancements */
@media (hover: none) {
    .service-card:hover {
        transform: translateY(-5px) !important;
    }

    .news-img img:hover {
        transform: none !important;
    }
}

/* ==========================================================================
   SERVICES SECTION MOBILE REFINEMENT
   ========================================================================== */

@media (max-width: 968px) {
    .services-bento-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .service-card.featured-horizontal {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 2rem !important;
    }

    .featured-horizontal .icon-wrapper {
        margin-right: 0 !important;
        margin-bottom: 1.5rem !important;
    }

    .featured-horizontal p {
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .service-card {
        height: auto !important;
        min-height: 250px;
        justify-content: flex-start !important;
    }

    .service-card .icon-box {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .service-card h3 {
        text-align: center !important;
    }

    .service-card p {
        text-align: center !important;
        max-width: 100% !important;
    }

    .service-link-arrow {
        display: none !important;
        /* Hide floating arrow on mobile to reduce clutter */
    }

    /* Services Page Process Grid */
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .process-step::after {
        display: none !important;
        /* Hide arrows between steps on mobile */
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem !important;
    }

    .service-card h3 {
        font-size: 1.2rem !important;
    }
}

/* ==========================================================================
   FINAL POLISH FOR SERVICES RESPONSIVE
   ========================================================================== */

@media (max-width: 968px) {

    /* Bento Grid Stack */
    .services-bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .service-link.span-2,
    .service-card.span-2 {
        grid-column: auto !important;
        width: 100% !important;
    }

    /* Featured Card Stack Fix */
    .service-card.featured-horizontal {
        flex-direction: column !important;
        padding: 2.5rem 1.5rem !important;
        align-items: center !important;
        text-align: center !important;
    }

    .featured-horizontal .icon-wrapper {
        margin-right: 0 !important;
        margin-bottom: 1.5rem !important;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .featured-horizontal .card-content {
        width: 100% !important;
    }

    .featured-horizontal .service-features-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin-top: 1.5rem;
    }

    .featured-horizontal .service-features-list li {
        text-align: center;
        justify-content: center;
    }

    /* Process Grid Fix (Services Page) */
    .process-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
        padding: 0 1rem;
    }

    .process-step {
        text-align: center !important;
        padding: 2rem !important;
        background: white;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .process-step .step-icon {
        margin: 0 auto 1.5rem !important;
    }

    .process-step .step-number {
        position: static !important;
        margin-bottom: 1rem;
        display: inline-block;
    }

    /* About Section Grid (Homepage) */
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 3rem !important;
    }

    .about-image {
        order: 2;
        /* Image below text on mobile for better flow */
    }

    .about-text {
        order: 1;
        text-align: center;
    }

    .check-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .services-section-wrapper .section-header h2 {
        font-size: 1.8rem !important;
    }

    .service-card h3 {
        font-size: 1.3rem !important;
    }

    .service-card p {
        font-size: 0.95rem !important;
    }
}