/* Main Styles for domain - Horoscope Services */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A1F44;
    color: #FFFFFF;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container > h2, .container > p {
    text-align: center;
}

.section-padding {
    padding: 5rem 0;
}

/* Button Styles */
.btn {
    display: block;
    background-color: #3EE8A5;
    color: #031D44;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    margin: auto;
    max-width: max-content;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #2cd992;
}

/* Header Styles */
header {
    background-color: #031D44;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF33AA;
    text-decoration: none;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FF33AA;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: url('./img/g9yZ2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 31, 68, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #D8D8D8;
}

/* About Horoscope Section */
.about {
    background-color: #0A1F44;
}

/* Why Choose Us Section */
.why-us {
    background-color: #0F2955;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.card {
    background-color: #031D44;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: grid;
    grid-template-rows: 200px auto;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: #3EE8A5;
    margin-bottom: 10px;
}

.card-content p {
    color: #D8D8D8;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    background-color: #0A1F44;
}

.service-card {
    background-color: #031D44;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: grid;
    grid-template-rows: 200px auto 50px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card .btn {
    align-self: end;
    margin: 0 20px 20px;
}

/* Approach Section */
.approach {
    background-color: #0F2955;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.approach-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.approach-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section */
.testimonials {
    background-color: #0A1F44;
}

.testimonial-card {
    background-color: #031D44;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-card .client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-card .client-info .client-details h4 {
    color: #3EE8A5;
    margin-bottom: 5px;
}

.testimonial-card .client-info .client-details p {
    color: #D8D8D8;
    font-size: 0.9rem;
}

/* Form Section */
.form-section {
    background-color: #0F2955;
}

.form-container {
    max-width: 600px;
    margin: 5rem auto;
    background-color: rgba(3, 29, 68, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #D8D8D8;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #3EE8A5;
    border-radius: 5px;
    color: #FFFFFF;
}

.form-group option {
    color: black;
    background-color: white;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    color: #D8D8D8;
    font-size: 0.9rem;
}

.form-check a {
    color: #FF33AA;
}

/* Blog Section */
.blog {
    background-color: #0A1F44;
}

/* Footer */
footer {
    background-color: #031D44;
    color: #D8D8D8;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: #3EE8A5;
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #D8D8D8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF33AA;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.copyright {
    margin-top: 3rem;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 5rem auto;
    background-color: #031D44;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.policy-container h1 {
    text-align: center;
    color: #3EE8A5;
    margin-bottom: 30px;
}

.policy-container p {
    margin-bottom: 20px;
}

/* Thank You Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-content {
    background-color: #031D44;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 600px;
    margin: 5rem auto;
}

.thanks-content h1 {
    color: #3EE8A5;
    margin-bottom: 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #031D44;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 400px;
    min-width: 300px;
    display: none;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

/* Responsive Styles */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 2rem;}
        
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    /* Mobile Menu */
    .menu-icon {
        display: block;
        font-size: 1.5rem;
        color: #FFFFFF;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #031D44;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
        gap: 5px;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
        text-align: center;
    }
    
    #menu-toggle:checked ~ nav {
        max-height: 100vh;
    }
    
    body:has(#menu-toggle:checked) {
        overflow: hidden;
    }
    
    .approach-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        margin-bottom: 10px;
    }
    
    .thanks-section {
        height: auto;
    }
}
