/**
 * Main Stylesheet for K&K Minerals Pvt. Ltd.
 * Version: 1.0
 */

/* ==========================================================================
   Table of Contents
   ==========================================================================
   1. Global Styles & Variables
   2. Typography
   3. Header & Navigation
   4. Top Bar
   5. Hero Slider
   6. Sections & Padding
   7. Buttons & Links
   8. Cards & Boxes
   9. Projects
   10. Clients
   11. Team & Directors
   12. Gallery
   13. Contact
   14. Footer
   15. Utilities
   16. Animations
   ========================================================================== */

/* ==========================================================================
   1. Global Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #001659;
    --secondary-color: #FF5400;
    --accent-color: #f86b24;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e5e5e5;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --font-primary: 'Yantramanav', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: #666666;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 15px;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.section-subtitle {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.header {
    position: relative;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.5s ease;
}

.navbar {
    padding: 1px 0;
}

.navbar-brand img {
    max-height: 70px;
    width: auto;
}

.navbar-nav .nav-link {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 15px !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--text-color);
    padding: 8px 20px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 24px;
    color: var(--primary-color);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 5px;
        box-shadow: var(--shadow);
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link:before {
        display: none;
    }
    
    .dropdown-menu {
        box-shadow: none;
        padding-left: 20px;
    }
}

/* ==========================================================================
   4. Top Bar
   ========================================================================== */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 2px 0;
    font-size: 14px;
}

.top-bar a {
    color: var(--white);
    margin-right: 20px;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.top-bar i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.employee-corner-link {
    background: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.employee-corner-link:hover {
    background: var(--white);
    color: var(--secondary-color) !important;
}

/* ==========================================================================
   5. Hero Slider
   ========================================================================== */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slide-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.slide-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
}

.slide-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.slide-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.slide-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin: 0;
}

.hero-slider .owl-nav button {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    color: var(--white) !important;
    font-size: 20px !important;
    transition: var(--transition);
}

.hero-slider .owl-nav button:hover {
    background: var(--secondary-color) !important;
}

.hero-slider .owl-nav .owl-prev {
    left: 30px;
    position: absolute;
}

.hero-slider .owl-nav .owl-next {
    right: 30px;
    position: absolute;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    margin: 0 5px;
    transition: var(--transition);
}

.hero-slider .owl-dot.active span {
    background: var(--secondary-color);
}

/* ==========================================================================
   6. Sections & Padding
   ========================================================================== */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 50px 0;
}

.section-padding-lg {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* ==========================================================================
   7. Buttons & Links
   ========================================================================== */
.btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 30px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* ==========================================================================
   8. Cards & Boxes
   ========================================================================== */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Mission Cards */
.mission-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,84,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.mission-icon i {
    font-size: 36px;
    color: var(--secondary-color);
}

.mission-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.mission-description {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================================================
   9. Projects
   ========================================================================== */
.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.project-status.completed {
    background: #28a745;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-title a {
    color: var(--primary-color);
}

.project-title a:hover {
    color: var(--secondary-color);
}

.project-client,
.project-category,
.project-loa,
.project-value,
.project-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.project-client i,
.project-category i,
.project-loa i,
.project-value i,
.project-date i {
    color: var(--secondary-color);
    margin-right: 5px;
    width: 16px;
}

.project-values {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Project Slider */
.project-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin: 0;
}

.project-slider .owl-nav button {
    width: 40px;
    height: 40px;
    background: var(--white) !important;
    border-radius: 50% !important;
    color: var(--primary-color) !important;
    font-size: 18px !important;
    box-shadow: var(--shadow);
}

.project-slider .owl-nav .owl-prev {
    left: -20px;
    position: absolute;
}

.project-slider .owl-nav .owl-next {
    right: -20px;
    position: absolute;
}

/* Project Type Tabs */
.project-type-tabs {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1px;
}

.project-type-tabs .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 12px 30px;
    margin: 0 5px;
    border: none;
    border-radius: 30px 30px 0 0;
    position: relative;
}

.project-type-tabs .nav-link.active {
    color: var(--secondary-color);
    background: transparent;
}

.project-type-tabs .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
}

