/* ========================================
   Global Styles & Variables
   ======================================== */
:root {
    --color-primary: #936d45; /* A gold/brown, good for astrology */
    --color-secondary: #033097; /* A deep blue */
    --color-dark: #333333;
    --color-light: #ffffff;
    --color-bg-light: #f9f9f9;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

main {
    display: block;
    overflow-x: hidden; /* Prevents horizontal scroll from animations */
}

/* ========================================
   Reusable Components (Buttons, Titles)
   ======================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-light);
    border-color: var(--color-secondary);
    
}

.btn-secondary:hover {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

/* ========================================
   Bootstrap Grid Recreation
   ======================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    /* Replicates gutter spacing for g-4 */
    margin-top: -0.75rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.g-4 > [class*='col-'] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.75rem; /* Replicates gutter spacing for g-4 */
}

.justify-content-center {
    justify-content: center;
}

/* Mobile-first: Columns are 100% by default */
[class*='col-'] {
    width: 100%;
    flex-shrink: 0;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-lg-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}


/* ========================================
   Hero Section
   ======================================== */
.hero {
    background-color: var(--color-bg-light);
}

.hero-container {
    display: flex;
    align-items: center;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--color-secondary);
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-top: -0.5rem;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative; /* For positioning the animated image */
    text-align: center;
}

.image-static {
    max-width: 450px;
    border-radius: 10px;
}

