/* ===============================================================
   CRITICAL.CSS - Above-the-fold styles only (~5KB)
   Load inline in <head> for instant render
   FULLY RESPONSIVE - Desktop, Tablet, Mobile optimized
================================================================ */

/* CSS Variables */
:root {
    --primary-blue: #003399;
    --dark-blue: #001F54;
    --accent-green: #25D366;
    --highlight-yellow: #F4B400;
    --light-bg: #F8F9FB;
    --text-color: #333333;
    --white: #FFFFFF;
    --shadow-light: 0 4px 15px rgba(0,0,0,0.1);
    --transition-fast: all 0.3s ease;
}

/* Reset essentials */
*,*::before,*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER - DESKTOP BASE ==================== */
header {
    background: var(--primary-blue);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Logo Image */
.logo img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

/* Wrap for text */
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

/* Brand Primary Line */
.logo-text p {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.05;
    text-transform: uppercase;
    color: white !important;
}

/* Gradient premium applied */
.gradient-text {
    color: white;
    font-weight: 900 !important;
    letter-spacing: 1.1px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.18);
}

/* Brand Secondary Line */
.logo-text p {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    font-size: 27.5px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    margin-top: 3px;
    line-height: 1.05;
    text-align: right;
    text-transform: uppercase;
}
.packers-text {
    margin: 0 !important;
    padding: 0;
    font-family: 'Playfair Display', serif;
    font-size: 26px !important;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    margin-top: 3px;
    line-height: 1.05;
    text-align: right;
    text-transform: uppercase;
}


/* Prevent text selection weirdness on mobile */
.logo, .logo * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 15px;
    color: white;
    padding: 10px 6px;
}

.nav-cta {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 5px;
}

/* Hamburger Menu (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==================== CERTIFICATION BAR - DESKTOP ==================== */
.cert-bar {
    width: 100%;
    background: var(--primary-blue);
    padding: 8px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.4px;
}

/* LEFT SIDE — ISO Highlight (Desktop) */
.cert-left {
    background: var(--accent-green);
    color: #003399;
    padding: 6px 205px;
    border-radius: 6px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.5px;
    font-size: 26px;
}

.badge-iso {
    background: var(--accent-green);
    color: #003399;
    padding: 6px 175px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 25px;
}

/* RIGHT SIDE — GST + PAN */
.cert-right {
    display: flex;
    gap: 18px;
}

.badge-id {
    background: #E0E8FF;
    color: #003399;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 20px;
    border: 1px solid #cdd9ff;
}

