/* CKR Engineering - Professional Industrial Theme
   Primary Color: #004a99 (Blue)
   Secondary Color: #1e1e1e (Dark)
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --ckr-blue: #004a99;
    --ckr-blue-dark: #003366;
    --ckr-dark: #1e1e1e;
    --ckr-light-bg: #f4f7f9;
    --white: #ffffff;
    --text-color: #555555;
    --heading-color: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
    background: var(--white);
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo h2 {
    font-weight: 800;
    font-size: 26px;
    color: var(--ckr-dark);
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--heading-color);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--ckr-blue);
}

/* Mobile Toggle */
#mobileMenuToggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ckr-dark);
}

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background-attachment: fixed; /* Parallax Effect */
}

.hero h1 {
    font-size: 55px;
    font-weight: 700;
    line-height: 1.2;
}

.btn-ckr {
    display: inline-block;
    background: var(--ckr-blue);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.4s;
    border: none;
}

.btn-ckr:hover {
    background: var(--ckr-dark);
    transform: translateY(-3px);
}

/* --- SERVICE CARDS (INDUSTO STYLE) --- */
.service-card-premium {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--ckr-blue);
    transition: 0.4s;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-card-premium i {
    font-size: 45px;
    color: var(--ckr-blue);
    margin-bottom: 20px;
}

.service-card-premium h3 {
    font-size: 22px;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.service-card-premium a {
    color: var(--ckr-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 15px;
}

/* --- CONTACT FORM --- */
input, textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--ckr-blue);
    box-shadow: 0 0 5px rgba(0,74,153,0.2);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    #mobileMenuToggle {
        display: block;
    }

    .nav-menu {
        display: none; /* JS will toggle 'active' class */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }
}
@media (max-width: 992px) {
    .mobile-menu-toggle { display: block !important; }
    .nav-menu {
        display: none !important; /* Shuru mein band rahega */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex !important; /* Button click pe dikhega */
    }
}