/* ======================================================
   KT ELITE - DYNAMIC FRONTEND STYLESHEET
========================================================= */

/* --- CSS Variables & Reset --- */
:root {
    --primary-dark: #051A31; /* Prosper globe jaisa dark blue */
    --primary-light: #0A2E59;
    --accent-yellow: #FFC107;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-gray: #F8F9FA;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--primary-dark); }
a { text-decoration: none; }
html { scroll-behavior: smooth; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 10px 24px; font-size: 0.95rem; font-weight: 600; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; }
.btn-yellow { background-color: var(--accent-yellow); color: var(--primary-dark); border: 2px solid var(--accent-yellow); }
.btn-yellow:hover { background-color: transparent; color: var(--accent-yellow); }

/* --- Header & Navigation --- */
header { background-color: var(--white); padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.6rem; font-weight: 700; color: var(--primary-dark); font-family: 'Playfair Display', serif;}

.nav-links { display: flex; gap: 25px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-dark); font-size: 0.95rem; font-weight: 600; text-transform: capitalize; transition: color 0.3s;}
.nav-links a:hover { color: var(--primary-light); }
.mobile-btn { display: none; }

/* Hamburger Menu Icon (Hidden on Desktop) */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.bar { height: 3px; width: 25px; background-color: var(--primary-dark); margin: 3px 0; transition: all 0.3s ease; }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- Hero Section --- */
.hero { background-color: var(--primary-dark); padding: 80px 5%; display: flex; align-items: center; justify-content: space-between; color: var(--white); }
.hero-content { flex: 1; max-width: 600px; }
.hero h1 { color: var(--white); font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--accent-yellow); font-style: italic; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; color: #d1d5db; }
.hero-buttons { display: flex; gap: 15px; }

.hero-image-container { flex: 1; display: flex; justify-content: flex-end; position: relative; }
.hero-image-container img { width: 90%; max-width: 500px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.floating-card { position: absolute; bottom: -20px; left: 20px; background: var(--white); color: var(--primary-dark); padding: 15px 20px; border-radius: 6px; font-weight: 600; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- Dynamic Category Sections (Industries/Products/etc.) --- */
.industries { padding: 80px 5%; display: flex; gap: 50px; }
.industries-title { flex: 1; position: sticky; top: 100px; height: fit-content; }
.industries-title h2 { font-size: 2.5rem; margin-bottom: 15px; text-transform: capitalize;}
.industries-title p { color: var(--text-light); font-size: 1.05rem; line-height: 1.6; }
.industries-list { flex: 2; display: flex; flex-direction: column; gap: 25px; }

.industry-card { display: flex; align-items: center; padding: 20px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.industry-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.industry-card img { width: 160px; height: 110px; object-fit: cover; border-radius: 8px; margin-right: 25px; flex-shrink: 0; }
.industry-card h4 { font-size: 1.3rem; margin-bottom: 8px; color: var(--primary-dark); text-transform: capitalize; }
.industry-card p { font-size: 0.95rem; color: #555; line-height: 1.5; }

/* --- Professional Mega Footer --- */
.mega-footer { background-color: var(--primary-dark); color: #d1d5db; padding: 60px 5% 20px; margin-top: 40px; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-family: 'Inter', sans-serif; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #a0aec0; font-size: 0.9rem; transition: color 0.3s; text-transform: capitalize;}
.footer-col ul li a:hover { color: var(--white); }
.brand-col p { font-size: 0.9rem; margin-bottom: 20px; max-width: 300px; line-height: 1.6;}
.contact-info p { margin-bottom: 10px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid #1a2e50; padding-top: 20px; text-align: left; font-size: 0.85rem; color: #718096; }


/* ======================================================
   MOBILE RESPONSIVE DESIGN (Media Queries)
========================================================= */
@media screen and (max-width: 768px) {
    /* 1. Header & Hamburger Menu */
    header { padding: 15px 5%; }
    .desktop-btn { display: none; } 
    .menu-toggle { display: flex; } 
    
    .nav-links { 
        display: none; 
        flex-direction: column; 
        width: 100%; 
        position: absolute; 
        top: 60px; 
        left: 0; 
        background: var(--white); 
        padding: 20px 5%; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: center; margin-bottom: 15px; }
    .mobile-btn { display: block; margin-top: 10px; }

    /* 2. Hero Section */
    .hero { flex-direction: column; text-align: center; padding: 60px 5%; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { justify-content: center; }
    .hero-image-container { margin-top: 40px; width: 100%; justify-content: center; }

    /* 3. Dynamic Industry/Product Cards */
    .industries { flex-direction: column; padding: 50px 5%; gap: 30px;}
    .industries-title { position: static; text-align: center; }
    .industries-title p { margin-bottom: 20px; }
    
    .industry-card { flex-direction: column; text-align: center; padding: 25px 15px; }
    .industry-card img { width: 100%; height: 200px; margin-right: 0; margin-bottom: 20px; }

    /* 4. Footer Fixes (Left aligned, 2 columns for links) */
    .footer-container { 
        grid-template-columns: 1fr 1fr; 
        gap: 30px 15px; 
        text-align: left; 
    }
    .brand-col {
        grid-column: span 2; 
    }
    .brand-col p { 
        max-width: 100%; 
        margin: 0 0 20px 0; 
    }
    .footer-bottom { 
        text-align: center; 
    }
}
/* --- Dropdown Menu Styles --- */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 260px;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 1000;
}
.dropdown:hover .dropdown-menu {
    display: block; /* Hover karte hi menu dikhega */
}
.dropdown-menu li {
    margin: 0;
}
.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--text-dark) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-transform: capitalize;
    border-bottom: 1px solid #f0f0f0;
}
.dropdown-menu li:last-child a {
    border-bottom: none;
}
.dropdown-menu a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-light) !important;
    padding-left: 25px; /* Thoda slide effect ke liye */
}

/* Mobile Devices me Dropdown ko sahi dikhane ke liye */
@media screen and (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        background: transparent;
        display: none;
    }
    .dropdown:hover .dropdown-menu,
    .dropdown:active .dropdown-menu {
        display: block;
    }
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float img {
    width: 35px;
    height: 35px;
}