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

/* Add Brand Colors */
:root {
  --color-primary:   #4b014b;  /* deep purple */
  --color-secondary: #ded1eb;  /* light lavender */
  --color-accent:    #de97ff;  /* accent lavender */
  --color-white:     #ffffff;
  --color-gray:      #746d6d;  /* mid gray */
  --color-black:     #000000;
}

/* 1) Garet Regular (Book) = weight 400 */
@font-face {
  font-family: 'Garet';
  src: url('fonts/Garet-Book.woff2') format('woff2'),
       url('fonts/Garet-Book.woff')  format('woff'),
       url('fonts/Garet-Book.ttf')   format('truetype'),
       url('fonts/Garet-Book.otf')   format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 2) Garet Heavy = weight 700 */
@font-face {
  font-family: 'Garet';
  src: url('fonts/Garet-Heavy.woff2') format('woff2'),
       url('fonts/Garet-Heavy.woff')  format('woff'),
       url('fonts/Garet-Heavy.ttf')   format('truetype'),
       url('fonts/Garet-Heavy.otf')   format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 250px;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-graphic img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.hero-graphic i {
    font-size: 8rem;
    opacity: 0.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Credentials Badges */
.credentials-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge i {
    font-size: 0.9rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.feature h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #6b7280;
    font-size: 0.9rem;
}

.profile-placeholder {
    width: 100%;
    max-width: 450px;
    height: auto;
    min-height: 200px;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-white) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.profile-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.profile-placeholder i {
    font-size: 8rem;
    color: white;
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #4b5563;
    line-height: 1.6;
}

.testimonial-author h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-top: 1rem;
}

.testimonial-rating i {
    color: #fbbf24;
    margin-right: 0.25rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
}

.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

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

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p {
    color: var(--color-secondary);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close {
    color: #9ca3af;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: #374151;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 1rem 0;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .btn {
        width: 100%;
        max-width: 200px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .about-text h2 {
        font-size: 2rem;
    }
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Terms and Conditions Styling */
.terms-section {
    padding: 120px 0 80px;
    background-color: #f9fafb;
}

.terms-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.terms-header {
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.terms-header h1 {
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.meta-info {
    font-size: 0.95rem;
    color: var(--color-gray);
}

.terms-body h2 {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 12px;
}

.terms-body p,
.terms-body ul,
.terms-body li {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.terms-body ul {
    padding-left: 1.5rem;
}

.disclaimer-box {
    background-color: var(--color-secondary);
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.disclaimer-box strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

.disclaimer-box p,
.disclaimer-box li {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.table-responsive {
    overflow-x: auto;
}

.terms-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.terms-body th,
.terms-body td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--color-secondary);
    color: var(--color-gray);
}

.terms-body th {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
}

.terms-body tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .terms-content {
        padding: 1.5rem;
    }
    .terms-header h1 {
        font-size: 2rem;
    }
}
