/*
Theme Name: Unicorn Digital Theme
Theme URI: https://unicorndigital.com.ng
Author: Opeyemi Oladejobi Akinkunmi
Author URI: https://ezeroandone.io
Description: Custom high-performance landing page theme for Unicorn Digital. Developed by eZeroAndOne.io
Version: 1.1.7
Text Domain: unicorn-digital
*/

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Brand Colors (Profile Style) */
    --primary-color: #FF6B35;
    /* Orange Accent */
    --primary-hover: #e55a2b;
    --secondary-color: #16213E;
    /* Dark Navy */
    --accent-blue: #00D2FF;

    /* Backgrounds - Light & Airy */
    --bg-color: #FFFFFF;
    --bg-alt: #F9FAFB;
    /* Slightly cooler gray */
    --bg-card: #FFFFFF;

    /* Text */
    --text-main: #1A202C;
    /* Near Black */
    --text-muted: #4A5568;
    /* Slate 600 - Darker for readability */
    --border-color: #E2E8F0;
    /* Slate 200 */

    /* Typography */
    --font-primary: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    /* Wider container */
    --header-height: 90px;
    --section-padding: 8rem;
    /* More breathing room */

    /* Effects */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 4px 20px rgba(255, 107, 53, 0.25);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), #FF8F66);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(255, 107, 53, 0.39);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.23);
}

.btn-primary[style*="background: #fff"] {
    background: var(--primary-color) !important;
    color: white !important;
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px 0 rgba(255, 107, 53, 0.39);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 700;
    padding: 0;
    border: none;
    background: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    gap: 0.8rem;
    color: var(--primary-hover);
}

.btn-lg {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
}

/* Section Styling */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-header {
    margin-bottom: 5rem;
    text-align: center;
}

.section-subtitle {
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
    letter-spacing: -0.03em;
    /* Tighter heading tracking */
}

.section-description {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    line-height: 1.75;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-3 {
    margin-top: 2rem;
}

.d-none {
    display: none;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* =========================================
   3. HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff !important;
    /* Force White */
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    /* Subtle border */
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    height: 70px;
    background-color: #ffffff !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
}

/* ... existing styles ... */

.hero-btns .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-btns .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ... */

/* =========================================
   6. ABOUT SECTION
   ========================================= */
.about-container {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-features li i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* ... */

/* =========================================
   9. PORTFOLIO SECTION
   ========================================= */
.portfolio-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.portfolio-track {
    display: flex;
    gap: 3rem;
    width: max-content;
}

.portfolio-item {
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    min-width: 450px;
    max-width: 450px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .portfolio-item {
        min-width: 350px;
        max-width: 350px;
    }
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-list > li {
    position: relative;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menu Styles */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children:hover .nav-link i {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    padding: 1rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    list-style: none;
}

.sub-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sub-menu a:hover {
    background: var(--bg-alt);
    color: var(--primary-color);
    padding-left: 2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hide mobile menu by default */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-toggle {
        display: none !important;
    }
}

/* Show mobile menu on smaller screens */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .header-actions .btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1001;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-close {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.mobile-nav-list {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-list > li > a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Mobile Submenu Styles */
.mobile-menu-item-has-children {
    position: relative;
}

.mobile-parent-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
}

.mobile-parent-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.mobile-menu-item-has-children.open .mobile-parent-link i {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1.5rem;
    margin-top: 0;
}

.mobile-menu-item-has-children.open .mobile-sub-menu {
    max-height: 500px;
    margin-top: 1rem;
}

.mobile-sub-menu li {
    margin-bottom: 1rem;
}

.mobile-sub-menu a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    transition: all 0.2s ease;
}

.mobile-sub-menu a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
    min-height: 90vh;
    max-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    overflow: hidden;
}

/* Decorative Circle */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translateY(-50%) translateX(20%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #EDF2F7 0%, rgba(237, 242, 247, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
}

.badge {
    background: rgba(255, 107, 53, 0.08);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: -0.03em;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.65;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btns .btn {
    white-space: nowrap;
}

.hero-image-float {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 70vh;
}

.floating-img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.1));
    animation: floatSubtle 6s ease-in-out infinite;
}

@keyframes floatSubtle {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-12px) translateX(8px);
    }
    50% {
        transform: translateY(-20px) translateX(0);
    }
    75% {
        transform: translateY(-12px) translateX(-8px);
    }
}

