/* Design System & Variables */
:root {
    --primary: #ffffff;
    --primary-bg: #000000;
    --accent: #f0f0f0;
    --text: #e0e0e0;
    --text-muted: #888888;
    --gradient: linear-gradient(135deg, #0f0f0f 0%, #000000 100%);
    --gradient-reverse: linear-gradient(135deg, #000000 0%, #0f0f0f 100%);
    --card-bg: rgba(20, 20, 20, 0.8);
    --card-bg-white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-dark: rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Smaller scale measurements */
    /* Improved readability scale while keeping 'smaller' look */
    --base-font: 14px;
    --h1-size: 2.2rem;
    --h2-size: 1.8rem;
    --h3-size: 1.3rem;
    --p-size: 0.95rem;
    --btn-padding: 9px 20px;
    --nav-height: 60px;
    --container-max: 1100px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--base-font);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.theme-black-gradient {
    background: var(--gradient);
    min-height: 100vh;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-relative { position: relative; }

.glow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.section-top-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 2;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

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

ul {
    list-style: none;
}

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

.img-responsive {
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Typography Enhancements */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

.tagline {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #ffffff;
    margin-bottom: 10px;
    opacity: 0.8;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--btn-padding);
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

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

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
}

/* Header & Nav */
#site-header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.site-logo {
    height: 30px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu > li {
    position: relative;
    padding: 20px 0;
}

.nav-menu > li > a {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.nav-menu > li:hover > a {
    color: #ffffff;
}

.nav-menu li i {
    font-size: 8px;
    margin-left: 4px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #0a0a0a;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.nav-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 11px;
    color: var(--text-muted);
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding-left: 20px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 15px;
}

.all-link {
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.all-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.all-link:hover i {
    transform: translateX(5px);
}

.all-link-mobile {
    font-weight: 700 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 5px;
    padding-top: 15px !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-socials {
    display: flex;
    gap: 15px;
}

.header-socials a {
    font-size: 12px;
    color: var(--text-muted);
}

.header-socials a:hover {
    color: #ffffff;
}

#mobile-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

#mobile-toggle span {
    width: 18px;
    height: 1.5px;
    background-color: #ffffff;
    display: block;
    transition: var(--transition);
}

/* Mobile Sidebar & Nav */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px; /* Slightly wider for better readability */
    height: 100vh;
    background-color: #000000;
    z-index: 2000;
    transition: var(--transition);
    padding: 30px;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    border-right: 1px solid var(--border-color);
    overflow-y: auto; /* Enable scrolling for long menus */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.sidebar-logo {
    height: 24px;
}

#sidebar-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav li a {
    font-size: 16px;
    font-weight: 500;
}

/* Sidebar Dropdown Styles */
.sidebar-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    margin-top: 10px;
    padding-left: 15px;
}

.sidebar-dropdown.active {
    max-height: 1000px;
    padding: 15px 15px 15px 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.sidebar-dropdown li {
    margin-bottom: 12px;
}

.sidebar-dropdown li:last-child {
    margin-bottom: 0;
}

.sidebar-dropdown li a {
    font-size: 13px !important;
    color: var(--text-muted);
    font-weight: 400;
}

.sidebar-dropdown li a:hover {
    color: #ffffff;
}

.has-mobile-dropdown i {
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.has-mobile-dropdown.active i {
    transform: rotate(180deg);
}

.sidebar-socials {
    margin-top: 50px;
    display: flex;
    gap: 15px;
}

.sidebar-socials a {
    font-size: 16px;
}

#sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1500;
    display: none;
    backdrop-filter: blur(2px);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: var(--nav-height);
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s linear;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-content {
    position: relative;
    z-index: 20;
    max-width: 600px;
    transform: translateY(30px);
    transition: transform 0.8s ease-out, opacity 0.8s;
    opacity: 0;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 15px;
}

.hero-title span {
    -webkit-text-stroke: 1px #ffffff;
    color: transparent;
}

.hero-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 30;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dot.active {
    background-color: #ffffff;
    width: 24px;
    border-radius: 5px;
}

.slider-arrows {
    display: flex;
    gap: 15px;
}

.arrow {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.arrow:hover {
    opacity: 1;
    transform: translateX(3px);
}

.arrow.prev:hover {
    transform: translateX(-3px);
}

/* Section Dark Variations for Contrast */
.section-dark-1 {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-dark-2 {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

#philosophy-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.section-padding .container {
    position: relative;
    z-index: 5;
}

.section-padding {
    padding: 100px 0;
}

/* Mobile Sidebar Nav */
.mobile-nav li {
    margin-bottom: 5px;
}

.mobile-nav li a {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav li a i {
    font-size: 10px;
    transition: var(--transition);
}

.has-mobile-dropdown.active > a i {
    transform: rotate(180deg);
}

.sidebar-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
    background: rgba(255, 255, 255, 0.02);
    padding-left: 15px;
}

.sidebar-dropdown.active {
    max-height: 300px;
    padding-top: 5px;
    padding-bottom: 10px;
}

.sidebar-dropdown li a {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    border-bottom: none;
    padding: 6px 0;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header.left-aligned {
    text-align: left;
}

.section-title {
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 13px;
    max-width: 500px;
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.card-content {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Parallax Banner */
.parallax-banner {
    position: relative;
    padding: 140px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url('https://picsum.photos/id/160/1920/1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.parallax-banner .section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.parallax-banner p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.parallax-icon {
    font-size: 45px;
    color: #ffffff;
    margin-bottom: 30px;
    display: inline-block;
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.container-narrow {
    max-width: 850px;
}

/* Why Us Section Styling */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.why-card i {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.why-card h3 {
    font-size: 15px;
    margin-bottom: 15px;
    color: #ffffff;
}

.why-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Why Us Mobile */
@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* Services Footer Button */
.services-footer {
    margin-top: 60px;
}

.btn-fancy {
    position: relative;
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.btn-fancy i {
    font-size: 12px;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-fancy:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.btn-fancy:hover i {
    transform: translateX(8px);
}

.btn-fancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.btn-fancy:hover::before {
    left: 100%;
}

/* Showcase Feature List */
.feature-list {
    margin: 20px 0;
}

.feature-list li {
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.feature-list li i {
    font-size: 10px;
    color: #ffffff;
}

/* Footer */
.site-footer {
    background-color: #050505;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 20px);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 100px;
}

/* Footer Sections */
.footer-cta {
    padding: 80px 40px;
    margin: 40px 0 80px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
}

.footer-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.footer-cta .section-title {
    margin-bottom: 25px;
    font-size: var(--h2-size);
}

.btn-whatsapp {
    background: #ffffff;
    color: #000000;
    padding: var(--btn-padding);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
    color: #000000;
}

.footer-top {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 50px;
    margin-bottom: 50px;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.office-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.office-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.office-card i {
    font-size: 16px;
    color: #ffffff;
    margin-top: 3px;
    opacity: 0.5;
    transition: var(--transition);
}

.office-card:hover i {
    opacity: 1;
    color: #ffffff;
}

.office-info h5 {
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.office-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 24px;
    margin-bottom: 20px;
    display: block;
}

.footer-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-socials a:hover {
    color: #ffffff;
}

.footer-links h4, .footer-contact h4 {
    font-size: 13px;
    margin-bottom: 20px;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-contact li i {
    width: 20px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13px; /* Balanced for legibility */
    color: var(--text-muted);
}

.footer-copyright {
    margin-bottom: 12px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: #ffffff;
}

.cta-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://picsum.photos/id/192/1920/600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box .hero-btns {
    justify-content: center;
    margin-top: 30px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    #main-nav, .header-socials {
        display: none;
    }
    
    #mobile-toggle {
        display: flex;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-info p {
        margin: 20px auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .section-header.left-aligned {
        text-align: center;
    }

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

    .office-card {
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        padding: 30px 20px;
    }

    .office-card i {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .footer-cta {
        padding: 40px 20px;
    }

    .footer-cta .section-title {
        font-size: 1.5rem;
    }

    .site-footer {
        padding: 60px 0 40px;
    }
}

/* About Page Specific Styles */
.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: translateY(-5px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 600;
}

.leader-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.leader-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    filter: grayscale(100%) brightness(0.7);
}

.leader-card:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.08);
}

.leader-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    text-align: left;
    transform: translateY(10px);
    transition: var(--transition);
}

.leader-card:hover .leader-info {
    transform: translateY(0);
}

.leader-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.leader-info p {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Mesh Glow Backgrounds */
.mesh-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.glow-top-right { top: -300px; right: -300px; }
.glow-bottom-left { bottom: -300px; left: -300px; }

/* Subpage Header & Breadcrumbs */
.subpage-header {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.6)), url('https://picsum.photos/id/119/1920/1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 60px;
    text-align: center;
}

.subpage-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #ffffff;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: #ffffff;
    opacity: 0.6;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs span {
    color: #ffffff;
    font-weight: 500;
}

.breadcrumbs i {
    font-size: 8px;
    opacity: 0.3;
}

/* Mission Section Styling */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.mission-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.mission-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
}

.mission-item i {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 20px;
    display: block;
}

.mission-item h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}

.mission-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .subpage-title {
        font-size: 2.2rem;
    }
}

/* Floating Action Button (FAB) */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.fab-main {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    z-index: 2;
}

.fab-container.active .fab-main {
    transform: rotate(45deg);
    background-color: #f0f0f0;
}

.fab-sub-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.fab-container.active .fab-sub-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-sub {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.fab-sub:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
}

/* Services Page Styling */
.full-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.full-service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 2px solid transparent;
    padding: 50px 40px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.full-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 20px 20px;
    z-index: -1;
    opacity: 0.5;
}

.full-service-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    border-left-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 
        0 50px 120px rgba(0, 0, 0, 0.8),
        0 10px 30px rgba(255, 255, 255, 0.05),
        inset 0 0 25px rgba(255, 255, 255, 0.05);
}

.full-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: float-node 8s infinite alternate ease-in-out;
}

@keyframes float-node {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, 50px); opacity: 0.3; }
}

.card-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.full-service-card:hover .card-progress {
    width: 100%;
}

.full-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
}

.full-service-card:hover::before {
    left: 100%;
}

.fs-icon {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 25px;
    transition: var(--transition);
    opacity: 0.8;
}

.full-service-card:hover .fs-icon {
    transform: scale(1.1);
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.full-service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.full-service-card:hover h3 {
    letter-spacing: 1.5px;
}

.service-tag {
    display: inline-block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    animation: neon-pulse 3s infinite ease-in-out;
}

@keyframes neon-pulse {
    0% { border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 0 5px rgba(255, 255, 255, 0.05); }
    50% { border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }
    100% { border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 0 5px rgba(255, 255, 255, 0.05); }
}

.full-service-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.fs-list {
    margin-bottom: 30px;
    padding-left: 0;
}

.fs-list li {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
}

.fs-list li i {
    font-size: 10px;
    color: #ffffff;
}

.fs-btns {
    display: flex;
    gap: 15px;
}

/* Services Page Mobile */
@media (max-width: 991px) {
    .full-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 2px solid transparent;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 15px 15px;
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition);
}

.why-card:hover::before {
    opacity: 0.6;
    transform: scale(1.1);
}

.why-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    border-left-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
}

.why-icon {
    font-size: 30px;
    color: #ffffff;
    width: 70px; height: 70px; background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-card:hover .why-icon {
    background: #ffffff;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
    border-color: #ffffff;
}

.why-card:hover .why-icon i {
    color: #000000 !important;
}

.why-card h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

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

/* Story Section Visibility Enhancement */
.about-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* PPC Section Visibility Enhancement */
.ppc-ads-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Client Carousel Styles */
.client-carousel-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0;
    overflow: hidden;
}

.client-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding: 20px 0;
    transition: transform 0.1s ease-out;
}

.client-carousel-section:hover .client-track {
    animation-play-state: paused;
}

.client-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none; /* Prevent browser ghost image dragging */
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

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

@media (max-width: 768px) {
    .client-track {
        gap: 40px;
    }
    .client-logo {
        width: 120px;
        height: 60px;
    }
}

/* Contact Page Specific Styles */
.muhabiya-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.input-wrap label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.muhabiya-form input, 
.muhabiya-form select, 
.muhabiya-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 12px 15px;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.muhabiya-form input:focus, 
.muhabiya-form select:focus, 
.muhabiya-form textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(0,0,0,0.8);
}

.m-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.m-contact i {
    font-size: 24px;
    color: #ffffff;
}

.m-detail h5 {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.m-detail p {
    font-size: 12px;
    color: var(--text-muted);
}

.social-huge-grid {
    display: grid;
    grid-template-columns: repeat(4, 60px);
    gap: 15px;
    margin-top: 25px;
}

.social-h-card {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
    transition: var(--transition);
}

.social-h-card:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-5px);
}

.office-node {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    transition: var(--transition);
}

.office-node:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.node-icon {
    font-size: 24px;
    margin-bottom: 20px;
}

.office-node h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.office-node p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .contact-form-box { margin-bottom: 60px; }
    .muhabiya-form { padding: 30px 20px; }
}