/* Global Styles */
:root {
    --primary-color: #00355f;
    --secondary-color: #005ca9;
    --accent-color: #ff5f00;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --sidebar-width: 240px;
    --header-height: 60px;
    --transition: all 0.3s ease;
    --topbar-height: 36px;
}

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

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Top Bar */
.top-bar {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: var(--topbar-height, 36px);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.top-link:hover {
    color: var(--white);
}

.hiring-badge {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: var(--topbar-height, 36px);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    padding: 0.5rem 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.nav-content {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-item {
    padding: 8px 20px;
    margin-bottom: 10px;
}

.nav-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--white);
}

.nav-item a:hover::after,
.nav-item a.active::after {
    width: 30px;
}

/* Page Layout */
.page-layout {
    display: flex;
    min-height: 100vh;
    padding-top: calc(var(--topbar-height) + var(--header-height));
    position: relative;
}

/* Sidebar */
.sidebar {
    background: linear-gradient(180deg, #0a1929 0%, #1a2942 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    flex-shrink: 0;
    height: 520px;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1), min-width 0.4s cubic-bezier(0.77, 0, 0.175, 1), max-width 0.4s cubic-bezier(0.77, 0, 0.175, 1), padding 0.4s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-radius: 0 12px 12px 0;
    display: flex;
    flex-direction: column;
    padding: 20px 0 0 0;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.03)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.nav-button {
    display: flex;
    align-items: center;
    width: calc(100% - 1.5rem);
    padding: 0.875rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1), height 0.4s cubic-bezier(0.77, 0, 0.175, 1), padding 0.4s cubic-bezier(0.77, 0, 0.175, 1), margin 0.4s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.4s cubic-bezier(0.77, 0, 0.175, 1), border 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-radius: 12px;
    margin: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    box-shadow: none;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-button:hover::before {
    transform: translateX(100%);
}

.nav-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: currentColor;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-label {
    transition: opacity 0.3s cubic-bezier(0.77, 0, 0.175, 1), max-width 0.4s cubic-bezier(0.77, 0, 0.175, 1), margin-left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 1;
    white-space: nowrap;
    overflow: hidden;
    max-width: 120px;
    margin-left: 12px;
}

.sidebar.collapsed {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}

.sidebar.collapsed .nav-button {
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar.collapsed .button-label {
    opacity: 0;
    max-width: 0;
    margin-left: 0;
}

.sidebar-toggle {
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.sidebar-toggle:hover {
    background: var(--secondary-color);
    width: 36px;
    right: -36px;
}

.sidebar-toggle .nav-icon {
    width: 16px;
    height: 16px;
    color: white;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-toggle .arrow-left,
.sidebar.collapsed .sidebar-toggle .arrow-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle .arrow-right,
.sidebar.collapsed .sidebar-toggle .arrow-left {
    display: none;
}

.sidebar.collapsed .submenu {
    display: none;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.quote-nav:hover .submenu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-nav .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.3s cubic-bezier(0.77,0,0.175,1), transform 0.3s cubic-bezier(0.77,0,0.175,1);
    z-index: 10;
}

.quote-nav .submenu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.submenu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #222 !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    transition: background 0.2s, color 0.2s;
    position: relative;
    padding-left: 2.5rem;
}

.submenu-item:hover, .submenu-item:focus {
    background: #f5f5f5;
    color: #007bff !important;
    outline: none;
}

.submenu-item::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: #007bff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.submenu-item:hover::before, .submenu-item:focus::before {
    background-color: #0056b3;
    transform: translateY(-50%) scale(1.5);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* Add a subtle glow effect to active items */
.nav-button.active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Quote Submenu */
.quote-nav {
    position: relative;
    margin-top: 0.5rem;
}

.quote-nav .nav-button {
    color: var(--white);
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    width: calc(100% - 1.5rem);
    text-align: left;
}

.quote-nav .nav-button.active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    width: calc(100% - 1.5rem);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding: 2rem;
    min-height: calc(100vh - var(--topbar-height) - var(--header-height));
    background-color: #f8f9fa;
    position: relative;
    transition: margin-left 0.4s cubic-bezier(0.77, 0, 0.175, 1), width 0.4s cubic-bezier(0.77, 0, 0.175, 1), padding 0.4s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.sidebar.collapsed + .main-content {
    margin-left: 80px;
    width: calc(100% - 80px);
}

/* Full Width Main Content */
.main-content-full {
    width: 100%;
    margin-left: 0;
    min-height: 100vh;
    background-color: #f8f9fa;
    position: relative;
    padding-top: calc(var(--topbar-height) + var(--header-height));
    margin-top: calc(-1 * (var(--topbar-height) + var(--header-height)));
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 20px;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-content .cta-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px !important;
    height: 44px !important;
    margin-top: 0 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    color: #333 !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #fff !important;
    transform: translateY(-50%) scale(1.1);
}

.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 0;
    right: 0;
    z-index: 100;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.7;
    margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
    transform: scale(1.2);
}

.swiper-fade .swiper-slide {
    transition: opacity 0.5s ease;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-btn:hover {
    background-color: transparent;
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    line-height: 1;
    background: linear-gradient(45deg, var(--accent-color), #ff8533);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: #0066cc;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background-color: #fff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.client-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.client-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.client-logo.cwprs-logo {
    height: 160px;
    padding: 0.5rem;
}

.client-logo.cwprs-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.client-logo img,
.client-logo object {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-card:hover .client-logo {
    transform: translateY(-5px);
}

.client-info h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.client-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.client-meta {
    font-size: 0.875rem;
    color: #888;
}

.partnership-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.partnership-duration::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.clients-note {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #6c757d;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.contact-info h2 {
    color: #0066cc;
    margin-bottom: 30px;
}

.contact-details {
    display: grid;
    gap: 30px;
}

.contact-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

.contact-item p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-image {
        order: -1;
    }
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.map-container {
    position: relative;
    height: 500px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-point {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
}

.point-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.point-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.map-point:hover .point-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Brand Message */
.brand-message {
    padding: 3rem 0;
    text-align: center;
}

.company-name {
    display: block;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.brand-message h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.brand-message h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Quick Links */
.quick-links {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quick-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quick-link-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--secondary-color);
}

.quick-link-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.quick-link-card p {
    font-size: 0.875rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
        padding-top: calc(var(--topbar-height, 36px) + var(--header-height));
    }

    .sidebar {
        height: 520px;
        top: auto;
        bottom: 2rem;
        left: 0;
        transform: none;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .quote-nav {
        margin-top: 0;
    }

    .submenu {
        position: static;
        width: 100%;
        margin-left: 0;
    }

    .nav-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-content.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        height: auto;
    }

    .nav-item {
        height: auto;
    }

    .nav-item a {
        padding: 1rem 1.5rem;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        margin-top: 0;
    }

    .hero-slide {
        height: 500px;
    }

    .hero-content {
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .map-container {
        height: 300px;
    }

    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .top-bar-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .stat-card {
        padding: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .logo img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Welcome Section Styles */
.welcome-section {
    padding: 8rem 0;
    background: linear-gradient(to right, #f8f9fa 50%, #ffffff 50%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.welcome-content {
    padding-right: 3rem;
    position: relative;
}

.welcome-content::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: -2rem;
    width: 80px;
    height: 80px;
    border-left: 4px solid #ff6b00;
    border-top: 4px solid #ff6b00;
    opacity: 0.3;
}

.welcome-title {
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.1;
    position: relative;
}

.welcome-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff6b00;
    margin-top: 1.5rem;
}

.welcome-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid rgba(255,107,0,0.3);
}

.welcome-image {
    position: relative;
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.welcome-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.welcome-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

@media (max-width: 1200px) {
    .welcome-title {
        font-size: 3.5rem;
    }
    
    .welcome-grid {
        gap: 4rem;
    }
}

@media (max-width: 992px) {
    .welcome-section {
        padding: 6rem 0;
        background: #f8f9fa;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .welcome-content {
        padding-right: 0;
    }

    .welcome-title {
        font-size: 3rem;
    }

    .welcome-image {
        min-height: 400px;
        transform: none;
    }

    .welcome-image:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 4rem 0;
    }

    .welcome-title {
        font-size: 2.5rem;
    }

    .welcome-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .welcome-image {
        min-height: 300px;
    }
}

/* Client Page Styles */
.client-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.client-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-shape {
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    transform: rotate(-15deg);
}

.client-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

.client-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-card:hover::before {
    opacity: 1;
}

.client-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.client-card:hover .client-logo {
    transform: scale(1.05);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.client-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.partnership-duration {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex-grow: 1;
    position: relative;
    padding-top: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* CTA Section */
.client-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.client-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path/to/pattern.png') repeat;
    opacity: 0.1;
}

.client-cta .cta-content {
    position: relative;
    z-index: 2;
}

.client-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.client-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.client-cta .cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.client-cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

    .client-hero {
        padding: 80px 0 60px;
    }

    .hero-shape {
        width: 300px;
        height: 300px;
    }

    .client-cta h2 {
        font-size: 2rem;
    }

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

    .client-card {
        padding: 30px;
    }

    .client-logo {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2rem;
    }

    .client-cta {
        padding: 60px 0;
    }

    .client-cta h2 {
        font-size: 1.8rem;
    }

    .client-cta p {
        font-size: 1rem;
    }
}

/* Additional Clients Section */
.additional-clients {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.additional-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.client-card.compact {
    padding: 25px;
    text-align: center;
    background: var(--white);
    transition: all 0.3s ease;
}

.client-card.compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.client-card.compact h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.client-card.compact p {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .additional-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Text Logo Styles */
.text-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 0;
}

.logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-slogan {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 400;
}

.text-logo:hover .logo-text {
    color: var(--accent-color);
}

.text-logo:hover .logo-slogan {
    color: var(--white);
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.25rem;
    }

    .logo-slogan {
        font-size: 0.75rem;
    }
}

.sidebar-toggle {
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.sidebar-toggle:hover {
    background: var(--secondary-color);
    width: 36px;
    right: -36px;
}

.sidebar-toggle .nav-icon {
    width: 16px;
    height: 16px;
    color: white;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.active .sidebar-toggle .nav-icon {
    transform: rotate(180deg);
}

/* Adjust sidebar position when active */
.sidebar {
    left: 0;
    transition: left 0.3s ease;
}

.sidebar.active {
    left: 0;
}

/* Ensure main content doesn't overlap with sidebar */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding: 2rem;
    transition: margin-left 0.4s cubic-bezier(0.77, 0, 0.175, 1), width 0.4s cubic-bezier(0.77, 0, 0.175, 1), padding 0.4s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        width: var(--sidebar-width);
        height: auto;
        max-height: 400px;
        top: auto;
        bottom: 2rem;
        left: 0;
        transform: none;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-toggle {
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Toggle button arrow direction */
.sidebar-toggle .arrow-right {
    display: none;
}
.sidebar.collapsed .sidebar-toggle .arrow-right {
    display: inline;
}
.sidebar.collapsed .sidebar-toggle .arrow-left {
    display: none;
}
.sidebar:not(.collapsed) .sidebar-toggle .arrow-left {
    display: inline;
}
.sidebar:not(.collapsed) .sidebar-toggle .arrow-right {
    display: none;
}

/* Quote Dropdown: Only show on click, smooth transition */
.quote-nav .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.3s cubic-bezier(0.77,0,0.175,1), transform 0.3s cubic-bezier(0.77,0,0.175,1);
    z-index: 10;
}
.quote-nav .submenu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Remove hover for quote-nav */
.quote-nav:hover .submenu {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
}

/* Down arrow for quote button */
.down-arrow {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    transition: transform 0.25s cubic-bezier(0.77,0,0.175,1);
}
.down-arrow svg {
    width: 16px;
    height: 16px;
}
.down-arrow.open {
    transform: rotate(180deg);
}

/* Sidebar and main-content: even smoother transitions */
.sidebar, .main-content, .nav-button, .button-label {
    transition-property: width, min-width, max-width, margin, padding, background-color, opacity, left, transform, box-shadow, border-color;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.77,0,0.175,1);
}

/* Nav button hover: subtle, no flash in collapsed state */
.nav-button {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
}
.nav-button:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-color: rgba(255,255,255,0.15);
}
.sidebar.collapsed .nav-button:hover {
    background: rgba(255,255,255,0.03);
    color: inherit;
    box-shadow: none;
    border-color: rgba(255,255,255,0.08);
} 