.image-animated {
    position: absolute;
    bottom: -50px;
    right: -30px;
    width: 250px;
    height: 250px;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
    animation: spin 20s linear infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.service-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.btn-learn-more {
     background-color: var(--color-secondary);
    color: var(--color-light);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
}
.btn-learn-more:hover {
    background-color: var(--color-primary);
}

/* ========================================
   About Us Section
   ======================================== */
.about-us {
    background-color: var(--color-bg-light);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========================================
   Calculator Section
   ======================================== */
.calculator-section {
    padding: 4rem 0;
}

.calculator-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Makes cards in a row equal height */
}

.calculator-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.calculator-box img {
    height: 70px;
    margin-bottom: 1.5rem;
    animation: spin 20s linear infinite;
}

.calculator-box h3 {
    font-size: 1.4rem;
    color: var(--color-secondary);
}

.calculator-box p {
    color: #555;
    margin-bottom: 1.5rem;
}

.calculator-box .button {
    background-color: var(--color-secondary);
    color: var(--color-light);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 700;
}

.calculator-box .button:hover {
    background-color: var(--color-primary);
}

/* ========================================
   Zodiac Section
   ======================================== */
.zodiac-section {
    background-color: var(--color-bg-light);
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;

    /* --- Added CSS for centering --- */

    /* Centers the grid items (the boxes) vertically and horizontally */
    place-items: center;
    
    /* Centers the text (or other inline content) inside each grid item */
    text-align: center; 
}

.zodiac-grid a {
    display: block;
    transition: transform 0.3s ease;
}

.zodiac-grid a:hover {
    transform: scale(1.1);
}

.zodiac-grid img {
    border-radius: 10px;
}

/* ========================================
   Courses Section
   ======================================== */
.courses-section {
    padding: 4rem 0;
}

.course-card {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-info {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.icon-text {
    color: #555;
    font-weight: 500;
}

.icon-text .fas { /* Assumes Font Awesome */
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.btn-enroll {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: auto; /* Pushes button to the bottom */
}

.btn-enroll:hover {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

/* ========================================
   Latest Posts Section
   ======================================== */
.latest-posts-section {
    padding: 4rem 0;
    background-color: var(--color-bg-light);
}

.latest-posts-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.post-card {
    background: var(--color-light);
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card h3 {
    font-size: 1.4rem;
    padding: 1rem 1.5rem 0.5rem;
    color: var(--color-secondary);
}

.post-card p {
    padding: 0 1.5rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    font-weight: 700;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: 4rem 0;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
}

.testimonial-card blockquote p {
    font-size: 1.3rem;
    font-style: italic;
    color: #444;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.testimonial-card footer {
    font-size: 1.1rem;
}

.testimonial-author {
    display: block;
    font-weight: 700;
    color: var(--color-primary);
}

.testimonial-rating {
    color: #f39c12; /* Star color */
    font-size: 1.2rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 4rem 0;
    background-color: var(--color-secondary);
    color: var(--color-light);
    text-align: center;
}

.cta h3 {
    color: var(--color-light);
    font-size: 2.2rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta .btn-primary {
    background-color: var(--color-light);
    color: var(--color-secondary);
    border-color: var(--color-light);
}

.cta .btn-primary:hover {
    background-color: transparent;
    color: var(--color-light);
}


/* ========================================
   Responsive Media Queries
   ======================================== */

/* --- Tablets (max-width: 992px) --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1; /* Move image to top */
        margin-bottom: 2rem;
    }

    .image-animated {
        width: 150px;
        height: 150px;
        bottom: -25px;
        right: -25px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        flex-direction: column;
    }

    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Mobile (max-width: 767px) --- */
@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .zodiac-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
    .testimonial-card blockquote p {
        font-size: 1.1rem;
    }
}
/* ========================================
   Footer Styles
   ======================================== */

/* Root variables for easy color changes */
:root {
    --color-primary: #936d45; /* Gold/Brown */
    --color-dark-bg: #181712;   /* Very dark background */
    --color-light-text: #bdc3c7; /* Light gray text */
    --color-light-hover: #ffffff; /* White for headings & hovers */
    --color-footer-border: #333;  /* Border for the bottom bar */
}

/* --- Main Footer Container --- */
.site-footer {
    background-color: var(--color-dark-bg);
    color: var(--color-light-text);
    padding-top: 4rem; /* Add padding to the top */
}

/* --- Reusable Container --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Footer Grid Layout --- */
.footer-grid {
    display: grid;
    /* Create 4 equal columns on desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem; /* Space between columns */
}

/* --- Footer Columns --- */
.footer-col {
    font-size: 0.95rem;
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 1rem;
    /* Uncomment this if your logo is dark and needs to be white */
    /* filter: brightness(0) invert(1); */
}

.footer-col p {
    line-height: 1.6;
}

.footer-col h3 {
    font-size: 1.5rem;
    color: var(--color-light-hover);
    margin-bottom: 1.5rem;
}

/* --- Footer Lists (Contact & Nav) --- */
.contact-list,
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li,
.footer-nav li {
    margin-bottom: 0.8rem;
}

/* Style for links in the nav */
.footer-nav a {
    color: var(--color-light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-light-hover);
}

/* Style for non-link contact info */
.contact-list li {
    line-height: 1.5;
}

/* --- Footer Bottom Bar (Copyright) --- */
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--color-footer-border);
    font-size: 0.9rem;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* --- Tablets (max-width: 992px) --- */
@media (max-width: 992px) {
    .footer-grid {
        /* Change to 2 columns */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Mobile (max-width: 767px) --- */
@media (max-width: 767px) {
    .footer-grid {
        /* Stack to a single column */
        grid-template-columns: 1fr;
    }

    .footer-col {
        /* Optional: Center-align columns on mobile */
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================================
   Header Styles
   ======================================== */

.site-header {
    background: var(--color-light);
    /* Adds a subtle line at the bottom */
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    /* Keeps header on top when scrolling */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    /* Set a fixed height for your logo */
    height: 50px;
    width: auto;
    display: block; /* Removes any extra space below the image */
}

/* --- Main Navigation (Desktop) --- */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 1.5rem; /* Space between links */
}

.main-nav a {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-primary);
}

/* Special style for the phone number link */
.nav-phone a {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-phone a:hover {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

/* --- Mobile Navigation Toggle --- */
.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
}

/* ========================================
   Responsive Styles (Tablet & Mobile)
   ======================================== */
@media (max-width: 980px) {
    /* Hide the desktop navigation */
    .main-nav {
        display: none;
        /* Make it a full-width block when it appears */
        position: absolute;
        top: 75px; /* Adjust based on your header height */
        left: 0;
        right: 0;
        background: var(--color-light);
        border-bottom: 1px solid #eee;
        padding: 1rem 0;
    }

    /* This class will be added by JavaScript */
    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        /* Stack the links vertically */
        flex-direction: column;
        width: 100%;
    }

    .main-nav li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-phone a {
        /* Make the button fill more space */
        display: inline-block;
        padding: 0.75rem 1.5rem;
    }

    /* Show the mobile toggle button */
    .mobile-nav-toggle {
        display: block;
    }
}
.fullSection {
            padding: 4rem 0;
        }

        .fullSection .inner {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .c-row {
            display: flex;
            flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
            gap: 0; /* No gap as columns touch */
            background: var(--color-light);
            border-radius: 10px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden; /* Ensures border-radius is respected by children */
        }

        .c-column {
            flex-grow: 1;
            flex-shrink: 1;
            padding: 2.5rem;
        }

        .c-column.location-details {
            flex-basis: 40%; 
            min-width: 320px;
            background-color: var(--color-primary);
            color: var(--color-light);
        }

        .c-column.contact-form-container {
            flex-basis: 60%;
            min-width: 320px;
        }

        /* ========================================
           Left Column: Location Details
           ======================================== */
        .location-details h2 {
            font-family: var(--font-heading);
            font-size: 2.2rem;
            margin-bottom: 0.5rem;
        }

        .location-details p {
            color: #e0e0e0;
            margin-bottom: 2.5rem; /* Added more space */
        }

        .location-info {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .location-info i {
            font-size: 1.1rem;
            color: var(--color-secondary);
            margin-right: 1rem;
            margin-top: 5px;
            width: 20px;
            text-align: center;
        }
        
        .location-info div {
            flex: 1;
        }

        .location-info h3 {
            font-family: var(--font-body);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0 0 0.25rem 0;
            color: #ccc;
        }

        .location-info p {
            margin: 0;
            font-weight: 500;
            font-size: 1rem;
            color: var(--color-light);
        }

        .cliam-btn {
            display: block;
            width: 100%;
            background-color: var(--color-secondary);
            color: var(--color-light);
            text-align: center;
            padding: 0.9rem;
            border-radius: 5px;
            font-weight: 700;
            font-size: 1.1rem;
            text-decoration: none;
            margin-top: 2rem;
            transition: background-color 0.3s ease;
        }

        .cliam-btn:hover {
            background-color: #7c5c37; /* Darker gold */
        }

        /* ========================================
           Right Column: Contact Form
           ======================================== */
        .contact-form-container h2 {
            font-family: var(--font-heading);
            font-size: 2.2rem;
            color: var(--color-dark);
            margin-bottom: 0.5rem;
        }

        .contact-form-container p {
            color: #555;
            margin-bottom: 2rem;
        }

        .input_ideal-group {
            margin-bottom: 1.5rem;
        }

        .input_group_ij,
        .textarea_group_ij {
            width: 100%;
            padding: 0.9rem;
            font-size: 1rem;
            font-family: var(--font-body);
            border: 1px solid var(--color-border);
            border-radius: 5px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .input_group_ij:focus,
        .textarea_group_ij:focus {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 8px rgba(3, 48, 151, 0.2);
        }

        .textarea_group_ij {
            resize: vertical; /* Allow user to resize textarea vertically */
        }

        .contact-btn_submitb {
            width: 100%;
            padding: 0.9rem;
            background-color: var(--color-primary);
            color: var(--color-light);
            border: none;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .contact-btn_submitb:hover {
            background-color: #022370; /* Darker blue */
        }

        /* ========================================
           Responsive Styles
           ======================================== */
        @media (max-width: 992px) {
            .c-row {
                flex-direction: column;
            }
        }
        /* WhatsApp Floating Button */
#whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#whatsapp-chat a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: 0.3s;
}

#whatsapp-chat a:hover {
    transform: scale(1.1);
}

/* Optional: tooltip */
#whatsapp-chat span {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: #25D366;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

#whatsapp-chat:hover span {
    opacity: 1;