/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(201,169,97,0.95) 0%, rgba(180,148,77,0.95) 100%);
    color: white;
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    width: 100%;
    text-align: left;
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
    max-width: 800px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.4));
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1.4rem 3.5rem;
    background: white;
    color: #c9a961;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    background: #c9a961;
    color: white;
}

.cta-button i {
    color: #c9a961;
    font-size: 1.1em;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover i {
    color: white;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Services Section */
.services {
    padding: 6rem 3rem !important;
    background: #f8f9fa !important;
}

.services-grid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2.5rem !important;
}

.service-card {
    background: white !important;
    padding: 3rem 2.5rem !important;
    border-radius: 15px !important;
    transition: all 0.3s !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

.service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 12px 35px rgba(201,169,97,0.2) !important;
    border-color: #c9a961 !important;
}

.service-icon {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    display: inline-block !important;
}

.service-card h3 {
    font-size: 1.6rem !important;
    margin-bottom: 1rem !important;
    color: #2c3e50 !important;
}

.service-card p {
    font-size: 1rem !important;
    color: #6c757d !important;
    line-height: 1.8 !important;
}

/* Equipment Section */
.equipment {
    padding: 6rem 3rem;
    background: #f8f9fa;
}

.equipment-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.equipment-image {
    flex: 1;
}

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

.equipment-text {
    flex: 1;
}

.equipment-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.equipment-highlight {
    color: #D4AF37;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Services Section */
.services {
    padding: 6rem 3rem !important;
    background: #f8f9fa !important;
}

.services-container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3rem !important;
}

.services-container a {
    display: block;
}

.procedure-card {
    position: relative !important;
    width: 500px !important;
    height: 500px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    transition: transform 0.4s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.procedure-card:hover {
    transform: scale(1.05) !important;
}

.procedure-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: opacity 0.4s ease !important;
    display: block !important;
}

.procedure-image.colored {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0 !important;
    transform: scale(1.03) !important; /* Slightly larger to cover any gaps */
}

.procedure-card:hover .procedure-image.colored {
    opacity: 1 !important;
}

.hc-element {
    width: 140px;
    height: auto;
    flex-shrink: 0;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablets and smaller (max-width: 968px) */
@media (max-width: 968px) {
    /* Hero Section */
    .hero {
        padding: 6rem 2rem;
    }

    .hero-content {
        padding: 0 3rem;
    }

    .hero h1 {
        font-size: 4.5rem;
        letter-spacing: -1px;
    }

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

    /* Services Container */
    .services-container {
        flex-direction: column !important;;
        gap: 2rem !important;;
    }

    .procedure-card {
        width: 100% !important;;
        max-width: 400px !important;;
        height: 400px !important;;
    }

    .hc-element {
        width: 100px;
        margin: 1rem 0;
    }

    /* About Section */
    .about-content {
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 6rem 0;
    }

    .hero-content {
        padding: 0 2rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero p {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
    }

    .cta-button {
        padding: 1.2rem 3rem;
        font-size: 1rem;
    }

    /* Services Section */
    .services {
        padding: 4rem 1.5rem !important;;
    }

    .services-grid {
        grid-template-columns: 1fr !important;;
        gap: 2rem !important;;
    }

    .service-card {
        padding: 2.5rem 2rem !important;;
    }

    .service-icon {
        font-size: 3rem !important;;
    }

    .service-card h3 {
        font-size: 1.4rem !important;;
    }

    /* Procedure Cards */
    .procedure-card {
        max-width: 350px !important;;
        height: 350px !important;;
    }

    .hc-element {
        width: 80px;
    }

    /* Equipment Section */
    .equipment {
        padding: 4rem 1.5rem;
    }

    .equipment-content {
        flex-direction: column;
        gap: 2rem;
    }

    .equipment-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* About Section */
    .about {
        padding: 4rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-img {
        height: 300px;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Hero Section */
    .hero {
        padding: 5rem 0;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
        margin-bottom: 1.25rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }

    /* Services Section */
    .services {
        padding: 3rem 1rem !important;;
    }

    .service-card {
        padding: 2rem 1.5rem !important;;
    }

    .service-icon {
        font-size: 2.5rem !important;;
        margin-bottom: 1rem !important;;
    }

    .service-card h3 {
        font-size: 1.3rem !important;;
    }

    .service-card p {
        font-size: 0.95rem !important;;
    }

    /* Procedure Cards */
    .procedure-card {
        max-width: 300px !important;;
        height: 300px !important;;
        border-radius: 10px !important;;
    }

    .hc-element {
        width: 70px;
    }

    /* Equipment Section */
    .equipment {
        padding: 3rem 1rem;
    }

    .equipment-text p {
        font-size: 0.95rem;
        text-align: justify;
    }

    .equipment-image img {
        border-radius: 8px;
    }

    /* About Section */
    .about {
        padding: 3rem 1rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-image {
        border-radius: 10px;
    }

    .about-img {
        height: 250px;
    }

    /* Touch-friendly hover states */
    .procedure-card:active {
        transform: scale(0.98);
    }

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

/* Very small devices (max-width: 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .procedure-card {
        max-width: 280px !important;;
        height: 280px !important;;
    }
}