/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

/* ================= HERO SECTION ================= */

.hero {
    display: flex;
    flex-direction: column; /* 🔥 important */
    justify-content: space-between;
    padding: 80px 60px;
    padding: 120px 60px 80px 60px;
    min-height: 100vh;

    background: 
        linear-gradient(rgba(244,239,231,0.9), rgba(244,239,231,0.9)),
        url("https://as2.ftcdn.net/v2/jpg/15/34/34/33/1000_F_1534343373_2iL69ib0BalQA7qNvC1nLe7foTiCKZFJ.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ================= TOP SECTION ================= */

.hero-top {
     display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* LEFT */
.hero-left {
    width: 50%;
}

/* TAG */
.tag {
    color: #e76f51;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

/* HEADING */
.hero-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 600;
    color: #1c1c2e;
    line-height: 1.15;
    letter-spacing: -1px;
}

/* DESCRIPTION */
.desc {
    font-family: 'Poppins', sans-serif;
    margin: 25px 0;
    color: #555;
    line-height: 1.8;
    font-size: 16px;
    max-width: 500px;
}

/* BUTTON */
.hero-btn {
    display: inline-block;
    background: #ff3d00;
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #d93400;
}

/* RIGHT IMAGE */
.hero-right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ROTATE IMAGE */
.rotate-img {
    width: 400px;
    animation: spin 20s linear infinite;
}

/* ANIMATION */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================= FEATURES ================= */

.features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
     max-width: 1200px;   /* 🔥 center container */
    margin-left: auto;
    margin-right: auto;
}

/* SINGLE BOX */
.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 30%;
    justify-content: center;
}

/* ICON */
.feature-box .icon img {
    width: 80px;
    height: 80px;
}

/* TEXT */
.feature-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 5px;
    color: #1c1c2e;
}

.feature-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .hero {
        padding: 40px 20px;
    }

    .hero-top {
        flex-direction: column;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-left h1 {
        font-size: 38px;
    }

    .desc {
        font-size: 14px;
        max-width: 100%;
    }

    .rotate-img {
        width: 260px;
        margin-top: 30px;
    }

    /* FEATURES MOBILE */
    .features {
        flex-direction: column;
        gap: 25px;
        margin-top: 40px;
    }

    .feature-box {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }
}

/* ================= ABOUT SECTION ================= */

.about-section {
    padding: 50px 30px;

    /* SAME BG AS HERO */
    background: 
        linear-gradient(rgba(244,239,231,0.9), rgba(244,239,231,0.9)),
        url("https://as2.ftcdn.net/v2/jpg/15/34/34/33/1000_F_1534343373_2iL69ib0BalQA7qNvC1nLe7foTiCKZFJ.jpg");

    background-size: cover;
    background-position: center;
}

/* CONTAINER */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* LEFT IMAGE */
.about-left {
    width: 50%;
    display: flex;
    justify-content: center;
}

.about-left img {
    width: 400px;
    max-width: 100%;
}

/* RIGHT CONTENT */
.about-right {
    width: 50%;
}

/* HEADING */
.about-right h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #1c1c2e;
    line-height: 1.2;
    margin: 15px 0;
}

/* DESC */
.about-desc {
    font-family: 'Poppins', sans-serif;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 20px;
}
@media (max-width: 992px) {

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-left,
    .about-right {
        width: 100%;
    }

    .about-left img {
        width: 280px;
        margin-bottom: 30px;
    }

    .about-right h2 {
        font-size: 34px;
    }
     .zodiac-track {
        gap: 30px;
    }

    .zodiac-track img {
        width: 45px;
        height: 45px;
    }
}
/* ================= ZODIAC SLIDER ================= */
/* ================= ZODIAC SLIDER ================= */

.zodiac-slider {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

/* TRACK */
.zodiac-track {
    display: flex;
    gap: 40px;

    max-width: 1000px; /* 🔥 center limit */
    overflow-x: auto;
    scroll-behavior: smooth;

    padding: 10px 0;
}

/* SCROLLBAR HIDE */
.zodiac-track::-webkit-scrollbar {
    display: none;
}

/* ICONS */
.zodiac-track img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    cursor: pointer;
    transition: 0.3s;
}

/* HOVER EFFECT */
.zodiac-track img:hover {
    transform: scale(1.1);
}

/* ================= SERVICES ================= */

.services {
    padding: 100px 60px;
    text-align: center;
    background: linear-gradient(rgba(20,22,40,0.95), rgba(20,22,40,0.95)),
                url("https://www.transparenttextures.com/patterns/stardust.png");
    color: #fff;
}

.services-header .tag {
    color: #f4a261;
    letter-spacing: 2px;
}

.services-header h2 {
    font-family: 'Playfair Display', serif;
    margin: 20px 0 60px;
}

/* GRID CENTER */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* CARD */
.service-card {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    text-align: left;
    transition: 0.3s;
}

.service-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
}

