/* KHETLAJI INDUSTRIES - Professional Website Styles */

/* Brand Colors based on Logo */
:root {
    --primary-maroon: #7A0000;
    --secondary-grey: #666666;
    --accent-blue: #2B95D6;
    --light-blue: #89CFF0;
    --gradient-blue: linear-gradient(135deg, #2B95D6 0%, #89CFF0 100%);
    --dark-maroon: #8B0000;
    --text-dark: #333333;
    --text-light: #555555;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.1rem;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

.col-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-2 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-4 {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
}

.logo img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-maroon);
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-maroon);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-maroon);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}
/**/
.hero {
    position: relative;
    /*background: linear-gradient(180deg, #0288d1, #4fc3f7);*/
     background:
        linear-gradient(rgba(2,136,209,0.65), rgba(79,195,247,0.65)),
        url("hero_image_4.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 120px 0 180px;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
}

.tagline {
    /* font-size: 18px;
    color: #7A0000 !important; */
    /* opacity: 0.9; */
    color: #ffffff !important; /* Changes "Precision, Purity, Performance" to Gold */
        opacity: 0.8 !important;     /* Makes it solid/bright */
        font-weight: 600 !important;
}

.hero-description {
     margin: 20px 0; 
     color: #FFFFFF !important;
     opacity: 0.6 !important; 
    /* opacity: 1 !important; */
     line-height: 1.6; 
}

.hero-buttons .btn {
    margin-right: 12px;
}

/* 🌊 Water Wave Animation */
.wave-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 140px;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 140px;
    fill: #ffffff;
}

.wave1 {
    opacity: 0.6;
    animation: waveMove 10s linear infinite;
}

.wave2 {
    opacity: 0.4;
    animation: waveMove 16s linear infinite;
}

@keyframes waveMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
/**/
/* Hero Section */

.hero {
    /*background: var(--gradient-blue);*/
    background: #0f74af;
    /*color: white;*/
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero_image_2.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    margin-bottom: 0rem;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 0rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-maroon);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-maroon);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 0, 0, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-maroon);
    color: white;
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.card-text {
    color: #666;
    margin-bottom: 1rem;
}

 .culture-icon {
    background: var(--primary-maroon);
    color: white;
    font-size: 32px;
     width: 70px;
    height: 70px; 
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
     margin: 0 auto 16px; 
} 


/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0rem;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 16px
}

/* Stats Section */
.stats {
    background: #f8fafc;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-maroon);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-maroon);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-maroon);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .col-3,
    .col-2,
    .col-4,
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .row {
        margin: 0;
    }
    
    .col {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Floating Contact Widget */
.floating-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: inherit;
}

.contact-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-maroon);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(122, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-toggle:hover {
    background: var(--dark-maroon);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(122, 0, 0, 0.4);
}

.contact-toggle:active {
    transform: scale(0.95);
}

.contact-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-toggle:hover::before {
    opacity: 0.1;
}

.toggle-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.contact-toggle.active .toggle-icon {
    transform: rotate(45deg);
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-options.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.contact-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-option:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-option:active {
    transform: translateY(-1px) scale(1.05);
}

.contact-option.whatsapp {
    background: #25D366;
}

.contact-option.whatsapp:hover {
    background: #1ebe5a;
}

.contact-option.phone {
    background: var(--primary-maroon);
}

.contact-option.phone:hover {
    background: var(--dark-maroon);
}

.contact-option.email {
    background: #4285F4;
}

.contact-option.email:hover {
    background: #3367d6;
}

.contact-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-option:hover::before {
    opacity: 1;
}

.contact-option-icon {
    position: relative;
    z-index: 2;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-contact-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-toggle {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .contact-options {
        bottom: 65px;
        gap: 12px;
    }
    
    .contact-option {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .floating-contact-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .contact-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .contact-options {
        bottom: 60px;
        gap: 10px;
    }
    
    .contact-option {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Animation keyframes */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(122, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(122, 0, 0, 0);
    }
}

.contact-toggle.pulse {
    animation: pulse 2s infinite;
}

/* Hide on mobile when keyboard is open */
@media (max-height: 500px) {
    .floating-contact-widget {
        display: none;
    }
}

/* Ensure widget doesn't interfere with content */
.floating-contact-widget * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
/* CLIENT LOGO SLIDER */

.client-slider-section {
    padding: 60px 0;
    background: #ffffff;
}

.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: infiniteScroll 25s linear infinite;
}

/* Pause on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-track img {
    height: 70px;
    margin: 0 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* KEY PART */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-track img {
        height: 50px;
        margin: 0 24px;
    }
}

@media (max-width: 480px) {
    .logo-track img {
        height: 40px;
        margin: 0 16px;
    }
}
/* END OF CLIENT LOGO SLIDER */