body {
    background: linear-gradient(135deg, #f0f4ff 0%, #dbeafe 100%);
}

/* Services Hero Section */
.hero-section {
    background: url('img/servies.webp') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
  }

  .hero-text {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 20px 40px;
    border: 5px solid white;
  }

  .hero-text span {
    display: block;
  }

/* Booking Steps Section */
.booking-steps {
    padding: 4rem 2rem;
    background: linear-gradient(120deg, #e0f2fe, #dbeafe, #e0e7ff);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(147, 197, 253, 0.15), transparent 60%),
        radial-gradient(circle at bottom left, rgba(165, 180, 252, 0.15), transparent 60%);
    pointer-events: none;
}

.booking-steps h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-box {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.1);
}

.step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.2);
}

.step-box i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.step-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-box p {
    color: #666;
}

/* PG Listings Section */
.pg-listings {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f7ff, #e8f3ff, #edf4ff);
    position: relative;
    overflow: hidden;
    color: var(--text-color);
}

.pg-listings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.08), transparent 40%);
    pointer-events: none;
}

.pg-listings h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.pg-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pg-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pg-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.2);
}

.pg-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.pg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gold-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pg-info {
    padding: 1.5rem;
}

.pg-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.3rem;
    color: #2563eb;
    font-weight: 600;
}

.price span {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.pg-buttons {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
}

.schedule-btn,
.enquire-btn {
    flex: 1;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.schedule-btn {
    background: #2563eb;
    color: white;
    border: none;
}

.schedule-btn:hover {
    background: #1d4ed8;
}

.enquire-btn {
    background: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
}

.enquire-btn:hover {
    background: rgba(37, 99, 235, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    margin: 2rem auto;
    max-width: 1000px;
    width: 90%;
    border-radius: 12px;
    position: relative;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.15);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    z-index: 10;
}

.pg-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pg-details-image {
    width: 100%;
}

.main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.image-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.1);
}

.image-thumbnails img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.2);
}

.modal-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
}

.pg-details-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.modal-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    margin-bottom: 1rem;
}

.modal-price {
    font-size: 1.5rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-address {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.amenities h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.amenities-section {
    margin-bottom: 2rem;
}

.amenities-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #444;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.amenities-grid span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero {
        height: 50vh;
    }

    .services-content h1 {
        font-size: 2.5rem;
    }

    .pg-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .pg-details-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-content h1 {
        font-size: 2rem;
    }

    .pg-buttons {
        flex-direction: column;
    }

    .image-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-buttons {
        flex-direction: column;
    }
}

body {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f3ff 50%, #edf4ff 100%);
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(147, 197, 253, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(165, 180, 252, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}