/* 
 * Main Stylesheet for domain
 * Colors:
 * - Primary: Deep Midnight Blue (#0A1F44)
 * - Secondary: Vibrant Coral (#FF5E5B)
 * - Accent: Golden Sand (#FFD166)
 * - Background: Soft Ivory (#FFF9F2)
 * - Text: Charcoal Grey (#333333)
*/

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #FFF9F2;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 0.8em;
    line-height: 1.2;
    color: #0A1F44;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

a {
    color: #FF5E5B;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFD166;
}

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

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: white;
}

/* Section Divider - Angled Shape */
.section-divider {
    height: 100px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.section-divider.inverted::before {
    background: #FFF9F2;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #FF5E5B;
    color: white;
}

.btn-primary:hover {
    background-color: #0A1F44;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 31, 68, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #0A1F44;
    border: 2px solid #0A1F44;
}

.btn-secondary:hover {
    background-color: #0A1F44;
    color: white;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFF9F2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0A1F44;
}

.logo a:hover {
    color: #FF5E5B;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #0A1F44;
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF5E5B;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
}

.menu-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #0A1F44;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: url('./img/9vaZ5H.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 90px;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero .btn {
    animation: fadeIn 1s ease 0.6s both;
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1 1 500px;
    animation: fadeInLeft 1s ease;
}

.about-image {
    flex: 1 1 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.2);
    transform: rotate(2deg);
    animation: fadeInRight 1s ease;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background-color: white;
    position: relative;
}

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

.service-card {
    background-color: #FFF9F2;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 31, 68, 0.1);
}

.service-card h3 {
    color: #FF5E5B;
    margin-top: 15px;
}

.service-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #FFF9F2;
    border-radius: 10px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* Benefits Section */
.benefits {
    position: relative;
    background-color: #FFF9F2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon img {
    transform: rotateY(180deg);
}

/* Process Section */
.process {
    background-color: white;
    position: relative;
}

.process-steps {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #FFD166;
}

.process-step {
    margin-bottom: 50px;
    padding-left: 60px;
    position: relative;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #FF5E5B;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 1;
}

/* Testimonials Section */
.testimonials {
    background-color: #FFF9F2;
    position: relative;
}

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

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: #FFD166;
    opacity: 0.5;
    line-height: 1;
}

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

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

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

.author-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.rating {
    color: #FFD166;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Order Form Section */
.order {
    background-color: white;
    position: relative;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FFF9F2;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.1);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #0A1F44;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #FF5E5B;
    box-shadow: 0 0 0 2px rgba(255, 94, 91, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 6px;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

/* FAQ Section */
.faq {
    background-color: #FFF9F2;
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-header {
    background-color: white;
    padding: 15px 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #0A1F44;
}

.faq-toggle {
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0A1F44;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background 0.3s ease;
}

.faq-toggle:hover {
    background-color: rgba(10, 31, 68, 0.05);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #FFF9F2;
}

.faq-content p {
    margin: 0;
    padding: 0 20px;
}

.faq-content.active {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
.site-footer {
    background-color: #0A1F44;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF5E5B;
    display: inline-block;
}

.contact-info,
.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
}

.footer-links a:hover {
    color: #FFD166;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 31, 68, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    display: none; /* Hidden by default, shown by JS */
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #FFD166;
    text-decoration: underline;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Policy Pages Styling */
.policy-page {
    padding: 120px 0 80px;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(10, 31, 68, 0.1);
    position: relative;
}

.no-stripe .site-header::after {
    display: none;
}

.policy-page.no-stripe {
    position: relative;
}

.policy-page.no-stripe::before {
    display: none;
}

.policy-no-stripe::before {
    display: none !important;
}

.policy-container.policy-no-stripe::before {
    border: none;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(10, 31, 68, 0.1);
    border: 1px solid #FFD166;
    position: relative;
}

.policy-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #0A1F44;
    border-radius: 14px;
    z-index: -1;
}

.policy-container.policy-no-stripe {
    border: none;
}

.policy-no-stripe.policy-container::before {
    display: none;
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
    color: #0A1F44;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #FF5E5B;
}

/* Thank You Page */
.thank-you {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
}

.thank-you-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.1);
    animation: fadeIn 1s ease;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: #FFD166;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 40px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero {
        min-height: 80vh;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-divider {
        height: 70px;
    }
    
    .section-divider::before {
        height: 70px;
    }
}

@media (max-width: 767px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #FFF9F2;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
        opacity: 0;
        visibility: hidden;
        max-width: 100vw;
    }
    
    .main-nav.show-mobile-menu {
        height: auto;
        opacity: 1;
        visibility: visible;
        padding: 20px 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav li {
        margin: 0;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
    }
    
    /* Grid Adjustments */
    .footer-grid,
    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    /* Form */
    .form-container {
        padding: 30px 20px;
    }
    
    /* Section Padding */
    section {
        padding: 50px 0;
    }
    
    /* Process Timeline */
    .process-steps::before {
        left: 15px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .process-step {
        padding-left: 45px;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
        overflow-x: hidden;
        width: 100%;
    }
    
    html {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
        max-width: 100%;
    }
    
    section {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .section-divider {
        height: 50px;
    }
    
    .section-divider::before {
        height: 50px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .policy-container {
        padding: 30px 15px;
    }
}
