/* =============================================
   ASSETS/CSS/STYLE.CSS - MODERN VERSION
   ISHWARI TECH - DYNAMIC CMS
   ============================================= */

/* =============================================
   ROOT VARIABLES
   ============================================= */
:root {
    --primary: #e94560;
    --primary-dark: #c73652;
    --primary-light: #ff6b8a;
    --dark: #0f0e17;
    --navy: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
    --text-muted: #6c757d;
    --text-dark: #0f0e17;
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 50px rgba(0,0,0,0.15);
    --radius: 15px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   GLOBAL STYLES
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.4);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: rgba(15, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 6px 0;
    background: rgba(15, 14, 23, 0.98);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.navbar-brand span {
    color: var(--primary);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
    padding: 140px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 8s ease-in-out infinite;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.8;
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.hero-stats {
    margin-top: 3rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stats .stat-item .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.hero-stats .stat-item .label {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.hero-image .hero-illustration {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 50px 30px;
    backdrop-filter: blur(10px);
    text-align: center;
}

/* =============================================
   SECTION TITLES
   ============================================= */
.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(233, 69, 96, 0.08);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title.text-start,
.section-subtitle.text-start {
    margin-left: 0;
    margin-right: 0;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card .service-icon {
    width: 64px;
    height: 64px;
    background: rgba(233, 69, 96, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05) rotate(-5deg);
}

.service-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* =============================================
   WORKFORCE CARDS
   ============================================= */
.workforce-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.workforce-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.workforce-card .worker-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary);
    padding: 3px;
}

.workforce-card .worker-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.workforce-card .worker-category {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =============================================
   TESTIMONIAL CARDS
   ============================================= */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 0.8rem;
}

.testimonial-card .testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.8;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card .testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .testimonial-author .name {
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-card .testimonial-author .designation {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =============================================
   BLOG CARDS
   ============================================= */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card .blog-image {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.blog-card .blog-body {
    padding: 1.5rem;
}

.blog-card .blog-body .blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-card .blog-body .blog-meta i {
    margin-right: 0.25rem;
}

.blog-card .blog-body h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-card .blog-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =============================================
   RECRUITMENT CARDS
   ============================================= */
.recruitment-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.recruitment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   SCHEMES CARDS
   ============================================= */
.scheme-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.scheme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   RENT CARDS
   ============================================= */
.rent-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.rent-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.rent-card .rent-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.rent-card .rent-body {
    padding: 1.2rem;
}

.rent-card .rent-body .rent-price {
    font-weight: 700;
    color: #6f42c1;
    font-size: 1.1rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-weight: 800;
    font-size: 2.6rem;
    color: var(--white);
}

.cta-section h2 span {
    color: var(--primary);
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark) !important;
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer .footer-links {
    list-style: none;
    padding: 0;
}

.footer .footer-links li {
    margin-bottom: 0.6rem;
}

.footer .footer-links a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer .footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer .contact-info {
    list-style: none;
    padding: 0;
}

.footer .contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer .contact-info li i {
    color: var(--primary);
    margin-top: 3px;
}

.footer .social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer .newsletter-form .input-group {
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    overflow: hidden;
}

.footer .newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 12px 20px;
}

.footer .newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.3);
}

.footer .newsletter-form .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.footer .newsletter-form .btn-subscribe {
    background: var(--primary);
    border: none;
    color: var(--white);
    padding: 12px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.footer .newsletter-form .btn-subscribe:hover {
    background: var(--primary-dark);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer .footer-bottom .copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

.footer .footer-bottom .footer-bottom-links a {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    margin-left: 1.5rem;
    transition: var(--transition);
}

.footer .footer-bottom .footer-bottom-links a:hover {
    color: var(--primary);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.5);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 1.5rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stats .stat-item .number {
        font-size: 1.5rem;
    }
    .footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer .footer-bottom .footer-bottom-links a {
        margin: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-section {
        padding: 80px 0 40px;
        min-height: auto;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
    .cta-section h2 {
        font-size: 1.6rem;
    }
    .cta-section p {
        font-size: 0.95rem;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.rounded-custom {
    border-radius: var(--radius);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}