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

:root {
    --primary-color: #00CC99;
    --accent-color: #4fd1c5;
    --dark-color: #1A202C;
    --light-color: #F7FAFC;
    --gray-color: #718096;
    --gray-light: #E2E8F0;
    --blue-light: #E6F6FF;
    --green-light: #E6FCF5;
    --purple-light: #F3E8FF;
    --red-light: #FEE2E2;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.pill {
    display: inline-block;
    background-color: rgba(0, 204, 153, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: white;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.cta-button.outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.cta-button:hover {
    background-color: #3d8c6c;
    transform: translateY(-2px);
}

.cta-button.outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ==================== MOBILE HEADER ==================== */
.mobile-header {
    display: none;
    padding: 15px 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.mobile-header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo a {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-decoration: none;
}

.mobile-nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eef5f4;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.mobile-nav-icon i {
    font-size: 1.1rem;
}

/* ==================== MOBILE SIDEBAR ==================== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 999;
    padding: 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

/* Mobile Sidebar Header */
.logosicon-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.logos {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eef5f4;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-close:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.menu-close i {
    font-size: 1.1rem;
}

/* Mobile Navigation */
.mobile-nav {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-list li {
    margin-bottom: 0;
    border-bottom: 1px solid #f5f5f5;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.mobile-nav-list li:last-child {
    border-bottom: none;
}

/* Animation delays for staggered effect */
.mobile-sidebar.active .mobile-nav-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-sidebar.active .mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-sidebar.active .mobile-nav-list li:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav-list li a {
    display: block;
    padding: 15px 0;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-list li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-nav-list li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-nav-list li a.active::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Mobile Login Section */
.mobile-login-section {
    margin-top: 30px;
    padding: 30px 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.8) 30%, #f8fafc 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.mobile-login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -30px;
    right: -30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.mobile-login-btn {
    width: 100%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #00CC99;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.mobile-login-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 204, 153, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
}

.mobile-login-btn:hover::after {
    width: 300px;
    height: 300px;
}

.mobile-login-btn:hover {
    border-color: #00CC99;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 204, 153, 0.15);
}

.login-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.mobile-login-btn:hover .login-arrow {
    transform: translateX(4px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Ripple Animation */
@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    background-color: #00CC99;
    background-image: linear-gradient(to right, #00CC99, #66c4a8);
    padding: 3rem 0 0 0;
    color: white;
    text-align: center;
    position: relative;
}

.hero-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.hero-nav a {
    color: white;
    opacity: 0.8;
}

.hero-nav .separator {
    margin: 0 5px;
}

.hero-nav .active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-images {
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 400px;
}

.image-left {
    flex: 0 0 35%;
    border-radius: 8px;
    overflow: hidden;
}

.image-right {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.hero-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.counter-box-area {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding: 2rem 0;
    background-color: white;
}

.counter-box {
    text-align: center;
    padding: 0 4rem;
    color: var(--dark-color);
    position: relative;
}

.counter-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background-color: #e2e8f0;
}

.counter-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.counter-box p {
    color: var(--gray-color);
}

/* ==================== VISION & MISSION SECTION ==================== */
.vision-mission {
    padding: 7rem 0;
    background-color: #f8fafc;
}

.content-wrapper {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
}

.left-content {
    flex: 1;
}

.left-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.left-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    line-height: 1.7;
    font-size: 1.05rem;
}

.features-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.vision-icon {
    color: var(--primary-color);
    background-color: rgba(0, 204, 153, 0.1);
}

.values-icon {
    color: #F26957;
    background-color: rgba(242, 105, 87, 0.1);
}

.people-icon {
    color: #3B82F6;
    background-color: rgba(59, 130, 246, 0.1);
}

.promise-icon {
    color: #8B5CF6;
    background-color: rgba(139, 92, 246, 0.1);
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a202c;
}

.feature-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
    color: #718096;
}

.right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.top-image {
    height: 300px;
}

.bottom-image {
    height: 350px;
    margin-left: 50px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==================== ACHIEVEMENTS SECTION ==================== */
.achievements {
    padding: 5rem 0;
    text-align: center;
    background-color: white;
}

.achievements h2 {
    font-size: 2.5rem;
}

.achievements .section-subtitle {
    color: var(--gray-color);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    flex: 1;
    min-width: 220px;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}

.stat-icon.blue {
    background-color: var(--blue-light);
    color: #2B6CB0;
}

.stat-icon.green {
    background-color: var(--green-light);
    color: #00CC99;
}

.stat-icon.purple {
    background-color: var(--purple-light);
    color: #6B46C1;
}

.stat-icon.red {
    background-color: var(--red-light);
    color: #C53030;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-title {
    color: var(--gray-color);
    font-size: 1rem;
}

/* ==================== TEAM SECTION ==================== */
.team {
    padding: 5rem 0;
    background: linear-gradient(135deg, #00CC99 0%, #66c4a8 100%);
    color: white;
    text-align: center;
}

.team h2 {
    font-size: 2.5rem;
    color: white;
}

.team .pill {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.team .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

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

.team-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.team-role {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.team-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ==================== OFFICES SECTION ==================== */
.offices {
    padding: 5rem 0;
    text-align: center;
    background-color: #f8fafc;
}

.offices h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.office-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    margin-right: 100px;
    height: 550px;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.office-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.office-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.1);
}

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

.office-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.office-cards {
    position: absolute;
    top: 0px;
    right: -130px;
    width: calc(50% + 100px);
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 3;
    padding: 0 2rem;
    pointer-events: none;
}

.office-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    width: 100%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%) translateX(100px);
    pointer-events: all;
}

.office-card.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.office-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

.office-card p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.contact-info {
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.info-item i {
    color: var(--primary-color);
    margin-top: 4px;
    font-size: 1.1rem;
    min-width: 20px;
}

.info-item p {
    margin: 0;
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #e2e8f0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
}

.dot:hover {
    background-color: var(--primary-color);
    opacity: 0.7;
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(0, 204, 153, 0.3);
}

.dot.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

/* ==================== FOOTER SECTION ==================== */
.site-footer {
    padding: 80px 0 30px;
    background-color: #0d1d25;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-about h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: #00CC99;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.newsletter-form button i {
    margin-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #00CC99;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact ul li {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    margin-right: 10px;
    color: #00CC99;
}

.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li a:hover {
    color: white;
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
}

.copyright ul {
    display: flex;
}

.copyright ul li {
    margin-left: 15px;
}

.copyright ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.copyright ul li a:hover {
    color: white;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Large screens (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablets and small desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .content-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .right-content {
        width: 100%;
    }

    .image-container {
        width: 100%;
        margin-left: 0;
    }

    .bottom-image {
        height: 350px;
        margin-left: 0;
    }

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

    .office-slider-wrapper {
        height: 550px;
        max-width: 1000px;
        margin-right: 80px;
    }

    .office-cards {
        right: -80px;
        width: calc(50% + 80px);
        padding: 0 1.5rem;
    }

    .office-card {
        padding: 2rem;
        left: 80px;
    }

    .office-card h3 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    /* Show mobile header and hide desktop header */
    .header {
        display: none !important;
    }

    .mobile-header {
        display: block;
    }

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

    .hero-images {
        flex-direction: column;
        height: auto;
        gap: 1rem;
        width: 100%;
    }

    .image-left, .image-right {
        flex: none;
        width: 100%;
        height: 250px;
    }

    .counter-box-area {
        flex-direction: column;
        gap: 2rem;
    }

    .counter-box:not(:last-child)::after {
        display: none;
    }

    .counter-box {
        padding: 1rem;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Mobile offices section */
    .offices {
        padding: 4rem 0;
    }

    .office-slider-wrapper {
        height: auto;
        margin: 2rem 0;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        background-color: transparent;
        position: relative;
    }

    .office-backgrounds {
        display: none;
    }

    .office-cards {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
        left: 0;
        height: 420px;
        padding: 0 1rem;
        background: none;
        backdrop-filter: none;
        display: block;
        margin-top: 2rem;
    }

    .office-card {
        background: white;
        backdrop-filter: none;
        padding: 2rem;
        text-align: center;
        max-width: none;
        position: absolute;
        top: 0;
        left: 1rem;
        right: 1rem;
        transform: none;
        width: calc(100% - 2rem);
        margin: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        opacity: 0;
        transition: all 0.6s ease;
        min-height: 380px;
    }

    .office-card.active {
        opacity: 1;
        position: absolute;
        top: 0;
        left: 1rem;
        right: 1rem;
        width: calc(100% - 2rem);
    }

    .office-card h3 {
        font-size: 1.8rem;
        color: var(--dark-color);
        margin-bottom: 1rem;
    }

    .office-card p {
        color: var(--gray-color);
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .contact-info {
        margin-top: 1.5rem;
        text-align: left;
    }

    .info-item {
        justify-content: flex-start;
        text-align: left;
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 1rem;
        align-items: flex-start;
    }

    .info-item i {
        margin-top: 4px;
        min-width: 20px;
        color: var(--primary-color);
    }

    .info-item p {
        margin: 0;
        color: var(--gray-color);
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 3rem;
        position: relative;
        z-index: 10;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .copyright ul {
        justify-content: center;
    }
}

/* Mobile phones (480px - 767px) */
@media (max-width: 767px) {
    .mobile-sidebar {
        width: 280px;
        padding: 25px 20px;
    }

    .mobile-nav-list li a {
        font-size: 1rem;
        padding: 12px 0;
    }

    .logos {
        font-size: 1.3rem;
    }

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

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

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 1rem;
    }

    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }

    .offices h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .office-slider-wrapper {
        margin: 1rem 0;
    }

    .office-cards {
        padding: 0 0.5rem;
        margin-top: 1.5rem;
        height: 400px;
    }

    .office-card {
        padding: 1.5rem;
        left: 0.5rem;
        right: 0.5rem;
        width: calc(100% - 1rem);
        min-height: 360px;
    }

    .office-card.active {
        left: 0.5rem;
        right: 0.5rem;
        width: calc(100% - 1rem);
    }

    .office-card h3 {
        font-size: 1.5rem;
    }

    .office-card p {
        font-size: 0.95rem;
    }

    .info-item {
        gap: 0.8rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .slider-dots {
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active::before {
        width: 3px;
        height: 3px;
    }
}

/* Extra small screens (below 480px) */
@media (max-width: 479px) {
    .container {
        padding: 0 15px;
    }

    .mobile-sidebar {
        width: 260px;
        padding: 20px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

    .achievements h2 {
        font-size: 2rem;
    }

    .team h2 {
        font-size: 2rem;
    }

    .offices h2 {
        font-size: 1.8rem;
    }

    .office-card h3 {
        font-size: 1.3rem;
    }

    .office-card p {
        font-size: 0.9rem;
    }
}