﻿/*==================================================================
    KABARONDO VTC - MODERN DESIGN SYSTEM
    A contemporary, professional design for vocational training center
==================================================================*/

/*------------------------------------------------------------------
    1. CSS CUSTOM PROPERTIES (Design Tokens)
------------------------------------------------------------------*/
:root {
    /* Modern Color Palette */
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fbbf24;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(37, 99, 235, 0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
}

/*------------------------------------------------------------------
    2. TYPOGRAPHY
------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 76px !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.7;
}

/*------------------------------------------------------------------
    3. NAVIGATION - MODERN
------------------------------------------------------------------*/
.top-navbar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.top-navbar .navbar {
    padding: 12px 0;
    transition: var(--transition-base);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.brand-mark {
    text-decoration: none;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-sm) var(--space-md) !important;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(245, 158, 11, 0.08);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

/* Dropdown Modern */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-sm);
    min-width: 200px;
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(4px);
}

/* Desktop hover dropdown */
@media (min-width: 992px) {
    .top-navbar .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    /* Avoid a visual gap when moving from link to menu */
    .top-navbar .navbar .dropdown-menu {
        margin-top: 0;
    }
}
/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: var(--space-sm);
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.navbar-toggler:hover {
    background: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .icon-bar {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.navbar-toggler:hover .icon-bar {
    background: var(--white);
}

/*------------------------------------------------------------------
    4. HERO SECTION - MODERN
------------------------------------------------------------------*/
.first-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-top: 0;
}

.first-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.first-section .dtab {
    position: relative;
    z-index: 2;
}

.big-tagline {
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.big-tagline h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-lg);
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.big-tagline h2 strong {
    color: var(--accent-light);
    font-weight: 800;
}

.big-tagline .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

/* Modern Carousel */
.carousel {
    border-radius: 0;
    overflow: hidden;
}

.carousel-indicators {
    bottom: 30px;
    z-index: 10;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: var(--transition-fast);
}

.carousel-indicators li.active {
    width: 32px;
    background: var(--accent-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 10;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color);
}

/*------------------------------------------------------------------
    5. BUTTONS - MODERN
------------------------------------------------------------------*/
.hover-btn-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.hover-btn-new span {
    position: relative;
    z-index: 2;
}

/* Primary Button */
.hover-btn-new.orange,
.hover-btn-new:not(.log) {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.hover-btn-new.orange:hover,
.hover-btn-new:not(.log):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 10px 20px rgba(245, 158, 11, 0.3);
    color: var(--white);
}

/* Outline Button */
.hover-btn-new.outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hover-btn-new.outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Apply Now Button */
.hover-btn-new.log {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 12px 24px;
    box-shadow: var(--shadow-sm);
}

.hover-btn-new.log:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 15px rgba(245, 158, 11, 0.4);
    color: var(--white);
}

