/* ============================================= */
/* ============= GOOGLE FONTS & RESET ========== */
/* ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #007BFF;
    --secondary-color: #00C6FF;
    --dark-color: #232323;
    --light-color: #f4f4f4;
    --white-color: #fff;
    --text-color: #555;
    --success-color: #28a745;
    --error-color: #dc3545;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background-color: var(--white-color);
    color: var(--text-color);
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================= */
/* ================== UTILITIES ================ */
/* ============================================= */
.content-section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    color: #777;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

/* ============================================= */
/* ============== HEADER & NAVBAR ============== */
/* ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar {
    height: var(--navbar-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.logo {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white-color);
}
.header.scrolled .logo { color: var(--primary-color); }
.logo span { color: var(--secondary-color); }

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--white-color);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.header.scrolled .nav-link { color: var(--dark-color); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--primary-color); }

.hamburger { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white-color);
    transition: all 0.3s ease-in-out;
}
.header.scrolled .bar { background-color: var(--dark-color); }

/* ============================================= */
/* ================= HERO SLIDER =============== */
/* ============================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide.active { opacity: 1; }
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white-color);
    text-align: center;
    max-width: 800px;
    padding: 0 1rem;
}
.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.slider-nav button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--white-color);
    color: var(--white-color);
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}
.slider-nav button:hover { background: rgba(255, 255, 255, 0.4); }

/* ============================================= */
/* ================== SECTIONS ================= */
/* ============================================= */
#about { background-color: var(--light-color); }
#services { background-color: var(--white-color); }
#gallery { background: linear-gradient(to right, #eef2f3, #8e9eab); }
#team { background-color: var(--white-color); }
#testimonials { background-color: var(--light-color); }
#pricing { background-color: var(--white-color); }
#contact { background: linear-gradient(to top, #f4f4f4, #fff) }

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about-text h3 { font-size: 2rem; color: var(--dark-color); margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.5rem; }

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}
.card-image { height: 200px; overflow: hidden; }
.card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .card-image img { transform: scale(1.1); }
.card-content { padding: 1.5rem; text-align: center;}
.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    
    -webkit-text-fill-color: transparent;
}
.card-content h3 { font-size: 1.5rem; color: var(--dark-color); margin-bottom: 0.5rem; }

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.1); filter: brightness(0.8); }

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.team-card {
    text-align: center;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}
.team-card-img {
    height: 350px;
    overflow: hidden;
}
.team-card-img img {
    width: 100%; height: 100%; object-fit: cover; object-position: top;
}
.team-card-info { padding: 1.5rem; }
.team-card-info h3 { font-size: 1.5rem; margin-bottom: 0.25rem; color: var(--dark-color); }
.team-card-info p { color: var(--primary-color); font-weight: 500; margin-bottom: 1rem; }
.team-socials a {
    color: var(--text-color);
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.team-socials a:hover { color: var(--primary-color); }

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border-top: 4px solid var(--primary-color);
}
.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.1;
}
.testimonial-text { font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; }
.testimonial-author img {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}
.testimonial-author h4 { color: var(--dark-color); font-size: 1.1rem; }
.testimonial-stars { margin-top: 1rem; color: #ffc107; }

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}
.pricing-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.pricing-card:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); transform: translateY(-10px); }
.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}
.popular-badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
.pricing-header .pricing-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.pricing-header h3 { font-size: 1.8rem; color: var(--dark-color); margin-bottom: 0.5rem; }
.price { font-size: 3rem; font-weight: 700; color: var(--dark-color); margin-bottom: 1.5rem; }
.price sup { font-size: 1.5rem; font-weight: 500; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-color); }
.features { text-align: left; margin-bottom: 2rem; }
.features li { margin-bottom: 0.8rem; display: flex; align-items: center; }
.features li i {
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}
.features li .fa-check { color: var(--success-color); }
.features li .fa-times { color: var(--error-color); }

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: flex-start;
}
.contact-info h3, .contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}
.contact-info p { margin-bottom: 1rem; display: flex; align-items: center; }
.contact-info i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}
.social-links { margin-top: 2rem; }
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: #eee;
    color: var(--dark-color);
    margin-right: 10px;
    transition: all 0.3s ease;
    
}
.contact-info .social-links i{
    margin-left: 15px;
}
.social-links a:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.form-group { position: relative; flex: 1 1 calc(50% - 0.75rem); }
.form-group.form-group-full { flex-basis: 100%; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--white-color);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    display: none;
    margin-top: 5px;
}
.form-group.error .error-message { display: block; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--error-color); }
.form-group.success input,
.form-group.success select,
.form-group.success textarea { border-color: var(--success-color); }
.contact-form button { flex-basis: 100%; }


/* ============================================= */
/* ================== FOOTER =================== */
/* ============================================= */
.footer {
    background-color: var(--dark-color);
    color: #aaa;
    padding: 4rem 0 2rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-section h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.footer-section h4 span { color: var(--secondary-color); }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
    transition: all 0.3s ease;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 2rem;
}

/* ============================================= */
/* =========== SCROLL REVEAL ANIMATION ========= */
/* ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.slide.active .reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn-up 0.8s ease forwards;
}
.slide.active .reveal:nth-child(1) { animation-delay: 0.2s; }
.slide.active .reveal:nth-child(2) { animation-delay: 0.4s; }
.slide.active .reveal:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn-up {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================= */
/* ============= MEDIA QUERIES ================= */
/* ============================================= */

@media (max-width: 992px) {
    .section-title { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .about-image { margin-bottom: 2rem; }
    .pricing-card.featured { transform: scale(1); }
    .contact-info { text-align: center; }
    .contact-info p { justify-content: center; }
    .social-links { text-align: center; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--navbar-height);
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    .nav-links.active { left: 0; }
    .nav-link { margin: 1rem 0; color: var(--dark-color); }
    .header.scrolled .nav-link { color: var(--dark-color); }
    .hamburger { display: block; z-index: 1001; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .form-group { flex-basis: 100%; }
}