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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-weight: 400;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

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

.header:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #000;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.hero:hover::before {
    transform: scale(1.1);
    opacity: 0.8;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    transition: all 0.4s ease;
}

.hero:hover .hero-title {
    transform: translateY(-5px);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.hero:hover .title-line:nth-child(1) {
    transform: translateX(-10px);
}

.hero:hover .title-line:nth-child(2) {
    transform: translateX(10px);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    font-weight: 300;
    transition: all 0.4s ease;
}

.hero:hover .hero-subtitle {
    transform: translateY(-3px);
    color: #000;
}

.cta-button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.cta-button:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Metrics Section */
.metrics {
    padding: 80px 0;
    background: #000;
    color: #fff;
    position: relative;
}

.metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.metrics:hover::before {
    transform: translateX(100%);
}

.metrics-headline {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.metrics-microcopy {
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    padding: 1rem;
    border-radius: 12px;
}

.metric-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.metric-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
    transition: all 0.4s ease;
}

.metric-item:hover .metric-number {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.metric-item:hover .metric-label {
    opacity: 1;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 100px 0;
    transition: all 0.3s ease;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    transition: all 0.4s ease;
}

.section-title:hover {
    transform: scale(1.02);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    color: #555;
    transition: all 0.3s ease;
}

.section-subtitle:hover {
    color: #333;
    transform: translateY(-2px);
}

/* Services Section */
.services-carousel {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    padding: 1rem 0;
    /* Ensure smooth infinite scrolling */
    will-change: transform;
}

.service-card {
    flex: 0 0 300px;
    min-width: 300px;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
    word-wrap: break-word;
    overflow-wrap: break-word;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    transition: left 0.6s ease;
}

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

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.service-card * {
    max-width: 100%;
    box-sizing: border-box;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    transform: translateY(-2px);
    color: #333;
}

.service-card p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: #444;
    transform: translateY(-1px);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    z-index: 10;
    position: relative;
}

/* Carousel indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: #000;
    transform: scale(1.2);
}

.services-note {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.carousel-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.carousel-btn:hover::before {
    width: 100%;
    height: 100%;
}

.carousel-btn:hover {
    background: #333;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Transition Section */
.transition {
    background: #000;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
    transition: all 0.8s ease;
}

.transition:hover::before {
    transform: translateX(100%);
}

.transition-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    transition: all 0.4s ease;
}

.transition:hover .transition-title {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.transition-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.transition:hover .transition-text {
    opacity: 1;
    transform: translateY(-3px);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border-radius: 12px;
}

.process-step:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.02);
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.checkmark {
    width: 40px;
    height: 40px;
    stroke: #fff;
    stroke-width: 3;
    transition: all 0.3s ease;
}

.process-step:hover .checkmark {
    transform: scale(1.1);
    stroke-width: 4;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    transition: all 0.3s ease;
}

.process-step:hover h3 {
    transform: translateY(-2px);
    color: #333;
}

.process-step p {
    color: #555;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.process-step:hover p {
    color: #444;
    transform: translateY(-1px);
}













/* Testimonials Section */
.testimonials-carousel {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    /* Ensure proper carousel behavior */
}

.testimonial-card {
    flex: 0 0 400px;
    min-width: 400px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #000, #333, #000);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.testimonial-card * {
    max-width: 100%;
    box-sizing: border-box;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote {
    color: #000;
    transform: translateY(-2px);
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .client-info {
    transform: translateY(-2px);
}

.client-info strong {
    color: #000;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .client-info strong {
    color: #333;
}

.client-info span {
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .client-info span {
    color: #555;
}

/* Agents Section */
.agents {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.agents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.agents:hover::before {
    transform: scale(1.1);
    opacity: 0.8;
}

.agents .section-title {
    color: #000;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.agents .section-subtitle {
    color: rgba(0, 0, 0, 0.7);
}

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

.agent-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    will-change: transform, box-shadow;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.02) 0%, 
        rgba(0, 0, 0, 0.01) 50%, 
        rgba(0, 0, 0, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.agent-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 0, 0, 0.03) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    border-radius: 16px;
}

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

.agent-card:hover::after {
    transform: translateX(100%);
}

.agent-card:hover {
    border-color: #000;
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.agent-card:active {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.agent-card:focus {
    outline: 2px solid #000;
    outline-offset: 4px;
    border-color: #000;
}

.agent-card:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}

.agent-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.agent-card:hover .agent-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1.2) rotate(5deg) translateY(0);
    }
    40% {
        transform: scale(1.2) rotate(5deg) translateY(-8px);
    }
    60% {
        transform: scale(1.2) rotate(5deg) translateY(-4px);
    }
}

.agent-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.agent-card:hover h3 {
    transform: translateY(-3px);
    color: #333;
}

.agent-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.agent-card:hover p {
    color: #555;
    transform: translateY(-2px);
}