/*------------------------------------------------------------------
    6. CARDS - MODERN
------------------------------------------------------------------*/
.blog-item,
.program-card,
.course-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.blog-item:hover,
.program-card:hover,
.course-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.image-blog {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.image-blog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-item:hover .image-blog img,
.course-item:hover .image-blog img {
    transform: scale(1.08);
}

.blog-item .blog-title {
    padding: var(--space-lg) var(--space-lg) var(--space-sm);
}

.blog-item .blog-title h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.blog-item .blog-title h2 a {
    color: var(--gray-900);
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-item .blog-title h2 a:hover {
    color: var(--primary-color);
}

.blog-item .blog-desc {
    padding: 0 var(--space-lg) var(--space-md);
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.blog-item .blog-button {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
}

/* Legacy course cards (program pages) */
.course-item {
    display: flex;
    flex-direction: column;
}

.course-item .course-br {
    flex: 1;
}

.course-br {
    border: 0;
    padding: var(--space-lg);
}

.course-item .course-title > h2 {
    margin: 0 0 var(--space-sm);
    padding: 0;
}

.course-item .course-title a {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--gray-900);
    text-decoration: none;
    transition: var(--transition-fast);
    text-transform: none;
}

.course-item:hover .course-title a {
    color: var(--primary-color);
}

.course-item .course-desc {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.course-item .course-desc p {
    margin: 0;
}

/* Certificate Cards */
.our-team {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.our-team:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.our-team .team-img {
    position: relative;
    overflow: hidden;
}

.our-team .team-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.our-team:hover .team-img img {
    transform: scale(1.05);
}

/*------------------------------------------------------------------
    7. STATS SECTION - MODERN
------------------------------------------------------------------*/
.section.cl {
    background: var(--gradient-dark);
    padding: var(--space-3xl) 0;
}

.stat-wrap {
    text-align: center;
}

.stat-wrap .col-md-4 {
    padding: var(--space-xl);
}

.stat-wrap .icon_wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition-base);
}

.stat-wrap .col-md-4:hover .icon_wrap {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.stat_count {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-wrap h3 {
    color: var(--gray-300);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/*------------------------------------------------------------------
    8. SECTION TITLES - MODERN
------------------------------------------------------------------*/
.section-title {
    margin-bottom: var(--space-3xl);
}

.section-title h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-title h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-title .lead {
    max-width: 700px;
    margin: var(--space-lg) auto 0;
}

/* Section Titles for inner pages */
.box h1.typing-effect,
.container h1.typing-effect {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-xl);
    position: relative;
    display: inline-block;
}

.box h1.typing-effect::after,
.container h1.typing-effect::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

/*------------------------------------------------------------------
    9. FOOTER - MODERN
------------------------------------------------------------------*/
.footer {
    background: var(--gradient-dark);
    color: var(--gray-300);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer .widget-title h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer .widget-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: var(--radius-full);
}

.footer p {
    color: var(--gray-400);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
    padding: var(--space-xs) 0;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Social Icons */
.footer-links-soi {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0 0;
    display: flex;
    gap: var(--space-sm);
}

.footer-links-soi li {
    margin: 0;
}

.footer-links-soi a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1.125rem;
    transition: var(--transition-base);
}

.footer-links-soi a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Copyright */
.copyrights {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
}

.copyrights .footer-company-name {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

.copyrights .footer-company-name a {
    color: var(--accent-color);
    text-decoration: none;
}

/*------------------------------------------------------------------
    10. FORMS - MODERN
------------------------------------------------------------------*/
.form-control,
.php-email-form input[type="text"],
.php-email-form input[type="email"],
.php-email-form textarea,
.contact-form input,
.contact-form textarea {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    font-size: 1rem;
    color: var(--gray-700);
    transition: var(--transition-fast);
    box-shadow: none;
}

.form-control:focus,
.php-email-form input:focus,
.php-email-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-400);
}

/* Custom Select */
select.form-control,
.custom-select-padding {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

/* Radio & Checkbox */
input[type="radio"],
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: var(--space-sm);
    accent-color: var(--primary-color);
}

/* Form Button */
.php-email-form button[type="submit"],
.contact-form button[type="submit"],
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.php-email-form button[type="submit"]:hover,
.contact-form button[type="submit"]:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 10px 20px rgba(245, 158, 11, 0.3);
    background: var(--gradient-primary);
    color: var(--white);
}

/*------------------------------------------------------------------
    11. PAGE TITLES - MODERN
------------------------------------------------------------------*/
.all-title-box {
    background: var(--gradient-dark);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.all-title-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
}

.all-title-box h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.all-title-box .m_1 {
    color: var(--gray-300);
    font-size: 1.125rem;
    font-weight: 400;
    margin-top: var(--space-sm);
    display: block;
}

/*------------------------------------------------------------------
    12. MODALS - MODERN
------------------------------------------------------------------*/
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--gray-100);
    padding: var(--space-lg);
    background: var(--gray-50);
}

