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

:root {
    --primary-color: #1E3A5F;
    --secondary-color: #D4AF37;
    --background-color: #FFFFFF;
    --text-color: #2C3E50;
    --light-gray: #F8F9FA;
    --dark-gray: #6B7280;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.accent {
    color: var(--secondary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(30px);
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 400px;
    opacity: 0;
    transform: translateY(30px);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 50px;
    right: 50px;
    opacity: 0.3;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    bottom: 50px;
    left: 50px;
    opacity: 0.2;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    top: 150px;
    left: 150px;
    opacity: 0.15;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
}

/* About Section */
.about {
    background: var(--white);
}

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

.about-description {
    margin-bottom: 20px;
    color: var(--dark-gray);
    opacity: 0;
    transform: translateY(30px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.about-image {
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 4rem;
    box-shadow: var(--shadow-lg);
}

.placeholder-icon {
    margin-bottom: 15px;
}

.image-placeholder p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Services Section */
.services {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

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

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-description {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
}

/* Testimonials Section */
.testimonials {
    background: var(--light-gray);
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.author-name {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-title {
    font-size: 0.85rem;
    color: var(--dark-gray);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    opacity: 0;
    transform: translateY(30px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--dark-gray);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

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

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

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

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

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

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary-color);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .about-photo {
        max-width: 100%;
    }
}

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

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

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .contact-form {
        padding: 25px;
    }
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 120px 0 80px;
    color: var(--white);
}

.service-hero-content {
    text-align: center;
}

.back-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: var(--transition);
}

.back-link:hover {
    opacity: 0.8;
}

.service-hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.service-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
}

.service-overview {
    padding: 80px 0;
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-text h2 {
    margin-bottom: 20px;
}

.overview-text p {
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.overview-features {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
}

.overview-features h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.overview-features ul {
    list-style: none;
}

.overview-features li {
    padding: 8px 0;
    color: var(--dark-gray);
}

.service-included {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.included-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

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

.included-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.included-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.sample-downloads {
    padding: 80px 0;
    background: var(--white);
}

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

.sample-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

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

.sample-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.sample-card p {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.sample-file-type {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
}

.download-btn {
    font-size: 0.85rem;
    padding: 8px 20px;
}

.subjects-covered {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.subject-item {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.subject-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.faq-section {
    padding: 80px 0;
    background: var(--white);
}

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

.faq-item {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.faq-question {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-answer {
    color: var(--dark-gray);
    line-height: 1.6;
}

.why-choose {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.choose-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

.choose-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.choose-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.choose-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cta-buttons .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

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

/* Responsive Design for Service Pages */
@media (max-width: 968px) {
    .overview-content {
        grid-template-columns: 1fr;
    }

    .service-hero-title {
        font-size: 2.5rem;
    }

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

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

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

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

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

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Sample Modal Styles */
.sample-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-files-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.modal-file-item:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.modal-file-name {
    font-weight: 500;
    color: var(--primary-color);
}

.modal-file-download {
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.modal-file-download:hover {
    background: var(--secondary-color);
}

.no-files {
    text-align: center;
    color: var(--dark-gray);
    padding: 30px;
}

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

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* Responsive Design for WhatsApp Button */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