.service-card img {
    width: 50px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: #bbb;
}

/* BUTTON */
.learn-btn {
    margin-top: 15px;
    padding: 8px 16px;
    background: #f4a261;
    border: none;
    cursor: pointer;
}

/* ================= MODAL ================= */

.service-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,12,25,0.9);
    align-items: center;
    justify-content: center;
}

/* CONTENT */
.service-modal-content {
    background: #141628;
    padding: 30px;
    border-radius: 12px;
    width: 400px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

/* CLOSE */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

/* ICON */
.modal-icon img {
    width: 70px;
    margin-bottom: 15px;
}

/* TITLE */
.service-modal-content h2 {
    margin-bottom: 20px;
    color: rgb(168, 167, 166);
}

/* LIST */
.service-modal-content ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-modal-content li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
    color: #bbb;
}

/* CHECK ICON */
.service-modal-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00d4ff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= BLOG ================= */

.blog-section {
    padding: 80px 20px; /* 🔥 fixed (no overflow) */
    background:
        linear-gradient(rgba(244,239,231,0.9), rgba(244,239,231,0.9)),
        url("https://as2.ftcdn.net/v2/jpg/15/34/34/33/1000_F_1534343373_2iL69ib0BalQA7qNvC1nLe7foTiCKZFJ.jpg");

    text-align: center;
}

/* HEADER */
.blog-header h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 50px;
}

/* GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    max-width: 1100px;
    margin: auto;
}

/* CARD */
.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: 0.3s;

    width: 100%; /* 🔥 IMPORTANT FIX */
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.blog-content {
    padding: 18px;
    text-align: left;
}

/* META */
.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
}

.category {
    color: green;
}

/* TITLE */
.blog-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* DESC */
.blog-content p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* READ MORE */
.read-more {
    color: green;
    cursor: pointer;
    font-weight: 500;
}

/* ================= MODAL ================= */

.blog-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 20px; /* 🔥 mobile safe */
}

.blog-modal-content {
    background: #fff;
    padding: 20px;
    max-width: 600px;
    width: 100%; /* 🔥 responsive */
    border-radius: 10px;
    text-align: center;
    position: relative;
}

/* IMAGE */
.blog-modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* TEXT */
.blog-modal-content h2 {
    margin-bottom: 10px;
}

.blog-modal-content p {
    color: #555;
    line-height: 1.6;
}

/* CLOSE */
.close-btn {
    position: absolute;
    right: 5px;
    top: 10px;
    cursor: pointer;
    font-size: 18px;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {

    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 🔥 2 columns */
    }
}

/* MOBILE */
@media (max-width: 600px) {

    .blog-grid {
        grid-template-columns: 1fr; /* 🔥 1 column */
    }

    .blog-section {
        padding: 50px 15px;
    }
}


/* ================= CONSULTATION ================= */

.consultation {
    padding: 100px 60px;

    background:
        linear-gradient(rgba(20,22,40,0.95), rgba(20,22,40,0.95)),
        url("https://www.transparenttextures.com/patterns/stardust.png");

    color: #fff;
}

/* CONTAINER */
.consult-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
}

/* LEFT */
.consult-left {
    width: 50%;
}

.consult-left .tag {
    color: #f4a261;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.consult-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.consult-left .desc {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* LINK */
.learn-link {
    color: #f4a261;
    text-decoration: underline;
}

/* RIGHT */
.consult-right {
    width: 50%;
    display: flex;
    justify-content: center;
}

/* IMAGE */
.floating-img {
    width: 300px;

    /* 🔥 FLOAT ANIMATION */
    animation: floatY 4s ease-in-out infinite;
}

/* ANIMATION */
@keyframes floatY {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px); /* 🔥 up */
    }
    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {

    .consult-container {
        flex-direction: column;
        text-align: center;
    }

    .consult-left,
    .consult-right {
        width: 100%;
    }

    .consult-left h2 {
        font-size: 30px;
    }

    .floating-img {
        width: 220px;
        margin-top: 30px;
    }
}

/* ================= GALLERY ================= */

.gallery {
    padding: 100px 60px;

    background:
        linear-gradient(rgba(244,239,231,0.9), rgba(244,239,231,0.9)),
        url("https://as2.ftcdn.net/v2/jpg/15/34/34/33/1000_F_1534343373_2iL69ib0BalQA7qNvC1nLe7foTiCKZFJ.jpg");

    text-align: center;
}


/* ================= GALLERY HEADER (FIXED LIKE TESTIMONIAL) ================= */

.gallery-header {
    max-width: 700px;
    margin: 40px auto 50px;
    text-align: center;
}

/* TAG */
.gallery-header .tag {
    color: #e76f51;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

/* HEADING */
.gallery-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #1c1c2e;
    line-height: 1.3;
    margin-bottom: 50px;
}

/* OPTIONAL SUBTEXT (add if needed) */
.gallery-header .sub {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    max-width: 1100px;
    margin: auto;
}