.agent-link {
    text-align: center;
    font-weight: 600;
    color: #000;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.agent-card:hover .agent-link {
    color: #000;
    transform: translateY(-2px);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.agent-card:hover .agent-link::after {
    content: ' →';
    opacity: 1;
    transform: translateX(5px);
    transition: all 0.3s ease;
}



/* About Section */
.about {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.about:hover::before {
    transform: scale(1.2);
    opacity: 0.8;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    transition: all 0.4s ease;
}

.about:hover .about-title {
    transform: scale(1.03);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
}

.about-text p:hover {
    transform: translateX(5px);
    color: #000;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

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

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    z-index: 1;
    position: relative;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    color: #fff;
}

.social-icon.youtube:hover {
    background: #ff0000;
    color: #fff;
}

.social-icon.twitter:hover {
    background: #000;
    color: #fff;
}

.social-icon.notion:hover {
    background: #000;
    color: #fff;
}

.social-icon.whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.cta-link {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.cta-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.cta-link:hover::after {
    width: 100%;
}

.cta-link:hover {
    color: #333;
    transform: translateY(-1px);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: #333;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    color: #555;
    transform: translateY(-1px);
}

.about-contact {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-contact .contact-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-contact .contact-line:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.about-contact .contact-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.about-contact .contact-line a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-contact .contact-line a:hover {
    color: #000;
    text-decoration: underline;
}

.about-contact .contact-line span:last-child {
    color: #333;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    pointer-events: none;
    transition: all 0.8s ease;
}

.footer:hover::before {
    transform: translateX(100%);
}

.marquee-container {
    overflow: hidden;
    padding: 2rem 0;
    background: #000;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    transition: all 0.3s ease;
    will-change: transform;
}

.footer:hover .marquee {
    animation-play-state: paused;
}

.marquee span {
    margin-right: 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.marquee span:hover {
    color: #ccc;
    transform: scale(1.05);
}

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

.footer-content {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.footer-content .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Footer Main Grid */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

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

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-social-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer Column Links */
.footer-column-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column-links li {
    margin-bottom: 0.75rem;
}

.footer-column-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-column-link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact Links */
.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.contact:hover::before {
    transform: scale(1.1);
    opacity: 0.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #000;
    transition: all 0.3s ease;
}

.contact-item:hover h3 {
    transform: translateY(-2px);
    color: #333;
}

.contact-item p {
    color: #666;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover p {
    color: #555;
    transform: translateY(-1px);
}

.contact-form-full {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    transition: all 0.3s ease;
}

.hidden {
    display: none;
}



.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.7;
    transform: translateX(5px);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.submit-btn:hover::before {
    width: 300%;
    height: 300%;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Calendar Section */
.calendar-section {
    margin-top: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.calendar-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.calendar-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.calendar-header p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.calendar-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-info-compact {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.meeting-brief {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.meeting-type-badge {
    background: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
}

.meeting-brief p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.calendar-container-compact {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    min-height: 280px;
}

.calendar-container-compact #my-cal-inline-work-with-us {
    min-height: 280px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Ensure proper spacing for mobile */
    .hero {
        padding: 100px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile contact form improvements */
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
    
    .calendar-section {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
    }
    
    .calendar-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .meeting-card {
        padding: 1.5rem;
    }
    
    .meeting-header h3 {
        font-size: 1.3rem;
    }
    
    .meeting-details {
        gap: 0.75rem;
    }
    
    .detail-row {
        padding: 0.6rem;
    }
    
    .calendar-right {
        padding: 1rem;
    }
    
    .calendar-embed {
        min-height: 280px;
    }
    
    .calendar-embed #my-cal-inline-work-with-us {
        min-height: 280px;
    }
    
    /* Mobile calendar improvements */
    .calendar-section {
        margin: 1rem 0;
    }
    
    .calendar-embed {
        width: 100%;
        min-height: 400px; /* Better mobile height */
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .agents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-description {
        max-width: none;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .marquee {
        animation-duration: 25s;
    }
    
    .marquee span {
        font-size: 1rem;
        margin-right: 2rem;
    }
    
    .carousel-container {
        gap: 1rem;
    }
    
    .service-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 1.5rem;
    }
    
    .testimonial-card {
        flex: 0 0 320px;
        min-width: 320px;
        padding: 1.5rem;
    }
    

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Extra small mobile improvements */
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .service-card {
        flex: 0 0 260px;
        min-width: 260px;
        padding: 1.25rem;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 1.25rem;
    }
    
    .agents {
        padding: 80px 0;
    }
    
    .agent-card {
        padding: 2rem 1.5rem;
        transform: none;
    }
    
    .agent-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .agent-icon {
        font-size: 2.5rem;
    }
    
    .carousel-controls {
        margin-top: 1.5rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    

    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .floating-nav {
        padding: 0 0.5rem;
    }
    
    /* Footer mobile improvements */
    .footer-main {
        gap: 1.5rem;
    }
    
    .footer-column-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-column-link {
        font-size: 0.9rem;
    }
    
    .marquee {
        animation-duration: 20s;
    }
    
    .marquee span {
        font-size: 0.9rem;
        margin-right: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .nav-link,
    .mobile-menu-toggle,
    button,
    .carousel-btn {
        min-height: 44px; /* Apple's recommended minimum touch target size */
        min-width: 44px;
    }
    
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve scrolling on mobile */
    .nav-menu {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Print styles */
@media print {
    .header,
    .carousel-controls,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
}

/* Additional Hover Effects */
.service-card,
.testimonial-card,
.stat-item {
    will-change: transform;
}

/* Smooth transitions for all interactive elements */
* {
    transition-property: transform, box-shadow, color, background-color, opacity, border-color;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover state for the entire page */
body:hover {
    cursor: default;
}

/* Enhanced button interactions */
button,
.carousel-btn,
.integration-item {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Micro-interactions for text elements */
h1:hover,
h2:hover,
h3:hover {
    cursor: text;
}

/* Enhanced focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
    border-radius: 4px;
}