/* Project Filters */
.project-filters {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ==========================================================================
   10. Clients
   ========================================================================== */
.clients-section {
    background: var(--white);
}

.client-item {
    padding: 20px;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    max-width: 120px;
    max-height: 80px;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.client-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.clients-slider .owl-stage {
    display: flex;
    align-items: center;
}

/* ==========================================================================
   11. Team & Directors
   ========================================================================== */
.director-card,
.team-card {
    background: #31408d17;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.director-card:hover,
.team-card:hover {
    transform: translateY(-5px);
}

.director-image,
.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255,84,0,0.1);
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
}

.director-image img,
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-name,
.team-name {
    font-size: 20px;
    margin-bottom: 5px;
}

.director-designation,
.team-designation {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.director-bio,
.team-qualification,
.team-experience {
    font-size: 14px;
    color: var(--text-light);
}

/* ==========================================================================
   12. Gallery
   ========================================================================== */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,22,89,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--white);
    padding: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 14px;
    opacity: 0.8;
}

.gallery-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.gallery-zoom {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-zoom:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Gallery Filters */
.gallery-filters {
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* ==========================================================================
   13. Contact
   ========================================================================== */
.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,84,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 30px;
    color: var(--secondary-color);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-card .address {
    line-height: 1.8;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 5px;
}

.form-control,
.form-select {
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px 15px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
    outline: none;
}

textarea.form-control {
    height: auto;
}

.map-wrapper {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.map-wrapper h5 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.map-wrapper iframe {
    border-radius: 5px;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    position: relative;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.company-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.specialization {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

.office-info {
    margin-bottom: 20px;
}

.office-info h6 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 5px;
}

.presence-map img {
    border-radius: 5px;
    border: 3px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 14px;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-left: 5px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}
.mb-6{
    color: burlywood;
}
/* ==========================================================================
   15. Utilities
   ========================================================================== */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-white { color: var(--white) !important; }
.text-justify { text-align: justify; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

.rounded { border-radius: 10px !important; }
.rounded-circle { border-radius: 50% !important; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 5px; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 20px; }
.mt-5 { margin-top: 30px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 5px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 20px; }
.mb-5 { margin-bottom: 30px; }

/* Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 247px 0 !important;
    margin-top: 0;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 22 89 / 38%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb span {
    color: var(--secondary-color);
}

/* Error Page */
.error-section {
    min-height: 500px;
    display: flex;
    align-items: center;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.error-message {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ==========================================================================
   16. Animations
   ========================================================================== */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.fadeIn {
    animation: fadeIn 1s ease;
}

.slideInLeft {
    animation: slideInLeft 1s ease;
}

.slideInRight {
    animation: slideInRight 1s ease;
}

.zoomIn {
    animation: zoomIn 1s ease;
}

/* ==========================================================================
   Owl Carousel Custom Theme for K&K Minerals
   ========================================================================== */

/* Navigation Arrows */
.owl-theme .owl-nav [class*='owl-'] {
    color: var(--white);
    font-size: 20px;
    margin: 5px;
    padding: 8px 15px;
    background: var(--primary-color);
    display: inline-block;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Dots/Pagination */
.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: rgba(0,22,89,0.3);
    display: block;
    transition: var(--transition);
    border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Hero Slider Specific */
.hero-slider .owl-theme .owl-nav [class*='owl-'] {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hero-slider .owl-theme .owl-nav [class*='owl-']:hover {
    background: var(--secondary-color);
}

/* Project Slider Specific */
.project-slider .owl-theme .owl-nav [class*='owl-'] {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow);
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.project-slider .owl-theme .owl-nav .owl-prev {
    left: -20px;
}

.project-slider .owl-theme .owl-nav .owl-next {
    right: -20px;
}

.project-slider .owl-theme .owl-nav [class*='owl-']:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Clients Slider - Hide Navigation, Show Dots on Hover */
.clients-slider.owl-theme .owl-nav {
    display: none;
}

.clients-slider.owl-theme .owl-dots {
    margin-top: 20px;
}

.clients-slider.owl-theme .owl-dots .owl-dot span {
    background: rgba(0,22,89,0.2);
}

.clients-slider.owl-theme .owl-dots .owl-dot.active span,
.clients-slider.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--secondary-color);
}

/* Testimonial Slider */
.testimonial-slider.owl-theme .owl-nav [class*='owl-'] {
    background: transparent;
    color: var(--primary-color);
    font-size: 30px;
    padding: 0;
    margin: 0 10px;
}

.testimonial-slider.owl-theme .owl-nav [class*='owl-']:hover {
    background: transparent;
    color: var(--secondary-color);
}

.testimonial-slider.owl-theme .owl-dots .owl-dot span {
    background: rgba(0,22,89,0.2);
}

.testimonial-slider.owl-theme .owl-dots .owl-dot.active span,
.testimonial-slider.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-slider .owl-theme .owl-nav {
        display: none;
    }
    
    .hero-slider .owl-theme .owl-nav [class*='owl-'] {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .owl-theme .owl-dots .owl-dot span {
        width: 8px;
        height: 8px;
        margin: 3px 5px;
    }
}

/* Animation for Sliders */
.owl-theme .owl-item {
    transition: transform 0.3s ease;
}

.owl-theme .owl-item.active {
    animation: fadeIn 0.5s ease;
}

/* Lazy Load Styling */
.owl-theme .owl-lazy {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.owl-theme .owl-lazy-loaded {
    opacity: 1;
}

/* Video Play Button */
.owl-theme .owl-video-play-icon {
    background: var(--secondary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    transition: var(--transition);
}

.owl-theme .owl-video-play-icon:hover {
    transform: scale(1.2);
    background: var(--primary-color);
}

/* RTL Support */
.owl-theme.owl-rtl .owl-nav [class*='owl-'] {
    direction: rtl;
}

/* Auto Height Animation */
.owl-height {
    transition: height 0.5s ease-in-out;
}

/* Additional CSS for improved design */

/* Hero Slider Improvements */
.hero-slide-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,22,89,0.8) 0%, rgba(0,22,89,0.4) 100%);
}

.slide-content {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.slide-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: table-cell;
}

.btn-outline-light:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Introduction Section Improvements */
.intro-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    opacity: 0.9;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 20px;
}

/* Mission Cards */
.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,84,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    background: var(--secondary-color);
}

.mission-card:hover .mission-icon i {
    color: white;
}

.mission-icon i {
    font-size: 36px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Project Tabs */
.project-tabs .nav-pills .nav-link {
    color: var(--text-color);
    font-weight: 600;
    padding: 12px 30px;
    margin: 0 5px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.project-tabs .nav-pills .nav-link.active {
    background: var(--secondary-color);
    color: white;
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.project-status.completed {
    background: #28a745;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.project-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.project-title a:hover {
    color: var(--secondary-color);
}

.project-client,
.project-value,
.project-location {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.project-client i,
.project-value i,
.project-location i {
    color: var(--secondary-color);
    margin-right: 8px;
    width: 16px;
}

/* Statistics Section */
.statistics-section {
    position: relative;
    overflow: hidden;
}

.stat-card {
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.stat-icon {
    color: var(--secondary-color);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

/* Directors Section */
.director-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.director-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255,84,0,0.1);
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-name {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.director-designation {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.director-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,84,0,0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    line-height: 35px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.director-social a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,22,89,0.95) 0%, rgba(0,22,89,0.8) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Office Cards */
.office-card {
    background: #dcedff !important;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.office-icon {
    color: var(--secondary-color);
}

/* Footer Improvements */
.footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.8);
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.widget-title {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,22,89,0.95);
    z-index: 9999;
    display: none;
}

.search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
}

.search-container form {
    display: flex;
    gap: 10px;
}

.search-container input {
    flex: 1;
    height: 60px;
    border: none;
    border-radius: 30px;
    padding: 0 25px;
    font-size: 18px;
    outline: none;
}

.search-container button {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-container button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.close-search {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-search:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .slide-title {
        font-size: 32px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .slide-buttons .btn {
        display: block;
        margin: 10px 0 !important;
    }
    
    .experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 15px;
    }
    
    .experience-badge .years {
        font-size: 28px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
    }
    
    .project-tabs .nav-pills .nav-link {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Hero Slider Improvements - Add these styles */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slide-item {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,22,89,0.8) 0%, rgba(0,22,89,0.4) 100%);
}

.hero-slide-item .container {
    position: relative;
    z-index: 2;
}

.slide-content {
    color: white;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.slide-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.slide-title {
    font-size: 52px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.slide-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Fix Owl Carousel display issue */
.owl-carousel {
    display: block !important; /* Override the default display:none */
}

.owl-carousel.owl-loaded {
    display: block !important;
}

.owl-carousel .owl-stage-outer {
    overflow: hidden;
    position: relative;
}

/* Ensure slider is visible even before initialization */
.hero-slider {
    visibility: visible !important;
    opacity: 1 !important;
}