@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & SYSTEM VARIABLES --- */
:root {
    --primary: #1597db;
    --primary-hover: #0d83c2;
    --yellow: #f1c40f;
    --red: #e31b23;
    --red-hover: #c8131a;
    --dark: #111827;
    --slate: #4b5563;
    --light-grey: #f9fafb;
    --border-grey: #e5e7eb;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 25px 50px -12px rgba(21, 151, 219, 0.08), 0 8px 24px -8px rgba(0, 0, 0, 0.04);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--slate);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Frosted page backdrop overlay when mobile menu is active */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.menu-open::after {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden !important; /* Stop body scrolling while mobile drawer is open */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

ul {
    list-style: none;
}

/* --- REUSABLE UTILITIES --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-grey);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(21, 151, 219, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 151, 219, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 151, 219, 0.2);
}

.btn-accent {
    background-color: var(--red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(227, 27, 35, 0.3);
}

.btn-accent:hover {
    background-color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.4);
}

.btn-yellow {
    background-color: var(--yellow);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(241, 196, 15, 0.3);
}

.btn-yellow:hover {
    background-color: #d4ac0d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.badge-primary {
    background-color: rgba(21, 151, 219, 0.1);
    color: var(--primary);
    border: 1px solid rgba(21, 151, 219, 0.2);
}

.badge-yellow {
    background-color: rgba(241, 196, 15, 0.1);
    color: #b7950b;
    border: 1px solid rgba(241, 196, 15, 0.2);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* Ensure section header badges display as a centered pill stacked on top of the title */
.section-header.text-center .badge {
    display: block;
    width: fit-content;
    margin: 0 auto 16px auto;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
}

.section-title.left-align {
    text-align: left;
    display: block;
}

.section-title.left-align::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate);
    font-weight: 400;
}

/* --- HEADER / NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition);
}

header.scrolled .container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 40px;
}


/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

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

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

.nav-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    background-color: #0c1424;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(rgba(21, 151, 219, 0.15) 1.2px, transparent 1.2px),
        linear-gradient(135deg, rgba(12, 20, 36, 0.96) 0%, rgba(12, 20, 36, 0.8) 50%, rgba(21, 151, 219, 0.25) 100%);
    background-size: 24px 24px, 100% 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 3;
}

.hero .container {
    position: relative;
    z-index: 2;
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-cert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    color: var(--yellow);
}

.hero-cert svg {
    fill: var(--yellow);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--white) 30%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-badge-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-badge-icon {
    width: 48px;
    height: 48px;
    background: rgba(21, 151, 219, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(21, 151, 219, 0.3);
}

.hero-badge-text h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.hero-badge-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- SECTION: WELCOME & ABOUT INTRO --- */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-images {
    position: relative;
}

.welcome-img-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
}

.welcome-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 10;
}

.welcome-badge h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.welcome-badge p {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

.welcome-content .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.welcome-content p {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.welcome-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.welcome-high-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-high-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(21, 151, 219, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-high-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

/* --- STATS COUNTERS --- */
.stats-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* --- WHY CHOOSE US --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(21, 151, 219, 0.15);
}

.why-card:hover::before {
    transform: scaleY(1);
}

.why-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(21, 151, 219, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background-color: var(--primary);
    color: var(--white);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.5;
}

/* --- PRODUCTS SECTION --- */
.products-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    color: var(--slate);
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(21, 151, 219, 0.25);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-grey);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--yellow) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(21, 151, 219, 0.15);
}

.product-img-box {
    position: relative;
    overflow: hidden;
    background-color: #f3f4f6;
    height: 220px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.4);
    opacity: 0;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.product-body p {
    font-size: 0.85rem;
    color: var(--slate);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-grey);
}

.product-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

/* --- INFRASTRUCTURE SETUP --- */
.infra-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.infra-content .lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 24px;
}

.infra-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.infra-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-grey);
}

.infra-item-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.infra-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.infra-gallery {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* --- INDUSTRIES SERVED (BESPOKE INDUSTRIAL DESIGN) --- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.industry-card {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-left-color: var(--yellow);
}

.industry-badge {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--slate);
    opacity: 0.25;
    letter-spacing: 1px;
}

.industry-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(21, 151, 219, 0.06);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    background-color: var(--primary);
    color: var(--white);
}

.industry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Monospace Technical Specification Panel */
.industry-specs-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--light-grey);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    padding-bottom: 6px;
}

.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-key {
    color: var(--slate);
    font-weight: 600;
}

.spec-val {
    color: var(--dark);
    font-weight: 700;
}

.industry-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.industry-link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