.hero-sequence-container {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    /* Keeping it square-ish like the original slot */
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-sequence {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================
   5. CLIENTS LOGO SECTION
   ========================================= */
.clients-section {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.clients-section .section-subtitle {
    color: #fff;
}

.clients-section .container {
    overflow: hidden;
}

.clients-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
}

.client-logo {
    flex-shrink: 0;
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* =========================================
   6. ABOUT SECTION
   ========================================= */
.about-container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.06));
}

.about-content {
    flex: 1;
}

.about-content .section-subtitle {
    margin-bottom: 1rem;
}

.about-content .section-title {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content .section-description {
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.about-content h4.mt-3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-features li {
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.about-features i {
    color: #fff;
    background: var(--accent-blue);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    box-shadow: 0 4px 6px rgba(0, 210, 255, 0.2);
}

/* =========================================
   7. STATS SECTION
   ========================================= */
.stats {
    background: var(--secondary-color);
    padding: 5rem 0;
    color: #fff;
    margin-top: 4rem;
    /* Separation */
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 1rem;
    background: transparent;
    border: none;
    text-align: center;
    /* Center align for stats usually looks better */
    position: relative;
}

/* Divider between stats likely not needed, keeping clean */

.stat-value {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
}

/* =========================================
   8. SERVICES SECTION
   ========================================= */
.services-section {
    background-color: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* slightly wider */
    gap: 2.5rem;
}

.service-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.service-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card-link:hover .service-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.1);
}


.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    /* Light Primary BG */
    border-radius: 50%;
}