.cert-right .gst,
.cert-right .pan {
    background: #003399;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, rgba(0, 31, 84, 0), rgba(0, 51, 153, 0.90)), 
                url('/2112.w037.n003.56B.p1.56.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 50px 0;
    min-height: calc(100vh - 100px);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.7;
}

/* Lead Form */
.lead-form {
    background: var(--primary-blue);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.lead-form h3 {
    color: white;
    margin-bottom: 14px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: white;
    font-size: 12px;
}

.form-group input,.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--primary-blue);
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* ========== TABLET LANDSCAPE (1024px - 1200px) ========== */
@media (max-width: 1200px) {
    .logo img {
        width: 90px;
    }
    
    .logo-text p {
        font-size: 30px;
    }
    
    .packers-text{
        font-size:29px !important;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .cert-left {
        padding: 6px 150px;
        font-size: 22px;
    }
    
    .badge-id {
        font-size: 18px;
    }
}

/* ========== TABLET PORTRAIT (768px - 1024px) ========== */
@media (max-width: 1024px) {
    nav {
        padding: 8px 0;
    }
    
    .logo img {
        width: 80px;
    }
    
    .logo-text p {
        font-size: 28px;
        letter-spacing: 0.8px;
        
    }
    
    
    .nav-menu {
        gap: 7px;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 8px 4px;
    }
    
    .nav-cta {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    /* Certification bar adjustments */
    .cert-bar {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .cert-left {
        padding: 5px 80px;
        font-size: 18px;
    }
    
    .badge-id {
        font-size: 16px;
        padding: 4px 8px;
    }
    
    .cert-right {
        gap: 12px;
    }
}

/* ========== MOBILE & TABLETS (< 768px) ========== */
@media (max-width: 768px) {
    nav {
        padding: 10px 0;
    }
    
    .logo {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .logo img {
        width: 60px;
    }
    
    .logo-text p {
        font-size: 30px;
        letter-spacing: 0.5px;
    }
    
   

    /* (✓) Hamburger removed from here because we will trigger it at 1200px */
    
    /* Certification Bar - 2 Column Grid */
    .cert-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px 15px;
    }
    
    .cert-left {
        padding: 6px 10px;
        font-size: 12px;
        font-weight: 800;
    }
    
    .cert-right {
        flex-direction: column;
        gap: 6px;
    }
    
    .badge-id {
        font-size: 11px;
        padding: 5px 8px;
        width: 100%;
        text-align: center;
    }
    .cert-bar .badge-id:last-child {
        grid-column: 1 / -1;   /* spans both columns */
        justify-self: center; /* optional: centers nicely */
        text-align: center;
    }
    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
}


@media (max-width: 1200px) {

    /* Show Hamburger */
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--white);
        width: 280px;
        height: 100vh;
        padding: 80px 30px 30px;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
        z-index: 999;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 15px 0;
        color: var(--primary-blue) !important;
        font-size: 16px;
        width: 100%;
        display: block;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-cta {
        margin-top: 15px;
        width: 100%;
        text-align: center;
        background: var(--accent-green) !important;
        color: var(--primary-blue) !important;
    }
}

/* ========== MOBILE MEDIUM (481px - 576px) ========== */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    nav {
        padding: 8px 0;
    }
    
    .logo img {
        width: 55px;
    }
    
    .logo-text p {
        font-size: 24px;
        letter-spacing: 0.4px;
    }
    
  .packers-text{
      font-size:23px !important;
  }  
    .hamburger span {
        width: 22px;
        height: 2.5px;
    }
    
    /* Certification Bar */
    .cert-bar {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .cert-left {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .badge-id {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 28px;
    }
}

/* ========== MOBILE SMALL (320px - 480px) ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    nav {
        padding: 6px 0;
    }
    
    .logo {
        gap: 6px;
    }
    
    .logo img {
        width: 50px;
    }
    
    .logo-text p {
        font-size: 20px;
        letter-spacing: 0.3px;
    }
    
    .packers-text{
        font-size:13.7px !important;
    }
    
    .hamburger {
        gap: 4px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    /* Certification Bar - Compact */
    .cert-bar {
        padding: 5px 8px;
        gap: 5px;
        font-size: 9px;
    }
    
    .cert-left {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .badge-id {
        font-size: 9px;
        padding: 3px 5px;
    }
    
    /* Mobile menu adjustments */
    .nav-menu {
        width: 260px;
        padding: 70px 25px 25px;
    }
    
    .nav-menu a {
        font-size: 15px;
        padding: 12px 0;
    }
}

/* ========== MOBILE EXTRA SMALL (< 360px) ========== */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .logo img {
        width: 60px;
    }
    
    .logo-text p {
        font-size: 16px;
    }
    
    .logo-text p {
        font-size: 14.5px;
    }
    
    .cert-bar {
        padding: 4px 6px;
        gap: 4px;
    }
    
    .cert-left {
        font-size: 9px;
        padding: 3px 5px;
    }
    
    .badge-id {
        font-size: 8px;
        padding: 2px 4px;
    }
}

/* ========== LANDSCAPE MODE FIXES ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-menu {
        padding: 20px 20px 20px;
        overflow-y: auto;
    }
    
    .nav-menu li {
        margin-bottom: 0;
    }
    
    .nav-menu a {
        padding: 10px 0;
        font-size: 14px;
    }
}

/* ========== TOUCH IMPROVEMENTS (Mobile Devices) ========== */
@media (hover: none) and (pointer: coarse) {
    .hamburger {
        padding: 8px;
        margin: -8px;
    }
    
    .nav-menu a {
        padding: 16px 0;
        -webkit-tap-highlight-color: rgba(0, 51, 153, 0.1);
    }
}