/* ===== Sri Hari Agencies - Custom Styles ===== */

:root {
    --primary: #f7941d;
    --primary-dark: #e07d08;
    --secondary: #1a1464;
    --secondary-light: #241a80;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-dark: #1e1e1e;
    --text-muted: #6c757d;
    --border: #e8e8e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; transition: all 0.3s; }
img { max-width: 100%; }

/* ===== PRELOADER ===== */
#preloader-active {
    position: fixed; inset: 0;
    background: var(--secondary);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.preloader-circle {
    width: 60px; height: 60px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== HEADER TOP ===== */
.header-top-bar {
    background: var(--secondary);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}
.header-top-bar a { color: rgba(255,255,255,0.8); }
.header-top-bar a:hover { color: var(--primary); }
.header-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    margin-left: 5px;
    transition: all 0.3s;
}
.header-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== NAVBAR ===== */
.main-header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky; top: 0; z-index: 999;
}
.navbar-brand img { height: 55px; }
.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: var(--secondary) !important;
    padding: 8px 16px !important;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-item.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
}
.dropdown-item {
    font-size: 13px;
    padding: 8px 20px;
    color: var(--secondary);
    font-weight: 500;
}
.dropdown-item:hover { background: var(--primary); color: #fff; }
.btn-quote {
    background: var(--primary);
    color: #fff !important;
    border-radius: 30px;
    padding: 10px 28px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
}
.btn-quote:hover {
    background: transparent;
    color: var(--primary) !important;
}
.btn-track {
    background: transparent;
    color: var(--secondary) !important;
    border-radius: 30px;
    padding: 10px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid var(--secondary);
}
.btn-track:hover {
    background: var(--secondary);
    color: #fff !important;
}

/* ===== HERO SLIDER ===== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.25;
}
.hero-content { position: relative; z-index: 2; }
.hero-section .badge-label {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}
.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-section h1 span { color: var(--primary); }
.hero-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: 35px;
}
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s;
}
.btn-primary-custom:hover { background: transparent; color: var(--primary); }
.btn-secondary-custom {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-left: 15px;
    transition: all 0.3s;
}
.btn-secondary-custom:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }
.hero-image-wrap { position: relative; }
.hero-image-wrap img {
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    width: 100%;
}
.hero-stats {
    position: absolute;
    bottom: -20px; left: -20px;
    background: var(--primary);
    color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(244,114,11,0.4);
    text-align: center;
}
.hero-stats .num { font-size: 32px; font-weight: 700; line-height: 1; }
.hero-stats .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }

/* ===== SECTION STYLES ===== */
.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 15px;
}
.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 550px;
}
.divider { width: 50px; height: 3px; background: var(--primary); margin: 20px 0; border-radius: 2px; }
.divider.center { margin: 20px auto; }
.bg-light-custom { background: var(--light-bg); }
.bg-dark-custom { background: var(--secondary); }

/* ===== STATS BAND ===== */
.stats-band { background: var(--primary); padding: 50px 0; }
.stat-item { text-align: center; color: #fff; padding: 15px; }
.stat-item .count { font-size: 48px; font-weight: 700; line-height: 1; }
.stat-item .label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.9; margin-top: 5px; }
.stat-item .icon { font-size: 36px; margin-bottom: 10px; opacity: 0.8; }

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.35s;
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.12); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 75px; height: 75px;
    background: rgba(244,114,11,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h5 { font-size: 17px; font-weight: 600; color: var(--secondary); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ===== ABOUT SECTION ===== */
.about-img-wrap { position: relative; }
.about-img-main {
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-img-badge {
    position: absolute;
    bottom: 25px; right: -20px;
    background: var(--primary);
    color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(244,114,11,0.35);
}
.about-img-badge .num { font-size: 34px; font-weight: 700; line-height: 1; }
.about-img-badge .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 6px 0; font-size: 14px; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.check-list li i { color: var(--primary); font-size: 14px; flex-shrink: 0; }

/* ===== WHY CHOOSE US ===== */
.why-card {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    transition: all 0.3s;
    height: 100%;
}
.why-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-color: var(--primary); }
.why-icon {
    width: 55px; height: 55px; min-width: 55px;
    background: rgba(244,114,11,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--primary);
}
.why-card h6 { font-size: 16px; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ===== CLIENTS ===== */
.client-logo {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 30px;
    display: flex; align-items: center; justify-content: center;
    height: 90px;
    transition: all 0.3s;
    filter: grayscale(100%);
    opacity: 0.6;
}
.client-logo:hover { filter: none; opacity: 1; box-shadow: 0 5px 25px rgba(0,0,0,0.08); border-color: var(--primary); }
.client-logo img { max-height: 45px; width: auto; object-fit: contain; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(244,114,11,0.1);
    top: -150px; right: -100px;
}
.cta-section h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 15px; }

/* ===== CONTACT FORM ===== */
.contact-form-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}
.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.form-control, .form-select {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-dark);
    background: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(244,114,11,0.1);
}
.form-control::placeholder { color: #adb5bd; }
.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== INFO CARDS ===== */
.info-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    display: flex; gap: 20px; align-items: flex-start;
}
.info-icon {
    width: 50px; height: 50px; min-width: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
}
.info-card h6 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; margin-bottom: 5px; }
.info-card p, .info-card a { font-size: 15px; color: #fff; margin: 0; }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 15px; }
.breadcrumb { justify-content: center; background: none; padding: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ===== VISION MISSION ===== */
.vm-card {
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.vm-card.vision { background: var(--secondary); color: #fff; }
.vm-card.mission { background: var(--primary); color: #fff; }
.vm-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; }
.vm-card p { font-size: 14px; opacity: 0.9; line-height: 1.8; }
.vm-card .vm-icon { font-size: 60px; opacity: 0.1; position: absolute; bottom: 20px; right: 20px; }

/* ===== FOOTER ===== */
footer { background: var(--secondary); color: rgba(255,255,255,0.75); }
.footer-top { padding: 70px 0 40px; }
.footer-logo img { height: 50px; margin-bottom: 18px; }
.footer-about { font-size: 13px; line-height: 1.8; max-width: 260px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-heading { font-size: 14px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 13px; transition: all 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 13px; }
.footer-contact-item i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--primary); }

/* ===== BACK TO TOP ===== */
#back-top {
    position: fixed; bottom: 25px; right: 25px;
    width: 42px; height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 5px 20px rgba(244,114,11,0.4);
    z-index: 999;
    opacity: 0;
    transition: all 0.3s;
}
#back-top.visible { opacity: 1; }
#back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== TEAM CARDS ===== */
.team-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-align: center;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.1); }
.team-img { position: relative; overflow: hidden; }
.team-img img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-body { padding: 20px; }
.team-body h5 { font-size: 16px; font-weight: 600; color: var(--secondary); margin-bottom: 4px; }
.team-body span { font-size: 12px; color: var(--primary); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-image-wrap { margin-top: 40px; }
    .about-img-badge { right: 0; }
    .stat-item .count { font-size: 36px; }
}
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero-section { min-height: auto; padding: 80px 0 60px; }
    .btn-secondary-custom { margin-left: 0; margin-top: 12px; }
    .hero-stats { position: static; display: inline-block; margin-top: 20px; }
}