.service-icon span {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Material Icons Support */
.material-icons-round,
.material-icons,
.material-symbols-rounded {
    font-family: 'Material Icons Round', 'Material Symbols Rounded', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* =========================================
   9. PORTFOLIO SECTION
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-img {
    height: 100%;
    width: 100%;
    aspect-ratio: 16/10;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 33, 62, 0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.portfolio-info h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.portfolio-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-achievements li {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.portfolio-achievements li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Portfolio Archive Page */
.portfolio-archive {
    padding-top: calc(var(--header-height) + 4rem);
    background-color: var(--bg-alt);
}

.portfolio-grid-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Project Single Page */
.project-single {
    padding-top: calc(var(--header-height) + 4rem);
}

.project-single-header {
    text-align: center;
    margin-bottom: 4rem;
}

.project-single-title {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.project-single-content {
    max-width: 900px;
    margin: 0 auto;
}

.project-single-image {
    margin-bottom: 4rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.project-single-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.project-results {
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 4rem;
}

.project-results h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-list li {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.results-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.single-result {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.project-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.project-description p {
    margin-bottom: 1.5rem;
}

.project-navigation {
    text-align: center;
}

@media (max-width: 768px) {
    .project-single-title {
        font-size: 2.5rem;
    }
    
    .portfolio-grid-archive {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   10. TEAM SECTION
   ========================================= */
.team {
    background-color: var(--bg-alt);
}

.team-header {
    margin-bottom: 4rem;
}

.team-header-content {
    max-width: 900px;
}

.team-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.team-header-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
}

.team-grid-new {
    display: grid;
}

/* Landing page team grid - 2 cards, no gap */
.team-grid-landing {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
}

/* Archive page team grid - 4 cards per row with gaps */
.team-grid-archive {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .team-grid-archive {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .team-grid-archive {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid-landing {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .team-grid-archive {
        grid-template-columns: 1fr;
    }
}

.team-member-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.team-member-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.team-member-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    z-index: 10;
}

.team-member-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f5;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.team-member-card:hover .team-member-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-member-info {
    padding: 1.5rem;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-member-position {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member-name {
    font-size: 1.35rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.team-member-bio {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.team-member-socials {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
    background: #fff;
}

.team-member-socials a {
    width: 36px;
    height: 36px;
    background: var(--bg-alt);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.team-member-socials a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.team-cta-card {
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-cta-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.team-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.team-cta-content {
    text-align: left;
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    width: 100%;
}

.team-cta-content h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 700;
}

.team-cta-btn {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--secondary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.team-cta-link:hover .team-cta-btn {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(45deg);
}

.team-cta-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Team Single Page */
.team-single {
    padding-top: calc(var(--header-height) + 4rem);
}

.team-archive {
    padding-top: calc(var(--header-height) + 4rem);
    background-color: var(--bg-alt);
}

.team-single-container {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.team-single-image {
    flex: 0 0 400px;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.team-single-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.team-single-content {
    flex: 1;
}

.team-single-position {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.team-single-name {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.team-single-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.team-single-socials a {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.25rem;
}

.team-single-socials a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.team-single-bio {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.team-single-bio p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .team-single-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .team-single-image {
        flex: 1;
        width: 100%;
        position: relative;
        top: 0;
    }
    
    .team-single-name {
        font-size: 2.5rem;
    }
}

/* =========================================
   11. TESTIMONIALS & CTA
   ========================================= */
.testimonials {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    min-height: 400px;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .quote-icon {
    color: var(--primary-color);
}

.testimonials .review-text {
    color: #fff !important;
}

.testimonials h4 {
    color: rgba(255, 255, 255, 0.8);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    opacity: 0.2;
}

.review-text {
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.quote-no-wrap {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .quote-no-wrap {
        white-space: normal;
        font-size: 1.5rem !important;
    }
}

.cta-section {
    padding: 8rem 0;
}

.cta-inner {
    background: var(--secondary-color);
    border-radius: 30px;
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    z-index: 0;
}

.cta-inner h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 300px;
    padding: 1.1rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

/* =========================================
   12. TIPS & TRICKS SECTION
   ========================================= */
.tips-section {
    background: var(--secondary-color);
    color: #fff;
}

.tips-section .section-subtitle {
    color: var(--primary-color);
}

.tips-section .section-title {
    color: #fff;
}

.tips-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.tips-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.tips-track {
    display: flex;
    gap: 2rem;
    width: max-content;
}

.tip-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tip-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.tip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tip-card:hover .tip-image img {
    transform: scale(1.05);
}

.tip-content {
    padding: 1.5rem;
}

.tip-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.75rem;
}

.tip-title {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.tip-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tip-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.tip-link:hover {
    gap: 0.75rem;
}

/* =========================================
   13. FOOTER
   ========================================= */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding-top: 6rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col-main {
    max-width: 350px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    line-height: 1.6;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   INNER PAGES STYLES
   ========================================= */

/* Page Hero */
.page-hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: 4rem;
    background: var(--secondary-color);
    text-align: center;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove any gap when admin bar is present */
body.admin-bar .page-hero {
    margin-top: 0 !important;
}

.blog-archive,
.team-archive,
.portfolio-archive,
.single-post,
.project-single {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.service-icon-large span,
.service-icon-large i {
    font-size: 4rem;
    color: var(--primary-color);
}

.page-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.page-intro {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

/* Content Blocks */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.content-block p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* About Story Section */
.about-story {
    background: #fff;
}

.about-story .content-block h2 {
    color: var(--secondary-color);
}

.about-story .content-block p {
    color: var(--text-color);
}

/* Core Values Section */
.core-values {
    background: #fff;
}

.core-values .section-title {
    color: var(--secondary-color);
}

/* Mission & Vision */
.mission-vision {
    background: var(--secondary-color);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 107, 53, 0.5);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.mv-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.mv-card h3 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.mv-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.value-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.value-card h3 {
    font-size: 1.125rem;
    color: var(--secondary-color);
    font-weight: 700;
}

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Categories */
.services-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service-category-card {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-header {
    margin-bottom: 2rem;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.category-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-header h2 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-list i {
    color: var(--accent-blue);
    font-size: 0.875rem;
}

/* Contact Page - Modern Design */
.contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0d1628 100%);
    padding: 3rem;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-info-card h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.125rem;
    color: var(--primary-color);
}

.contact-item-content h4 {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-content a,
.contact-item-content p {
    font-size: 1rem;
    color: #fff;
    transition: var(--transition);
    line-height: 1.6;
}

.contact-item-content a:hover {
    color: var(--primary-color);
}

.contact-social {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social h4 {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Form Modern */
.contact-form-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.contact-form-header {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #f8f9fa 100%);
    padding: 2.5rem 3rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-form-header h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form-header p {
    font-size: 1rem;
    color: var(--text-muted);
}

.contact-form-modern {
    padding: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-align: left;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-right: 0.5rem;
    display: inline-block;
    width: 16px;
    text-align: center;
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.char-count {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    color: #fff !important;
}

.btn-submit .btn-text,
.btn-submit .btn-loader {
    color: #fff !important;
}

.btn-submit i {
    color: #fff !important;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-loader {
    display: none;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: #28a745;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card {
        padding: 2rem;
    }
    
    .contact-form-header,
    .contact-form-modern {
        padding: 2rem;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

/* CTA Strip */
.cta-strip {
    background: var(--secondary-color);
}

.cta-strip-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-strip-inner h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-strip-inner p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        min-height: 60vh;
        padding-top: calc(var(--header-height) + 4rem) !important;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .mission-vision-grid,
    .services-category-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   14. RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    :root {
        --section-padding: 6rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 2rem;
    }

    .hero::before {
        width: 400px;
        height: 400px;
        top: 20%;
        right: 50%;
        transform: translateX(50%);
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
        margin-bottom: 2rem;
        width: 100%;
    }

    .main-img {
        max-width: 90%;
    }

    .about-container {
        flex-direction: column;
        gap: 4rem;
    }

    .about-content .section-title,
    .about-content .section-description {
        text-align: center;
    }

    .about-content .section-description {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        gap: 3rem;
    }

    .stat-value {
        font-size: 3rem;
    }

    .cta-inner {
        padding: 4rem 2rem;
    }

    .cta-inner h2 {
        font-size: 2.2rem;
    }

    .clients-grid {
        gap: 2rem;
    }

    .client-logo img {
        height: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-col-main {
        max-width: 100%;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .email-input {
        min-width: 100%;
    }
}

/* =========================================
   SINGLE POST STYLES
   ========================================= */
.single-post {
    background-color: var(--bg-color);
}

.single-post-header {
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: 3rem;
    background: var(--secondary-color);
    text-align: center;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-post-header .container {
    width: 100%;
}

.single-post {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.single-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.single-post-meta i {
    color: var(--primary-color);
}

.post-categories a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.post-categories a:hover {
    color: var(--primary-color);
}

.single-post-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.single-post-featured-image {
    padding: 3rem 0;
    background-color: var(--bg-alt);
}

.single-post-featured-image .container {
    max-width: 1000px;
}

.featured-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 600px;
}

.single-post-content {
    padding: 4rem 0;
}

.post-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.post-content-wrapper p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.post-content-wrapper h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.post-content-wrapper h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.post-content-wrapper h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content-wrapper ul,
.post-content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content-wrapper li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.post-content-wrapper ul li {
    list-style: disc;
}

.post-content-wrapper ol li {
    list-style: decimal;
}

.post-content-wrapper blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--bg-alt);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-main);
}

.post-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.post-content-wrapper a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.post-content-wrapper a:hover {
    color: var(--primary-hover);
}

.post-tags {
    max-width: 800px;
    margin: 3rem auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-tags i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.post-tags a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    color: var(--text-muted);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.post-tags a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.post-navigation {
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.post-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-alt);
    color: var(--secondary-color);
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.post-navigation a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.post-navigation i {
    font-size: 0.9rem;
}

/* Blog Archive Styles */
.blog-archive {
    padding-top: calc(var(--header-height) + 4rem);
    background-color: var(--bg-alt);
    min-height: 100vh;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-meta i {
    color: var(--primary-color);
}

.blog-card-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-card-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-card-link:hover {
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .single-post-header {
        min-height: 60vh;
        padding-top: var(--header-height);
        padding-bottom: 2rem;
    }
    
    .single-post-title {
        font-size: 2.5rem;
    }
    
    .post-content-wrapper p,
    .post-content-wrapper li {
        font-size: 1rem;
    }
    
    .post-content-wrapper h2 {
        font-size: 1.75rem;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination Styles */
.pagination {
    margin-top: 4rem;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background: #fff;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination .page-numbers:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination .page-numbers.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

.pagination .page-numbers.dots:hover {
    background: transparent;
    transform: none;
}

.no-posts {
    text-align: center;
    padding: 4rem 0;
}

.no-posts p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Contact Page Enhancements */
.contact-intro {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-form-block h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-social {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-social h4 {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.125rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Map Section */
.map-section {
    background: var(--bg-alt);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* FAQ Section */
.faq-section {
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-item h4 {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item h4 i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.faq-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Form Button Enhancement */
.contact-form .btn i {
    margin-right: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Services Archive */
.services-archive {
    background: #fff;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link i {
    font-size: 0.875rem;
}


/* =========================================
   LEGAL PAGES STYLES
   ========================================= */

.legal-page {
    background: #f8f9fa;
}

.legal-hero {
    background: var(--navy-blue);
    color: white;
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    text-align: center;
}

.legal-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.legal-updated {
    font-size: 1rem;
    opacity: 0.9;
}

.legal-content {
    padding: 4rem 0;
}

.legal-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-text {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.legal-text h2 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--orange);
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.legal-text ul {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-text a {
    color: var(--orange);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.legal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-nav,
.legal-cta {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.legal-nav h3,
.legal-cta h4 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.legal-nav ul {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 0.75rem;
}

.legal-nav a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-nav a:hover {
    color: var(--orange);
}

.legal-cta p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.legal-cta .btn {
    width: 100%;
    text-align: center;
}

/* =========================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ========================================= */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .legal-container {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    .legal-text {
        padding: 2rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    /* Legal Pages */
    .legal-hero h1 {
        font-size: 2.5rem;
    }
    
    .legal-hero {
        padding: calc(var(--header-height) + 4rem) 0 4rem !important;
    }
    
    .legal-container {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        order: -1;
    }
    
    .legal-nav,
    .legal-cta {
        padding: 1.5rem;
    }
    
    /* Header & Navigation */
    .header {
        padding: 1rem 0;
    }
    
    .logo-img {
        height: 70px !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        z-index: 999;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        padding: 1.5rem;
        display: block;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Section - Fix padding and height */
    .hero {
        min-height: auto !important;
        max-height: none !important;
        padding: calc(var(--header-height) + 2rem) 1rem 3rem !important;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        flex: 1;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image-float {
        flex: 1;
        max-width: 100%;
    }
    
    /* About Section - Center text on mobile */
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content .section-subtitle,
    .about-content .section-title,
    .about-content .section-description,
    .about-content h4 {
        text-align: center !important;
    }
    
    .about-features {
        text-align: left;
        display: inline-block;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        text-align: center;
    }
    
    .service-card .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Mission/Vision Grid */
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer - Center everything and enlarge logo */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col-main {
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-logo img {
        height: 120px !important;
    }
    
    .footer-desc {
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-links,
    .contact-info {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Contact Page */
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero {
        padding: calc(var(--header-height) + 4rem) 0 4rem !important;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Archive Pages */
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid-archive {
        grid-template-columns: 1fr;
    }
    
    /* Single Service */
    .service-single-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-single-hero {
        padding: calc(var(--header-height) + 4rem) 0 4rem !important;
    }
    
    .service-single-icon,
    .service-icon-large {
        font-size: 4rem;
    }
    
    .service-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .service-icon-large span,
    .service-icon-large i {
        font-size: 3.5rem;
    }
    
    /* Section Headers - Center on mobile */
    .section-header {
        text-align: center;
    }
    
    .section-subtitle,
    .section-title,
    .section-description {
        text-align: center !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Container - Reduce padding */
    .container {
        padding: 0 1rem;
    }
    
    /* Legal Pages */
    .legal-hero h1 {
        font-size: 2rem;
    }
    
    .legal-text {
        padding: 1.5rem;
    }
    
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    /* Header */
    .logo-img {
        height: 60px !important;
    }
    
    /* Hero - Fix padding and center everything */
    .hero {
        padding: calc(var(--header-height) + 1rem) 0.5rem 2rem !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .hero-container {
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-content p {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* About Section - Center everything */
    .about-container {
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h2,
    .about-content h4,
    .about-content p {
        text-align: center !important;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .service-card .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card h3,
    .service-card p {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card h3 {
        text-align: center !important;
        width: 100%;
        display: block;
    }
    
    .service-card-link {
        text-align: center;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        text-align: center;
    }
    
    /* Portfolio */
    .portfolio-item {
        min-width: 300px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    /* Footer - Center and enlarge logo */
    .footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-container {
        text-align: center;
    }
    
    .footer-col-main {
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-logo img {
        height: 100px !important;
    }
    
    .footer-desc {
        text-align: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
        text-align: center;
    }
    
    /* About Page */
    .about-content {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    /* Contact Page */
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-sidebar {
        padding: 2rem 1.5rem;
    }
    
    /* Single Post */
    .single-post-header h1 {
        font-size: 2rem;
    }
    
    .single-post-header {
        padding-top: calc(var(--header-height) + 4rem) !important;
    }
    
    .post-content {
        padding: 2rem 1.5rem;
    }
    
    /* Service Single */
    .service-single-hero h1 {
        font-size: 2rem;
    }
    
    .service-single-icon,
    .service-icon-large {
        font-size: 3rem;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-large span,
    .service-icon-large i {
        font-size: 2.5rem;
    }
    
    /* Spacing */
    section {
        padding: 3rem 0;
    }
    
    /* Section Headers - Center */
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .section-subtitle,
    .section-title,
    .section-description {
        text-align: center !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-hero h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .portfolio-item {
        min-width: 280px;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero,
    .page-hero,
    .legal-hero {
        min-height: 100vh;
        padding-top: calc(var(--header-height) + 2rem) !important;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets */
    .btn,
    .nav-link,
    .footer-links a,
    .contact-info a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .portfolio-item:hover,
    .team-card:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .service-card:active,
    .portfolio-item:active,
    .team-card:active {
        transform: scale(0.98);
    }
}


/* =========================================
   ENHANCED ANIMATIONS & INTERACTIVITY
   ========================================= */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Fade in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse animation for CTAs */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Enhanced button hover effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

/* Card hover effects */
.service-card,
.portfolio-item,
.team-card,
.tip-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Icon animations */
.service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--primary-color);
}

.service-card:hover .service-icon span,
.service-card:hover .service-icon i {
    color: white;
}

/* Stat counter animation */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Link hover effects */
a {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Footer link animation */
.footer-links a {
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    left: -15px;
    opacity: 1;
}

/* Image hover effects */
img {
    transition: all 0.4s ease;
}

.portfolio-item img:hover,
.team-card img:hover {
    transform: scale(1.1);
}

/* Form input focus effects */
input:focus,
textarea:focus,
select:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

/* Loading animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-loader {
    animation: spin 1s linear infinite;
}

/* Scroll indicator animation */
.scroll-down {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Testimonial quote animation */
.quote-icon {
    animation: pulse 2s ease-in-out infinite;
}

/* Social icon hover */
.footer-socials a,
.contact-socials a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-socials a:hover,
.contact-socials a:hover {
    transform: translateY(-5px) rotate(360deg);
}

/* Smooth page transitions */
body {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Newsletter form animation */
.newsletter-form {
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* Gradient text animation */
.text-gradient {
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   NEWSLETTER SECTION
   ========================================= */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8F66 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    flex: 1;
    color: white;
}

.newsletter-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
}

.newsletter-input-group .btn {
    white-space: nowrap;
    margin: 0;
    color: white !important;
}

.newsletter-input-group .btn .btn-text,
.newsletter-input-group .btn .btn-loader {
    color: white !important;
}

.newsletter-privacy {
    color: white;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    opacity: 0.8;
    text-align: center;
}

/* Newsletter responsive */
@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 12px;
        padding: 1rem;
    }
    
    .newsletter-input-group input {
        border-radius: 8px;
    }
    
    .newsletter-input-group .btn {
        width: 100%;
        border-radius: 8px;
    }
}