/* ITEM */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

/* TITLE */
.overlay h3 {
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 10px;
}

/* HOVER EFFECT */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}
/* TABLET */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        padding: 60px 20px;
    }
       .gallery-header h2 {
        font-size: 32px;
    }

    .gallery-header {
        margin-bottom: 40px;
        padding: 0 10px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
      .gallery-item img {
        height: 200px;
     .gallery-header h2 {
        font-size: 26px;
        line-height: 1.4;
    }

    .gallery-header .tag {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
}
}

/* ================= TESTIMONIALS ================= */

.testimonials {
    padding: 50px 20px;

    background:
        linear-gradient(rgba(244,239,231,0.9), rgba(244,239,231,0.9)),
        url("https://as2.ftcdn.net/v2/jpg/15/34/34/33/1000_F_1534343373_2iL69ib0BalQA7qNvC1nLe7foTiCKZFJ.jpg");

    text-align: center;
}

/* HEADER */
.test-header h2 {
    font-family: 'Playfair Display', serif;
    margin: 15px 0;
}

.test-header .sub {
    color: #555;
    margin-bottom: 50px;
}

/* SLIDER */
.test-slider {
    overflow: hidden;
    width: 100%;
}

/* TRACK */
.test-track {
    display: flex;
    gap: 20px;

    width: max-content; /* 🔥 IMPORTANT */
    animation: scrollTest 30s linear infinite;
}

/* CARD */
.test-card {
    flex: 0 0 auto; /* 🔥 FIX */
    width: 280px;

    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* IMAGE */
.user {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* STARS */
.stars {
    color: #ffb703;
    margin-bottom: 10px;
}

/* TEXT */
.test-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

/* NAME */
.test-card h4 {
    margin: 5px 0;
}

/* ROLE */
.test-card span {
    font-size: 13px;
    color: #888;
}

/* 🔥 PERFECT INFINITE ANIMATION */
@keyframes scrollTest {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* HOVER PAUSE */
.test-track:hover {
    animation-play-state: paused;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .test-card {
        width: 240px;
    }

    .test-track {
        animation-duration: 40s; /* slow on mobile */
    }
}

/* ================= CTA SECTION ================= */

.cta-section {
    padding: 100px 60px;

    background: #1c1c2e; /* dark base */

    /* 🌙 astrology pattern */
    background-image:
        url("https://www.transparenttextures.com/patterns/stardust.png");

    color: #fff;
}

/* CONTAINER */
.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
}

/* LEFT */
.cta-left {
    width: 50%;
    display: flex;
    justify-content: center;
}

/* 🌙 MOON IMAGE */
.cta-moon {
    width: 300px;

    /* 🔥 SLOW FLOAT */
    animation: floatMoon 6s ease-in-out infinite;
}

/* ANIMATION */
@keyframes floatMoon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* RIGHT */
.cta-right {
    width: 50%;
}

.cta-right h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-right p {
    color: #bbb;
    margin-bottom: 25px;
}

/* BUTTON */
.cta-btn {
    display: inline-block;
    background: #ff3d00;
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;

    box-shadow: 0 0 20px rgba(255,61,0,0.5);
    transition: 0.3s;
}

.cta-btn:hover {
    background: #d93400;
}
@media (max-width: 992px) {

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-left,
    .cta-right {
        width: 100%;
    }

    .cta-moon {
        width: 220px;
        margin-bottom: 30px;
    }

    .cta-right h2 {
        font-size: 30px;
    }
}
/* ================= CONTACT ================= */

.contact-section {
    padding: 100px 60px;

    /* 🔥 YOUR BACKGROUND */
    background:
        linear-gradient(rgba(244,239,231,0.9), rgba(244,239,231,0.9)),
        url("https://as2.ftcdn.net/v2/jpg/15/34/34/33/1000_F_1534343373_2iL69ib0BalQA7qNvC1nLe7foTiCKZFJ.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* WRAPPER */
.contact-wrapper {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
}

/* LEFT FORM */
.contact-form-box {
    flex: 1;
    background: #1a1f38;
    padding: 30px;
    border-radius: 10px;
    color: #fff;
}

/* TITLE */
.contact-form-box h2 {
    margin-bottom: 25px;
}

/* ROW */
.form-row {
    display: flex;
    gap: 15px;
}

/* INPUT */
.input-group {
    flex: 1;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #2d355b;
    background: #121629;
    color: #fff;
}

textarea {
    height: 120px;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;

    background: linear-gradient(90deg, #00c6ff, #ff3d6d);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* RIGHT SIDE */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: #1c1c2e;
}

/* INFO BOX */
.info-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-box h4 {
    margin-bottom: 5px;
}

.info-box p {
    font-weight: 600;
}

.info-box span {
    font-size: 13px;
    color: #555;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .contact-wrapper {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-section {
        padding: 60px 20px;
    }
}
