/* style.css */
:root {
    --primary-color: #ff7010;
    /* Orange Theme */
    --secondary-color: #111111;
    --text-color: #060606;
    --light-bg: #fffbf5;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    color: var(--primary-color);
}

/* --- Buttons --- */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-link-custom {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

/* --- Top Header --- */
.top-header {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 10px 0;
    font-size: 13px;
}

.top-header i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* --- Dropdown Hover for Desktop --- */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        /* Removes gap so mouse doesn't lose focus */
        animation: fadeIn 0.3s ease;
        /* Optional: Smooth fade in */
    }
}

/* Optional: Smooth Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Item Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.feature-box .blog-feature-img {
    width: 100%;
    height: 180px;
    /* same size sab cards me */
    object-fit: cover;
    /* image stretch nahi hogi */
    border-radius: 8px;
    /* box ke andar smooth corner */
    margin-bottom: 15px;
    /* image aur text ke beech gap */
    border: 1px solid #eee;
    /* light border inside */
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: 0.3s;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
    /* Slight slide effect on hover */
}

/* --- Navbar --- */
.navbar {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

/* Updated Logo Styling for Image */
.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 85px;
    /* Adjust height as needed */
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* --- Hero Section --- */
.hero-section {
    background: radial-gradient(circle at center, #2a2a2a 0%, #000000 100%);
    height: 600px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-section2 {
    background: radial-gradient(circle at center, #2a2a2a 0%, #000000 100%);
    height: 350px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 60px;
    color: white;
    margin-bottom: 20px;
}

.hero-content span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Feature Boxes --- */
/* --- Feature Boxes (Calculators) --- */
.features-grid {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

/* New Styling for Clickable Boxes */
.feature-box {
    background: white;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    /* Invisible border by default */
    height: 100%;
    /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    /* Remove underline from link */
    color: var(--text-color);
    /* Default text color */
}

/* Hover Effect: Border & Text Color Change */
.feature-box:hover {
    transform: translateY(-5px);
    /* Slight lift */
    border-color: var(--primary-color);
    /* Orange border on hover */
    box-shadow: 0 15px 30px rgba(255, 112, 16, 0.15);
    /* Softer shadow */
}

/* Icon Styling */
.feature-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: 0.3s;
}

/* Title Styling */
.feature-box h5 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

/* Description Styling */
.feature-box p {
    font-size: 14px;
    color: #777;
    margin-bottom: 0;
    transition: 0.3s;
}

/* Change Icon & Text Color on Hover */
.feature-box:hover i,
.feature-box:hover h5,
.feature-box:hover p {
    color: var(--primary-color);
}

/* --- Zodiac Signs --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-style: italic;
    font-size: 20px;
}

.section-title h2 {
    font-size: 36px;
    margin-top: 10px;
}

.zodiac-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 30px;
    border-radius: 100px 100px 0 0;
    /* Arch shape */
    transition: 0.3s;
    cursor: pointer;
}

.zodiac-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 112, 16, 0.2);
}

.zodiac-img {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    line-height: 80px;
    margin: 0 auto 15px;
    transition: 0.3s;
}

.zodiac-item:hover .zodiac-img {
    background: var(--primary-color);
    color: white;
}

.zodiac-img i {
    font-size: 30px;
    color: var(--primary-color);
    transition: 0.3s;
}

.zodiac-item:hover .zodiac-img i {
    color: white;
}

/* --- Services --- */
.service-card {
    border: none;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.service-img {
    position: relative;
    height: 250px;
    background-color: #333;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
}

.service-body {
    padding: 25px;
    text-align: center;
}

.service-body h4 {
    margin-bottom: 15px;
}

.service-body p {
    margin-bottom: 20px;
    color: #777;
    font-size: 14px;
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
}

/* --- Counter --- */
.counter-section {
    background-color: #0b0b0b;
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
}

.counter-box h2 {
    color: var(--primary-color);
    font-size: 50px;
    margin-bottom: 10px;
}

.counter-box p {
    color: #ccc;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* --- Team --- */
.team-card {
    text-align: center;
    margin-bottom: 30px;
}

.team-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.team-img img {
    width: 100%;
    transition: 0.5s;
}

.team-card:hover img {
    transform: scale(1.1);
}

.call-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    transition: 0.3s;
    font-size: 13px;
    font-weight: 500;
}

.team-card:hover .call-btn {
    bottom: 20px;
}

/* --- Footer --- */
footer {
    background: #151515;
    color: #999;
    padding-top: 80px;
}

.footer-logo {
    font-family: var(--heading-font);
    font-size: 30px;
    color: white;
    font-weight: bold;
}

.footer-widget h4 {
    color: white;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links {
    padding-left: 0;
}

.footer-links li a:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
}

.copyright {
    background: #000;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
}

@media (max-width:992px) {
    .hero-content h1 {
        font-size: 55px;
    }
}