* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonts */
body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

p, a {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: linear-gradient(45deg, #ff6f61, #40c4b6);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #9b59b6;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.pexels.com/photos/1608383/pexels-photo-1608383.jpeg?auto=compress&cs=tinysrgb&w=1920') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.3), transparent);
    animation: glowPulse 4s infinite alternate;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 15px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    color: #ff6f61;
}

.hero-content p {
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #9b59b6;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #8e44ad;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #8e44ad;
}

/* Photo Gallery */
.gallery {
    position: relative;
    width: 100%;
    max-width: 1400px; /* Matches container */
    margin: 0 auto;
}

.gallery-wrapper {
    width: 100%;
    overflow: hidden; /* Clips the track to the visible area */
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    width: max-content; /* Expands to fit all images */
}

.gallery-track img {
    width: 800px;
    height: 400px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(64, 196, 182, 0.5);
    cursor: pointer;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.gallery-arrow:hover {
    background: rgba(155, 89, 182, 0.8);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-box {
    background-color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(155, 89, 182, 0.5), transparent);
    animation: lightSweep 5s infinite;
    pointer-events: none;
}

.feature-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 25px rgba(255, 111, 97, 0.7);
}

.feature-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.7rem;
    color: #ff6f61;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    font-size: 1.2rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.pricing-box {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-box h3 {
    font-size: 1.5rem;
    color: #ff6f61;
    margin-bottom: 10px;
}

.pricing-box p {
    font-size: 1.3rem;
    color: #666;
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #888;
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-box p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-box h4 {
    font-size: 1.2rem;
    color: #8e44ad;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #ff6f61, #40c4b6);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #8e44ad, #40c4b6);
    color: white;
    text-align: center;
}

#contact a {
    color: #9b59b6;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    color: white;
    font-size: 2rem;
    margin: 0 20px;
    transition: color 0.3s, text-shadow 0.3s;
}

.social-links a:hover {
    color: #9b59b6;
    text-shadow: 0 0 15px rgba(155, 89, 182, 0.9);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 1.2rem;
}

/* Animations */
@keyframes glowPulse {
    0% { opacity: 0.4; }
    100% { opacity: 0.7; }
}

@keyframes lightSweep {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin: 0 15px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .gallery-track img {
        width: 500px;
        height: 300px;
    }
}