/* --- TRUSTED CLIENTS --- */
.clients-wrapper {
    margin-bottom: 60px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.brand-card {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-card:hover {
    border-color: rgba(21, 151, 219, 0.2);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.brand-logo-box {
    width: 70px;
    height: 70px;
    background-color: rgba(21, 151, 219, 0.05);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    border: 1px dashed rgba(21, 151, 219, 0.2);
}

.brand-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.brand-card p {
    font-size: 0.75rem;
    color: var(--slate);
    font-weight: 500;
}

/* --- TESTIMONIAL SLIDER --- */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: auto;
    padding-bottom: 20px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(15px);
    text-align: center;
    padding: 0 40px 10px 40px;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonial-quote {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--slate);
    margin-top: 2px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    position: relative;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-grey);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot:hover {
    background-color: var(--primary-hover);
}

.slider-dot.active {
    background-color: var(--primary);
    width: 24px;
}

/* --- FAQ ACCORDION --- */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background-color: var(--white);
    transition: var(--transition-fast);
}

.faq-item.active .faq-header {
    background-color: rgba(21, 151, 219, 0.02);
}

.faq-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-icon {
    color: var(--primary);
    transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
    padding: 0 24px 20px 24px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--slate);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-body {
    max-height: 200px; /* Safe upper limit */
}

/* --- CALL TO ACTION (CTA) --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section .section-title {
    color: var(--white);
}

.cta-section .section-title::after {
    background-color: var(--yellow);
}

.cta-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 36px auto;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
footer {
    background-color: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    font-size: 0.875rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

.footer-cert-badge p {
    margin-bottom: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact-item p {
    line-height: 1.4;
}

.footer-map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background-color: rgba(37, 211, 102, 0.4);
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

/* --- ABOUT PAGE SPECIFICS --- */
.about-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1597db 100%);
    color: var(--white);
    padding: 120px 0 60px 0;
    text-align: center;
}

.about-hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 8px;
}

.about-breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-breadcrumbs a:hover {
    color: var(--white);
}

.certifications-section {
    padding: 80px 0;
}

.cert-card {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.cert-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.cert-content p {
    margin-bottom: 20px;
}

.cert-badge-box {
    background-color: var(--light-grey);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 2px dashed var(--border-grey);
    text-align: center;
}

.cert-badge-icon {
    color: var(--yellow);
    margin-bottom: 16px;
}

.cert-badge-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.cert-badge-box p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 0;
}

/* --- PRODUCT SPECIFICATION TABLES --- */
.specs-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-grey);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 0.9rem;
}

.specs-table th {
    background-color: var(--dark);
    color: var(--white);
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: left;
}

.specs-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-grey);
    color: var(--slate);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:nth-child(even) {
    background-color: var(--light-grey);
}

/* --- CONTACT FORM SPECIFICS --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background-color: var(--light-grey);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    gap: 20px;
    border: 1px solid var(--border-grey);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(21, 151, 219, 0.2);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-info-text h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-info-text p, .contact-info-text a {
    font-size: 0.875rem;
    color: var(--slate);
    line-height: 1.5;
}

.contact-form-panel {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--slate);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background-color: var(--light-grey);
    transition: var(--transition-fast);
    color: var(--dark);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(21, 151, 219, 0.1);
}

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

.form-feedback {
    display: none;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 20px;
}

.form-feedback.success {
    display: block;
    background-color: rgba(37, 211, 102, 0.1);
    color: #1e7e34;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Scroll reveal helper classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- MEDIA QUERY RESPONSIVENESS --- */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-badge-box {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        width: 100%;
        padding: 24px;
        text-align: left;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .infra-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 1fr;
    }
    
    .footer-col:last-child {
        grid-column: span 3;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
    
    /* Navigation responsive menu */
    header .container {
        height: 60px;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 32px 40px 32px;
        gap: 0;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        width: 100%;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.1rem;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: left;
        display: flex;
        align-items: center;
        position: relative;
        transition: var(--transition-fast);
    }
    
    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        left: -15px;
        top: 50%;
        transform: translateY(-50%) scale(0);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: var(--yellow);
        transition: var(--transition-fast);
    }
    
    .nav-menu .nav-link:hover::before,
    .nav-menu .nav-link.active::before {
        transform: translateY(-50%) scale(1);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--yellow) !important;
        padding-left: 12px;
    }
    
    .nav-menu .nav-link::after {
        display: none !important;
    }
    
    .nav-menu .nav-btn {
        width: 100%;
        margin-top: 30px;
        padding: 14px 20px;
        text-align: center;
        border-radius: var(--radius-sm);
        background-color: var(--primary) !important;
        color: var(--white) !important;
        border: none !important;
        justify-content: center;
        font-size: 1rem;
    }
    
    .nav-menu .nav-btn:hover {
        background-color: var(--primary-hover) !important;
        box-shadow: 0 4px 14px rgba(21, 151, 219, 0.3) !important;
        transform: none !important;
    }

    .menu-toggle.active span {
        background-color: var(--white) !important;
    }
    
    .hero {
        min-height: auto !important;
        padding-top: 110px !important;
        padding-bottom: 120px !important;
    }
    
    .hero-badge-box {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 60px !important;
        z-index: 5;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-item:nth-child(even)::after {
        display: none;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col:last-child {
        grid-column: span 1;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form-panel {
        padding: 30px 24px;
    }
    
    .welcome-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item::after {
        display: none !important;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-highlights {
        grid-template-columns: 1fr;
    }
}

/* --- COSMO AUTHORIZED SPEC CARD (BESPOKE LAYOUT) --- */
.cosmo-spec-card {
    background-color: #0f172a;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cosmo-spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--yellow));
}

.cosmo-spec-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.cosmo-spec-status {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--yellow);
    font-weight: 700;
    letter-spacing: 1px;
}

.cosmo-spec-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-top: 8px;
    margin-bottom: 0;
}

.cosmo-spec-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cosmo-spec-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.cosmo-spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cosmo-spec-row .label {
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
}

.cosmo-spec-row .value {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    text-align: left;
}

.cosmo-spec-footer {
    display: flex;
    justify-content: flex-end;
}

.cosmo-cert-badge {
    background-color: rgba(241, 196, 15, 0.1);
    color: var(--yellow);
    border: 1px solid rgba(241, 196, 15, 0.2);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .cosmo-spec-card {
        padding: 24px;
    }
    .cosmo-spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
