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

:root {
    --primary-color: #62d6ce;
    --secondary-color: #1c1d22;
    --accent-color: #62d6ce;
    --dark: #333333;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --gray: #666666;
    --gray-light: #E5E7EB;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', Helvetica, Arial, sans-serif;
    line-height: 1.8;
    color: var(--dark);
    background-color: var(--white);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #4fbfb7;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
    width: 100%;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 5px;
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.nav-menu .cta-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 6px;
}

.nav-menu .cta-btn:hover {
    background-color: #4fbfb7;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 29, 34, 0.4);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(28, 29, 34, 0.5) 0%, rgba(28, 29, 34, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats .stat h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.hero-stats .stat p {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: 100px 0;
    background-color: var(--light);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.service-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--dark);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================
   Projects Section
   ========================================== */
.projects {
    padding: 100px 0;
    background-color: var(--white);
}

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

.project-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.project-location {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.project-description {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tag {
    display: inline-block;
    background-color: var(--light);
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    background-color: #1a1a2e;
}

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

.about-photos {
    position: relative;
}

.job-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.collage-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

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

.collage-secondary {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    border-radius: 12px;
    overflow: hidden;
}

.collage-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 250px;
}

.collage-tertiary {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
}

.collage-tertiary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 250px;
}

.section-label {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.3;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.about-features .feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #4fbfb7;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(98, 214, 206, 0.3);
}

/* Legacy styles - keeping for backwards compatibility */
.about-content .lead {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.team-photo {
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    margin-bottom: 30px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.certifications {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.certifications h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.certifications ul {
    list-style: none;
}

.certifications li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--dark);
}

.certifications li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

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

.testimonial-card {
    background-color: var(--light);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: 100px 0;
    background-color: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    padding-right: 30px;
}

.contact-info h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 35px;
}

.info-item {
    margin-bottom: 35px;
}

.info-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 1rem;
}

.info-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.info-item a:hover {
    text-decoration: underline;
}

.info-item p {
    color: var(--gray);
    line-height: 1.6;
}

.service-area {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}

.service-area h4 {
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.service-area p {
    color: var(--gray);
    line-height: 1.7;
}

.contact-form {
    background-color: var(--white);
    padding: 60px 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-light);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* ==========================================
   Before/After Gallery Section
   ========================================== */
.before-after-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.before-after-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.before-after-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comparison-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: ew-resize;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.after-image {
    clip-path: inset(0 50% 0 0);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    color: var(--white);
}

.image-placeholder.before {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
}

.image-placeholder.after {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4fbfb7 100%);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.project-details {
    padding: 25px;
}

.project-details h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.project-details p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 8px;
}

.project-details strong {
    color: var(--dark);
}

/* ==========================================
   Trust Badges Section
   ========================================== */
.trust-badges {
    padding: 60px 0;
    background-color: var(--light);
}

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

.badge-item {
    text-align: center;
    padding: 20px;
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.badge-item h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.badge-item p {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ==========================================
   Instant Estimate Calculator
   ========================================== */
.estimate-calculator {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.calculator-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.calculator-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.calculator-form {
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h3 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-bottom: 40px;
}

.option-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.option-btn {
    background-color: var(--light);
    border: 2px solid var(--gray-light);
    padding: 30px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.option-btn.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

.option-icon {
    font-size: 2.5rem;
}

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

.price-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.price-low, .price-high {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-divider {
    font-size: 2rem;
    color: var(--gray);
}

.estimate-note {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.contact-capture {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-capture input {
    padding: 14px;
    border: 2px solid var(--gray-light);
    border-radius: 6px;
    font-size: 1rem;
}

.calculator-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.btn-nav {
    background-color: transparent;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    padding: 10px 20px;
}

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

.progress-dots {
    display: flex;
    gap: 10px;
}

.progress-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-light);
    transition: all 0.3s ease;
}

.progress-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Click-to-Call Floating Button */
.click-to-call {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.click-to-call:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.click-to-call::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse 2s infinite;
}

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


/* ==========================================
   Image Carousel for Service Cards
   ========================================== */
.service-carousel {
    position: relative;
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
    overflow: hidden;
    pointer-events: auto;
}

.service-carousel-slides {
    position: relative;
    height: 280px;
    width: 100%;
}

.service-carousel-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-carousel-slide.active {
    display: block;
}

.service-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    position: relative;
    z-index: 1;
    object-position: center;
    border-radius: 8px;
    display: block;
}

.carousel-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer !important;
    font-size: 26px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
    user-select: none;
    -webkit-user-select: none;
    line-height: 1;
    pointer-events: all !important;
}

.carousel-nav:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 15px;
}

.carousel-nav.next {
    right: 15px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .job-collage {
        max-width: 600px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-cta {
        flex-direction: column;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

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

    .hero-stats .stat h3 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .service-card,
    .contact-form {
        padding: 25px;
    }
}

/* ==========================================
   Image Lightbox Modal
   ========================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 10px 20px;
    line-height: 1;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 60px;
    cursor: pointer;
    padding: 20px 25px;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10001;
    border-radius: 8px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.service-carousel-slide img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-carousel-slide img:hover {
    transform: scale(1.02);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