.modal-header .modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-header .close {
    padding: var(--space-sm);
    margin: calc(-0.5 * var(--space-sm)) calc(-0.5 * var(--space-sm)) calc(-0.5 * var(--space-sm)) auto;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.modal-header .close:hover {
    background: var(--gray-200);
}

.modal-body {
    padding: var(--space-xl);
}

/*------------------------------------------------------------------
    13. CONTACT DETAILS CARD - MODERN
------------------------------------------------------------------*/
.contact-details-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.contact-details-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
}

.contact-details-card p {
    color: var(--gray-600);
}

.contact-details-card strong {
    color: var(--gray-900);
}

.contact-details-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-details-card a:hover {
    color: var(--primary-dark);
}

/*------------------------------------------------------------------
    14. LOADER - MODERN
------------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kvtc-loader {
    text-align: center;
}

.kvtc-loader__icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }
    50% {
        transform: scale(1.05);
        box-shadow: var(--shadow-2xl), 0 0 30px rgba(245, 158, 11, 0.4);
    }
}

.kvtc-loader__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.kvtc-loader__sub {
    color: var(--gray-500);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/*------------------------------------------------------------------
    15. UTILITY CLASSES
------------------------------------------------------------------*/
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/*------------------------------------------------------------------
    16. RESPONSIVE ADJUSTMENTS
------------------------------------------------------------------*/
@media (max-width: 992px) {
    .big-tagline h2 {
        font-size: 2.5rem;
    }
    
    .big-tagline .lead {
        font-size: 1.125rem;
    }
    
    .section-title h3 {
        font-size: 1.75rem;
    }
    
    .all-title-box h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .big-tagline h2 {
        font-size: 2rem;
    }
    
    .stat_count {
        font-size: 2.5rem;
    }
    
    .stat-wrap .icon_wrap {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .box h1.typing-effect,
    .container h1.typing-effect {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .big-tagline h2 {
        font-size: 1.75rem;
    }
    
    .hover-btn-new {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .all-title-box h1 {
        font-size: 1.75rem;
    }
}

/*------------------------------------------------------------------
    17. ANIMATIONS
------------------------------------------------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animations for cards */
.blog-item:nth-child(1) { animation-delay: 0.1s; }
.blog-item:nth-child(2) { animation-delay: 0.2s; }
.blog-item:nth-child(3) { animation-delay: 0.3s; }
.blog-item:nth-child(4) { animation-delay: 0.4s; }
.blog-item:nth-child(5) { animation-delay: 0.5s; }
.blog-item:nth-child(6) { animation-delay: 0.6s; }

/*------------------------------------------------------------------
    18. SCROLL TO TOP - MODERN
------------------------------------------------------------------*/
#scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    cursor: pointer;
    text-decoration: none;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 10px 20px rgba(245, 158, 11, 0.4);
}

/*------------------------------------------------------------------
    19. HR LINES - MODERN
------------------------------------------------------------------*/
hr,
.hr3,
.invis {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
    margin: var(--space-xl) 0;
}

/*------------------------------------------------------------------
    20. IMAGE GALLERY MODAL FIXES
------------------------------------------------------------------*/
.modal-body img.img-fluid {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/*------------------------------------------------------------------
    21. OVERRIDE OLD COLORS
------------------------------------------------------------------*/
/* Replace old accent colors */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }

/* Override old button styles */
.btn-light {
    background: var(--white);
    border: 2px solid var(--gray-200) !important;
    color: var(--gray-700);
}

.btn-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color) !important;
    color: var(--white);
}

.btn-dark {
    background: var(--secondary-color);
    border: none !important;
    color: var(--white);
}

/* Override old team section */
.our-team .team-content {
    background: var(--white);
    padding: var(--space-lg);
    border-top: 3px solid var(--primary-color);
}

.our-team:hover .team-content {
    background: var(--gray-50);
}



