/* ======================================
   Sidharth Shah & Associates
   Version 1.0
====================================== */

:root {
    --primary: #0F2D52;
    --gold: #C9A227;
    --light: #F8F9FA;
    --dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    margin: 0;
    overflow-x: hidden; /* Prevents horizontal scroll from animation */
}

/* ======================================
   Top Contact Bar
====================================== */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--gold);
}

.top-bar i {
    color: var(--gold);
    margin-right: 6px;
}

/* ======================================
   Compliance Alert (Moving Marquee)
====================================== */
.alert-bar {
    background: var(--gold);
    color: var(--dark);
    font-size: 14px;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

.alert-bar i {
    margin-right: 6px;
}

@keyframes scroll-left {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

.alert-bar:hover .scrolling-text {
    animation-play-state: paused;
}

/* ======================================
   Header & Navigation
====================================== */
.main-header {
    border-bottom: 3px solid var(--primary);
}

.navbar-nav .nav-link {
    color: var(--dark);
    padding: 10px 15px !important;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* ======================================
   Internal Page Header (For About, Services, etc.)
====================================== */
.page-header {
    background: linear-gradient(rgba(15, 45, 82, 0.9), rgba(15, 45, 82, 0.9)), url('../images/hero/hero-bg.jpg') center/cover;
    padding: 80px 0;
    border-bottom: 5px solid var(--gold);
}

/* ======================================
   Hero Section
====================================== */
#hero {
    background: linear-gradient(rgba(15, 45, 82, 0.85), rgba(15, 45, 82, 0.95)), url('../images/hero/hero-bg.jpg') center/cover;
    min-height: 80vh;
    padding: 100px 0;
}

.bg-primary {
    background-color: var(--primary) !important;
}
.text-primary {
    color: var(--primary) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}
.text-gold {
    color: var(--gold) !important;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--primary);
    border: none;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: #fff;
    color: var(--primary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
}

/* ======================================
   Why Choose Us Section
====================================== */
#why-us {
    background-color: var(--light);
}

.tracking-wide {
    letter-spacing: 2px;
}

/* Card Styling */
.why-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-bottom: 4px solid var(--gold);
}

/* Icon Box Styling */
.icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.why-card:hover .icon-box {
    background-color: var(--gold);
}

/* ======================================
   Services Section
====================================== */
.service-card {
    transition: all 0.3s ease;
    background: #fff;
    border-color: #eee !important;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--primary) !important;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--primary);
}

.read-more {
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .read-more {
    transform: translateX(5px);
}

/* ======================================
   Compliance Updates Section
====================================== */
.date-box {
    min-width: 70px;
}

/* ======================================
   Government Portals
====================================== */
.portal-link {
    transition: all 0.3s ease;
}
.portal-link:hover {
    border-color: var(--primary) !important;
    background-color: var(--light);
    transform: translateY(-3px);
}

/* ======================================
   Footer
====================================== */
.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.hover-gold {
    transition: color 0.3s ease;
}
.hover-gold:hover {
    color: var(--gold) !important;
}

/* ======================================
   Floating WhatsApp Button
====================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}