/* 
 * Main Stylesheet
 */

/* ---------- Reset & Base Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    color: #4a6fdc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2d4ba0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #4a6fdc;
    color: #fff;
    border: 2px solid #4a6fdc;
}

.primary-btn:hover {
    background-color: #2d4ba0;
    border-color: #2d4ba0;
    color: #fff;
}

.secondary-btn {
    background-color: transparent;
    color: #4a6fdc;
    border: 2px solid #4a6fdc;
}

.secondary-btn:hover {
    background-color: #4a6fdc;
    color: #fff;
}

/* ---------- Sections with Anchors ---------- */
section[id] {
    scroll-margin-top: 80px;
}

/* ---------- Header ---------- */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.domain-logo {
    font-size: 28px;
    font-weight: 700;
    color: #4a6fdc;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: #333;
    font-weight: 600;
}

.main-nav a:hover {
    color: #4a6fdc;
}

.mobile-menu-toggle {
    display: none;
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 80px 0;
    background-color: #f2f6ff;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

/* ---------- Services Section ---------- */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
}

.service-card .btn {
    margin: 0 20px 20px;
}

/* ---------- About Section ---------- */
.about {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.about-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a6fdc;
    font-weight: bold;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 80px 0;
    background-color: #4a6fdc;
    color: #fff;
}

.testimonials .section-title {
    color: #fff;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
}

/* ---------- FAQ Section ---------- */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
    overflow: hidden;
}

.faq-toggle-form {
    margin: 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover, .faq-question.active {
    background-color: #f0f0f0;
}

.toggle-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
}

.faq-answer.open {
    display: block;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
}

.privacy-checkbox input {
    width: auto;
    margin-right: 10px;
}

.privacy-checkbox label {
    margin: 0;
    font-weight: normal;
}

.contact-info {
    background-color: #4a6fdc;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
}

.contact-info h3 {
    color: #fff;
    margin-top: 30px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
}

.contact-image {
    margin-top: 25px;
    text-align: center;
}

.contact-image img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.contact-info a {
    color: #fff;
    text-decoration: underline;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo p {
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links h3,
.footer-policies h3,
.footer-contact h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-policies ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-policies li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-policies a {
    color: #ccc;
}

.footer-links a:hover,
.footer-policies a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
}

/* ---------- Thank You Page ---------- */
.thank-you {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 40px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
    border: 2px solid #4a6fdc;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you h1 {
    color: #4a6fdc;
    margin-bottom: 30px;
}

.thank-you p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.thank-you-actions {
    margin-top: 40px;
}

/* ---------- Policy Pages ---------- */
.policy-page {
    padding: 60px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.last-updated {
    text-align: right;
    color: #777;
    margin-bottom: 30px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.policy-section h3 {
    margin-top: 25px;
    font-size: 1.3rem;
}

/* ---------- Cookie Consent ---------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    display: none; /* Hidden by default, shown via JS */
}

.cookie-consent p {
    margin: 0;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.accept-cookies {
    background-color: #4a6fdc;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.learn-more {
    color: #fff;
    text-decoration: underline;
    padding: 8px 0;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .menu-button {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        height: 24px;
        justify-content: space-between;
        padding: 0;
        width: 30px;
    }
    
    .menu-button span {
        background-color: #333;
        display: block;
        height: 3px;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .policy-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}
