/* 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;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 800;
    font-size: 28.8px; /* Increased by 60% from 18px */
    color: #ED8936;
}

.bee-icon {
    font-size: 38.4px; /* Increased by 60% from 24px */
    animation: buzz 2s ease-in-out infinite;
}

@keyframes buzz {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Colorful Navigation Buttons */
.nav-link-1 {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.nav-link-2 {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.nav-link-3 {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.nav-link-4 {
    background: linear-gradient(135deg, #9f7aea, #805ad5);
    color: white;
    box-shadow: 0 4px 15px rgba(159, 122, 234, 0.3);
}

.nav-link-5 {
    background: linear-gradient(135deg, #38b2ac, #319795);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 178, 172, 0.3);
}

.nav-link-6 {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(237, 137, 54, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(66, 153, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #ed8936, #f6ad55, #fbb040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #4299e1, #63b3ed, #90cdf4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite reverse;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.hero-description {
    font-size: 1.2rem;
    color: #a0aec0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(237, 137, 54, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Hero Images Grid */
.hero-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image-card:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    font-weight: 600;
    font-size: 16px;
}

.outdoor-card {
    background: linear-gradient(135deg, #48bb78, #38a169);
    display: flex;
    align-items: center;
    justify-content: center;
}

.outdoor-placeholder {
    text-align: center;
    color: white;
}

.outdoor-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.outdoor-text {
    font-size: 18px;
    font-weight: 600;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a0aec0;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(237, 137, 54, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ed8936;
}

.service-card p {
    color: #a0aec0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.service-features li {
    color: #cbd5e0;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.service-btn {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(237, 137, 54, 0.3);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.placeholder-item {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: white;
}

.placeholder-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.placeholder-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Reviews Section */
.reviews {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
}

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

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(237, 137, 54, 0.3);
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.review-content h4 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #ed8936;
}

.review-location {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-stars {
    margin-bottom: 15px;
}

.review-text {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-project {
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ed8936, #f6ad55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: #a0aec0;
    font-weight: 600;
}

.about-text {
    text-align: left;
}

.about-story p {
    margin-bottom: 20px;
    color: #cbd5e0;
    line-height: 1.7;
}

.signature {
    font-style: italic;
    color: #ed8936;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
}

/* Licensed & Insured Section */
.licensed-section {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #2d3748 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.licensed-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(237, 137, 54, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(66, 153, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.licensed-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.licensed-icon {
    flex-shrink: 0;
}

.star-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ed8936, #f6ad55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 20px 40px rgba(237, 137, 54, 0.3);
    animation: starPulse 3s ease-in-out infinite;
    position: relative;
}

.star-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #ed8936, #f6ad55);
    border-radius: 50%;
    opacity: 0.3;
    animation: starGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes starGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.licensed-text {
    flex: 1;
    max-width: 500px;
}

.licensed-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.licensed-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cbd5e0;
    margin: 0;
}

/* Mobile Responsive for Licensed Section */
@media (max-width: 768px) {
    .licensed-section {
        padding: 80px 0;
    }
    
    .licensed-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .star-icon {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .licensed-text h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .licensed-text p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .licensed-section {
        padding: 60px 0;
    }
    
    .licensed-content {
        gap: 25px;
    }
    
    .star-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .licensed-text h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .licensed-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

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

.contact-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.contact-item h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #ed8936;
}

.contact-item p {
    color: #cbd5e0;
}

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

.contact-note {
    color: #a0aec0;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Chat Widget Styles */
.intercom-namespace {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.intercom-frame {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 600px;
    background: #1a202c;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.intercom-frame.active {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.intercom-messenger {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.intercom-messenger-header {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.intercom-messenger-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.intercom-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.intercom-header-title {
    font-weight: 700;
    color: white;
    font-size: 16px;
}

.intercom-header-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.intercom-close-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.intercom-close-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.intercom-messenger-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a202c;
    min-height: 0; /* Critical for flex container */
}

.intercom-conversation {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 0; /* Critical for flex item */
    max-height: calc(100% - 120px); /* Reserve space for composer */
}

.intercom-comment {
    max-width: 80%;
    animation: messageSlide 0.3s ease-out;
}

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

.intercom-comment-from-admin {
    align-self: flex-start;
}

.intercom-comment-from-user {
    align-self: flex-end;
}

.intercom-comment-body {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.intercom-comment-from-admin .intercom-comment-body {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border-color: transparent;
}

.intercom-comment-from-user .intercom-comment-body {
    background: rgba(66, 153, 225, 0.2);
    border-color: rgba(66, 153, 225, 0.3);
}

.intercom-comment-text {
    color: white;
    line-height: 1.5;
    font-size: 14px;
}

.intercom-composer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a202c;
    flex-shrink: 0; /* Prevent composer from shrinking */
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.intercom-composer-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 10px 15px;
}

.intercom-composer-textarea {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    resize: none;
    outline: none;
    font-family: inherit;
    max-height: 100px;
}

.intercom-composer-textarea::placeholder {
    color: #a0aec0;
}

.intercom-composer-send-button {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
}

.intercom-composer-send-button:hover {
    transform: scale(1.1);
}

.intercom-composer-send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.intercom-launcher {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.intercom-launcher:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(237, 137, 54, 0.5);
}

.intercom-launcher-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 15px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a0aec0;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 60px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .intercom-frame {
        width: 350px;
        height: 500px;
        bottom: 70px;
        right: -10px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .intercom-frame {
        width: calc(100vw - 40px);
        right: -10px;
        left: 10px;
    }
    
    .hero-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-grid,
    .portfolio-grid,
    .reviews-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}



/* Mobile Chat Widget Fixes */
@media (max-width: 768px) {
    .intercom-namespace {
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        position: fixed !important;
        z-index: 9999 !important;
    }
    
    .intercom-frame {
        bottom: 70px !important;
        right: 15px !important;
        left: 15px !important;
        width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
        height: 500px !important;
        border-radius: 15px !important;
        position: fixed !important;
        z-index: 9998 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .intercom-launcher {
        width: 55px !important;
        height: 55px !important;
        font-size: 22px !important;
        position: fixed !important;
        bottom: 15px !important;
        right: 15px !important;
        z-index: 9999 !important;
    }
    
    .intercom-messenger {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .intercom-messenger-body {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
    
    .intercom-conversation {
        flex: 1 !important;
        padding: 15px !important;
        overflow-y: auto !important;
        min-height: 0 !important;
        max-height: calc(100% - 100px) !important;
    }
    
    .intercom-composer {
        flex-shrink: 0 !important;
        padding: 15px !important;
        background: #1a202c !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        position: sticky !important;
        bottom: 0 !important;
        z-index: 10 !important;
    }
    
    .intercom-messenger-header {
        padding: 15px 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .intercom-messenger-header h3 {
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .intercom-messenger-header p {
        font-size: 13px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .intercom-conversation {
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .intercom-comment {
        margin-bottom: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    /* Ensure no elements extend beyond viewport */
    .intercom-namespace * {
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    /* Hide any overflow that might cause horizontal scrolling */
    body {
        overflow-x: hidden !important;
    }
}
    
    .intercom-comment-body {
        max-width: calc(100% - 20px);
        padding: 12px 16px;
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .intercom-composer {
        padding: 15px;
    }
    
    .intercom-composer-input-wrapper {
        padding: 8px 12px;
    }
    
    .intercom-composer-textarea {
        font-size: 14px;
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .intercom-namespace {
        bottom: 10px;
        right: 10px;
    }
    
    .intercom-frame {
        bottom: 65px;
        right: -10px;
        left: 10px;
        width: auto;
        max-width: calc(100vw - 20px);
        height: 450px;
        border-radius: 12px;
    }
    
    .intercom-launcher {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .intercom-messenger-header {
        padding: 12px 15px;
    }
    
    .intercom-messenger-header h3 {
        font-size: 15px;
    }
    
    .intercom-messenger-header p {
        font-size: 12px;
    }
    
    .intercom-conversation {
        padding: 10px;
    }
    
    .intercom-comment-body {
        max-width: calc(100% - 15px);
        padding: 10px 14px;
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .intercom-composer {
        padding: 10px;
    }
    
    .intercom-composer-input-wrapper {
        padding: 6px 10px;
    }
    
    .intercom-composer-textarea {
        font-size: 13px;
        max-height: 60px;
    }
    
    .intercom-composer-send-button {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* iPhone Specific Fixes */
@media (max-width: 414px) and (-webkit-min-device-pixel-ratio: 2) {
    .intercom-frame {
        bottom: 60px;
        right: -5px;
        left: 5px;
        width: auto;
        max-width: calc(100vw - 10px);
        height: 420px;
    }
    
    .intercom-comment-body {
        max-width: calc(100% - 10px);
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .intercom-frame {
        height: 400px;
    }
    
    .intercom-comment-body {
        padding: 8px 12px;
        font-size: 12px;
        max-width: calc(100% - 5px);
    }
    
    .intercom-composer-textarea {
        font-size: 12px;
    }
}


/* Enhanced Portfolio Styles */
.portfolio-category {
    margin-top: 80px;
    margin-bottom: 60px;
}

.portfolio-category-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #ed8936, #f6ad55, #4299e1, #63b3ed);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

.portfolio-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1) 0%, rgba(66, 153, 225, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.portfolio-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ed8936, #4299e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-cta p {
    font-size: 1.2rem;
    color: #cbd5e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(237, 137, 54, 0.4);
    background: linear-gradient(135deg, #f6ad55, #ed8936);
}

/* Enhanced Portfolio Grid Responsiveness */
@media (max-width: 768px) {
    .portfolio-category {
        margin-top: 60px;
        margin-bottom: 40px;
    }
    
    .portfolio-category-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .portfolio-cta {
        margin-top: 60px;
        padding: 40px 20px;
    }
    
    .portfolio-cta h3 {
        font-size: 2rem;
    }
    
    .portfolio-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .portfolio-category-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .portfolio-cta h3 {
        font-size: 1.8rem;
    }
    
    .portfolio-cta p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}



/* ========================================
   EMOJI ANIMATIONS - BRINGING SERVICES TO LIFE
   ======================================== */

/* 🔨 Hammer Animation - Kitchen Renovations */
.service-card:nth-child(1) .service-icon {
    animation: hammer-swing 2s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes hammer-swing {
    0%, 100% { 
        transform: rotate(0deg); 
    }
    25% { 
        transform: rotate(-15deg); 
    }
    50% { 
        transform: rotate(0deg); 
    }
    75% { 
        transform: rotate(15deg); 
    }
}

/* 🛁 Bathtub with Bubbles Animation - Bathroom Renovations */
.service-card:nth-child(2) .service-icon {
    position: relative;
    animation: gentle-float 3s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon::before {
    content: '💧💧💧';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    animation: bubbles-rise 2s ease-in-out infinite;
    opacity: 0.8;
}

.service-card:nth-child(2) .service-icon::after {
    content: '✨💧✨';
    position: absolute;
    top: -35px;
    left: 30%;
    transform: translateX(-50%);
    font-size: 10px;
    animation: bubbles-rise 2.5s ease-in-out infinite 0.5s;
    opacity: 0.6;
}

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

@keyframes bubbles-rise {
    0% { 
        transform: translateX(-50%) translateY(0px);
        opacity: 0;
    }
    50% { 
        transform: translateX(-50%) translateY(-10px);
        opacity: 1;
    }
    100% { 
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
}

/* 🏠 House with Family Animation - Home Additions */
.service-card:nth-child(3) .service-icon {
    position: relative;
    animation: house-glow 4s ease-in-out infinite;
}

.service-card:nth-child(3) .service-icon::before {
    content: '👨‍👩‍👧‍👦';
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    font-size: 16px;
    animation: family-walk 6s linear infinite;
    opacity: 0;
}

@keyframes house-glow {
    0%, 100% { 
        filter: brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.2);
        transform: scale(1.05);
    }
}

@keyframes family-walk {
    0% { 
        left: -40px;
        opacity: 0;
    }
    20% { 
        opacity: 1;
    }
    80% { 
        opacity: 1;
    }
    100% { 
        left: 20px;
        opacity: 0;
    }
}

/* 🏗️ Construction Crane Animation - New Construction */
.service-card:nth-child(4) .service-icon {
    animation: crane-lift 3s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes crane-lift {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotate(-2deg); 
    }
    50% { 
        transform: translateY(-12px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-8px) rotate(2deg); 
    }
}

/* Enhanced Service Card Hover Effects */
.service-card:hover .service-icon {
    animation-duration: 1s !important;
    transform: scale(1.1);
}

/* Mobile Responsiveness for Animations */
@media (max-width: 768px) {
    .service-card:nth-child(2) .service-icon::before,
    .service-card:nth-child(2) .service-icon::after {
        font-size: 10px;
        top: -15px;
    }
    
    .service-card:nth-child(3) .service-icon::before {
        font-size: 14px;
        left: -35px;
    }
}

/* Performance Optimization */
.service-icon {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

