/* ============================================
   EMEX ENGINEERING & NDT SERVICE LTD
   Master Stylesheet - CLEANED & OPTIMIZED
   Colors: #38588C (Primary), #5050A2 (Secondary)
============================================ */

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

/* --------------------------------------------
   Global Variables
-------------------------------------------- */
:root {
    --primary: #38588C;
    --secondary: #5050A2;
    --accent: #ff6b4a;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container-fluid {
    width: 100%;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
}

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

/* Grid System */
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-8 { flex: 0 0 66.667%; max-width: 66.667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-2 { flex: 0 0 16.667%; max-width: 16.667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-lg-5 { flex: 0 0 41.667%; max-width: 41.667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
    .col-lg-8 { flex: 0 0 66.667%; max-width: 66.667%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
    .col-xl-2 { flex: 0 0 16.667%; max-width: 16.667%; }
    .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
    .col-xl-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-xl-8 { flex: 0 0 66.667%; max-width: 66.667%; }
    .col-xl-10 { flex: 0 0 83.333%; max-width: 83.333%; }
    .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Main menu sits in a flex col - needs to fill center */
.main-menu {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   01. HEADER & NAVIGATION
============================================ */

/* Header Top Bar */
.header-top {
    background: var(--primary);
    padding: 12px 0;
    color: var(--white);
    transition: var(--transition);
}

.header-info-left ul,
.header-info-right ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.header-info-left ul {
    gap: 25px;
}

.header-info-left ul li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-info-left ul li i {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.header-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.header-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.header-social li a:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Header Bottom - Sticky Navbar */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: var(--primary);
}

/* On index.html hero - slight gradient overlay at very top, still primary colored */
.header-area.header-transparent {
    background: linear-gradient(to bottom, rgba(56,88,140,0.95) 0%, rgba(56,88,140,0.85) 100%);
}

/* Always solid primary when sticky (scrolled) */
.header-area.header-sticky {
    background: var(--primary) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-area.header-sticky .header-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    margin-bottom: -45px;
}

.header-bottom {
    padding: 15px 0;
    transition: padding 0.3s ease;
}

/* Non-transparent header always shows colored bottom bar */
.header-area:not(.header-transparent) .header-bottom {
    background: var(--primary);
}

.header-area.header-sticky .header-bottom {
    padding: 10px 0;
}

/* Logo */
.logo img {
    max-height: 55px;
    width: auto;
}

.big-logo {
    display: block;
}

.small-logo {
    display: none;
}

.header-area.header-sticky .big-logo {
    display: none;
}

.header-area.header-sticky .small-logo {
    display: block;
}

/* Main Navigation */
/* .main-menu styles now handled in grid section above */

.main-menu nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu nav ul li {
    position: relative;
}

.main-menu nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--white); /* Always white - header is always primary color */
    padding: 10px 0;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.header-transparent .main-menu nav ul li a {
    color: var(--white);
}

.header-sticky .main-menu nav ul li a {
    color: var(--white);
}

/* Active Page Indicator */
.main-menu nav ul li a.active {
    color: var(--accent);
}

.main-menu nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.main-menu nav ul li a:hover:after,
.main-menu nav ul li a.active:after {
    width: 100%;
}

/* ============================================
   02. SERVICES DROPDOWN - CLEAN VERTICAL LIST
============================================ */
.main-menu nav ul li .submenu {
    position: absolute;
    top: 120%;
    left: -20px;
    background: var(--white);
    min-width: 280px;
    padding: 12px 0;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent);
    display: block; /* Ensure vertical layout */
}

.main-menu nav ul li:hover .submenu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.main-menu nav ul li .submenu li {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    float: none; /* Prevent any horizontal floating */
}

.main-menu nav ul li .submenu li a {
    color: #333;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 400;
    display: block;
    white-space: nowrap;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
    transition: all 0.2s ease;
    position: relative;
}

.main-menu nav ul li .submenu li:last-child a {
    border-bottom: none;
}

.main-menu nav ul li .submenu li a:hover {
    background: #f8f9fc;
    color: var(--primary);
    padding-left: 30px;
}

.main-menu nav ul li .submenu li a:after {
    display: none !important;
}

/* NO ICONS, NO ARROWS in dropdown */
.main-menu nav ul li .submenu li a i,
.main-menu nav ul li .submenu li a:before {
    display: none !important;
}

/* Simple dropdown arrow */
.main-menu nav ul li > a i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.main-menu nav ul li:hover > a i {
    transform: rotate(180deg);
}

/* ============================================
   03. WHATSAPP BUTTON
============================================ */
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-whatsapp i {
    font-size: 16px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.header-transparent .btn-whatsapp {
    background: rgba(37, 211, 102, 0.9);
    backdrop-filter: blur(5px);
}

.header-area.header-sticky .btn-whatsapp {
    background: #25D366;
    padding: 6px 16px;
    font-size: 13px;
}

.header-right-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

/* Fixed WhatsApp Button */
.fixed-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fixed-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    font-size: 30px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.fixed-whatsapp a:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* ============================================
   04. MOBILE MENU
============================================ */
.mobile-menu-toggle {
    display: none;
    font-size: 26px;
    color: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.header-transparent .mobile-menu-toggle {
    color: var(--white);
}

.header-area.header-sticky .mobile-menu-toggle {
    color: var(--white);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -90%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    padding: 30px;
    transition: 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    text-align: right;
    margin-bottom: 30px;
}

.mobile-menu-close i {
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

.mobile-menu-close i:hover {
    color: var(--accent);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
}

.mobile-nav .has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav .has-submenu > a i {
    transition: transform 0.3s ease;
}

.mobile-nav .has-submenu.active > a i {
    transform: rotate(90deg);
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
    margin: 5px 0;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px dashed #eee;
    color: #666;
}

.mobile-submenu li a:hover {
    color: var(--primary);
}

/* ============================================
   05. HERO SLIDER & PAGE BANNER
============================================ */
.hero-slider {
    width: 100%;
    height: 900px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    position: relative;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
    color: var(--white);
    padding: 0 15px;
}


.hero-subtitle {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent);
}

.hero-text {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    max-width: 600px;
}

/* Page Banner */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 200px 0 100px;
    margin-top: 120px;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(56,88,140,0.95), rgba(80,80,162,0.95));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.banner-content h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

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

/* ============================================
   06. SERVICES SECTION - BLUR/HOVER EFFECT
============================================ */
.services-area {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: var(--primary);
    font-size: 42px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(56,88,140,0.95), rgba(80,80,162,0.95));
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.service-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
    background: var(--white);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.service-card:hover .service-overlay .btn {
    transform: translateY(0);
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -55px auto 20px;
    box-shadow: var(--shadow);
}

.service-icon img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-content h3 a {
    color: var(--dark);
}

.service-content h3 a:hover {
    color: var(--primary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 0;
}

/* ============================================
   07. PRODUCTS SECTION WITH FILTER
============================================ */
.products-area {
    padding: 100px 0;
    background: var(--light);
}

.product-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: none;
}

.product-item.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.product-item:hover .product-img img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-info h4 a {
    color: var(--dark);
}

.product-info h4 a:hover {
    color: var(--primary);
}

.product-info p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   08. TESTIMONIALS SECTION
============================================ */
.testimonials-area {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.testimonials-area:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../photos/pattern.png') repeat;
    opacity: 0.05;
}

.testimonials-area .section-title h2 {
    color: var(--white);
}

.testimonials-area .section-title p {
    color: rgba(255,255,255,0.9);
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.trusted-logo {
    flex: 0 0 auto;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

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

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-content i {
    font-size: 50px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 20px;
    font-style: italic;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.author-info h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 20px;
}

.author-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    font-size: 14px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: var(--white);
}

/* ============================================
   09. COUNTER SECTION
============================================ */
.counter-area {
    padding: 80px 0;
    background: var(--white);
}

.counter-box {
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
    margin-bottom: 30px;
}

.counter-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.counter-box i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.counter-box:hover i {
    color: var(--white);
}

.counter-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    transition: var(--transition);
}

.counter-box:hover .counter-number,
.counter-box:hover h4 {
    color: var(--white);
}

.counter-box h4 {
    font-size: 18px;
    color: var(--gray);
    transition: var(--transition);
}

/* ============================================
   10. FOOTER - EXACTLY AS PER IMAGE.PNG
============================================ */
.footer-area {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
}

.footer-area .container {
    max-width: 1200px;
}

/* Footer Columns - 4 columns exactly */
.footer-area .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

/* Company Info Column */
.footer-about {
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 20px;
    
}

.footer-about h2 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
}

.footer-about h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-about p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Quick Links Column */
.footer-links h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Address Column */
.footer-address h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-address p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Newsletter Column */
.footer-newsletter h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.newsletter-form {
    margin-bottom: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 14px;
    margin-bottom: 10px;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.newsletter-form button:hover {
    background: var(--accent);
    color: var(--white);
}

/* WhatsApp Links */
.whatsapp-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whatsapp-links li {
    margin-bottom: 10px;
}

.whatsapp-links li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.whatsapp-links li a i {
    color: #25D366;
    font-size: 16px;
}

.whatsapp-links li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Footer Bottom Copyright */
.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-area .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .footer-area .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-about h2,
    .footer-about h3 {
        text-align: center;
    }
    
    .footer-links ul li a {
        justify-content: center;
    }
    
    .whatsapp-links li a {
        justify-content: center;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   11. NDT ACCORDION
============================================ */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-header {
    padding: 0;
}

.accordion-button {
    width: 100%;
    padding: 20px 30px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-button:hover {
    background: rgba(56,88,140,0.05);
}

.accordion-button.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.accordion-button i {
    transition: transform 0.3s ease;
}

.accordion-button.active i {
    transform: rotate(90deg);
}

.accordion-body {
    padding: 30px;
    display: none;
}

.accordion-body.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   12. CONTACT PAGE
============================================ */
.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56,88,140,0.1);
}

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

.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    margin-bottom: 30px;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.contact-info-card i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info-card h4 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.contact-info-card p {
    margin-bottom: 5px;
    color: var(--gray);
}

/* ============================================
   13. TRAINING PAGE
============================================ */
.training-section {
    padding: 100px 0;
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    margin-bottom: 30px;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-img {
    height: 250px;
    overflow: hidden;
}

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

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.course-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

.course-features i {
    color: var(--accent);
}

.eligibility-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    margin-top: 50px;
}

.eligibility-box h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.eligibility-box ul {
    list-style: disc;
    margin-left: 20px;
}

.eligibility-box ul li {
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
}

/* ============================================
   14. ABOUT PAGE
============================================ */
.about-section {
    padding: 100px 0;
}

.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content h3 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
}

.value-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-5px);
}

.value-item i {
    font-size: 30px;
    color: var(--primary);
}

.value-item:hover i {
    color: var(--white);
}

.value-item span {
    font-weight: 600;
    color: var(--dark);
}

.value-item:hover span {
    color: var(--white);
}

/* ============================================
   15. BUTTONS
============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.btn-accent:hover {
    background: #ff5430;
    transform: translateY(-3px);
}

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

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

/* ============================================
   16. RESPONSIVE DESIGN
============================================ */
@media (max-width: 1199px) {
    .hero-title { font-size: 50px; }
    .banner-content h2 { font-size: 42px; }
    .section-title h2 { font-size: 38px; }
    .main-menu nav ul { gap: 25px; }
}

@media (max-width: 991px) {
    .header-top { display: none; }
    
    .main-menu { 
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-slider { 
        height: 700px; 
        margin-top: 80px;
    }
    
    .hero-title { font-size: 42px; }
    
    .page-banner {
        margin-top: 80px;
        padding: 150px 0 80px;
    }
    
    .banner-content h2 { font-size: 36px; }
    
    .service-box,
    .product-card {
        margin-bottom: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .container-fluid {
        padding-right: 20px;
        padding-left: 20px;
    }
    
    .hero-slider { height: 600px; }
    
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-text { font-size: 16px; }
    
    .page-banner {
        padding: 120px 0 60px;
    }
    
    .banner-content h2 { font-size: 28px; }
    
    .section-title h2 { font-size: 32px; }
    .section-title p { font-size: 16px; }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .trusted-logos {
        gap: 30px;
    }
    
    .trusted-logo {
        max-width: 120px;
    }
    
    .testimonial-item {
        padding: 30px;
    }
    
    .testimonial-content p {
        font-size: 18px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-area .col-lg-3,
    .footer-area .col-md-6 {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .hero-slider { 
        height: 500px;
        margin-top: 70px; 
    }
    
    .hero-title { font-size: 28px; }
    
    .banner-content h2 { font-size: 24px; }
    
    .trusted-logos {
        gap: 20px;
    }
    
    .trusted-logo {
        max-width: 100px;
    }
    
    .btn-whatsapp span {
        display: none;
    }
    
    .btn-whatsapp {
        padding: 8px 12px;
    }
    
    .btn-whatsapp i {
        font-size: 18px;
        margin: 0;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .header-right-btn {
        gap: 10px;
    }
    
    .mobile-menu {
        width: 280px;
    }
}


/* ============================================
   ADDITIONAL RESPONSIVE FIXES
============================================ */

/* Ensure main menu column sizing */
@media (min-width: 992px) {
    .col-xl-8.col-lg-8.col-md-8 {
        flex: 0 0 66.667%;
        max-width: 66.667%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile specific fixes */
@media (max-width: 991px) {
    .header-bottom .row {
        align-items: center;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    .logo img {
        max-height: 45px;
    }
}

/* Display none for large screens */
@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
    
    .d-none.d-lg-block {
        display: block !important;
    }
}

/* Alignment utilities */
.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.text-end {
    text-align: right !important;
}

.f-right {
    float: right;
}

/* Flexbox utilities */
.d-flex {
    display: flex !important;
}

/* Ensure header is always on top */
/* .header-area position/z-index already defined above */

/* Page content spacing to account for fixed header */
body {
    padding-top: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile submenu improvements */
.mobile-submenu li {
    list-style: none;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 0;
    color: #666;
    transition: color 0.3s ease;
}

.mobile-submenu li a:hover,
.mobile-submenu li a.active {
    color: var(--primary);
    padding-left: 10px;
}

/* Make sure mobile menu is vertically scrollable */
.mobile-menu {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hide mobile menu elements properly */
.mobile-menu-toggle.d-lg-none {
    display: none;
}

@media (max-width: 991px) {
    .mobile-menu-toggle.d-lg-none {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* ============================================
   RESPONSIVE FIXES - ADDED
============================================ */

/* Header row layout */
.header-bottom .row {
    flex-wrap: nowrap;
    align-items: center;
}

.header-bottom .logo {
    flex-shrink: 0;
}

.header-bottom .header-right-btn {
    flex-shrink: 0;
}

/* Fix pages that don't have hero sliders - content starts below fixed header */
.page-content-start {
    padding-top: 110px;
}

/* Container responsive max-widths */
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* col-md-1 through col-md-12 ensure proper responsive */
@media (min-width: 768px) {
    .col-md-1  { flex: 0 0 8.333%;   max-width: 8.333%;  }
    .col-md-2  { flex: 0 0 16.667%;  max-width: 16.667%; }
    .col-md-3  { flex: 0 0 25%;      max-width: 25%;     }
    .col-md-4  { flex: 0 0 33.333%;  max-width: 33.333%; }
    .col-md-5  { flex: 0 0 41.667%;  max-width: 41.667%; }
    .col-md-6  { flex: 0 0 50%;      max-width: 50%;     }
    .col-md-7  { flex: 0 0 58.333%;  max-width: 58.333%; }
    .col-md-8  { flex: 0 0 66.667%;  max-width: 66.667%; }
    .col-md-9  { flex: 0 0 75%;      max-width: 75%;     }
    .col-md-10 { flex: 0 0 83.333%;  max-width: 83.333%; }
    .col-md-11 { flex: 0 0 91.667%;  max-width: 91.667%; }
    .col-md-12 { flex: 0 0 100%;     max-width: 100%;    }
}

@media (min-width: 992px) {
    .col-lg-1  { flex: 0 0 8.333%;   max-width: 8.333%;  }
    .col-lg-2  { flex: 0 0 16.667%;  max-width: 16.667%; }
    .col-lg-3  { flex: 0 0 25%;      max-width: 25%;     }
    .col-lg-4  { flex: 0 0 33.333%;  max-width: 33.333%; }
    .col-lg-5  { flex: 0 0 41.667%;  max-width: 41.667%; }
    .col-lg-6  { flex: 0 0 50%;      max-width: 50%;     }
    .col-lg-7  { flex: 0 0 58.333%;  max-width: 58.333%; }
    .col-lg-8  { flex: 0 0 66.667%;  max-width: 66.667%; }
    .col-lg-9  { flex: 0 0 75%;      max-width: 75%;     }
    .col-lg-10 { flex: 0 0 83.333%;  max-width: 83.333%; }
    .col-lg-11 { flex: 0 0 91.667%;  max-width: 91.667%; }
    .col-lg-12 { flex: 0 0 100%;     max-width: 100%;    }
}

/* All columns full-width on mobile by default */
[class*="col-"] {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
}

/* Hero slider on inner pages with banner */
.page-banner {
    margin-top: 70px; /* Reduced since header no longer has top bar by default on these pages */
}

@media (max-width: 991px) {
    /* Ensure logo and toggle are properly spaced on tablet/mobile */
    .header-bottom .row {
        justify-content: space-between;
    }

    /* Show mobile toggle only below lg */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
    }

    /* Hero slider responsive */
    .hero-slider {
        margin-top: 70px;
    }

    /* Stack footer columns */
    .footer-area .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    /* Full width footer columns on mobile */
    .footer-area .col-lg-3,
    .footer-area .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Smaller container padding on mobile */
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    /* Page banner text */
    .page-banner .banner-content h2 {
        font-size: 26px;
    }
}

/* Utility: hide desktop nav menu column wrapper on mobile (only main-menu div, not its wrapper col) */
@media (max-width: 991px) {
    .main-menu {
        display: none !important;
    }
    .d-lg-none {
        display: flex !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    .main-menu {
        display: flex !important;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.mobile-menu-overlay.active {
    display: block;
}

/* ============================================
   CONTENT PROTECTION
   Disables text selection and image dragging
============================================ */

/* Disable text selection across the whole site */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events on links and buttons so they still work */
a img,
button img,
.btn img {
    pointer-events: auto;
}

/* Disable highlight on tap (mobile) */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   COOKIE CONSENT BANNER
============================================ */
#cookie-consent-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    width: 100%;
    background: #1a1a2e;
    color: #fff;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: bottom 0.4s ease;
    border-top: 3px solid #38588C;
}

#cookie-consent-banner.cookie-visible {
    bottom: 0;
}

#cookie-consent-banner.cookie-hidden {
    bottom: -200px;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 250px;
}

.cookie-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.cookie-text a {
    color: #7aaee8;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #fff;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #38588C, #5050A2);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #5050A2, #38588C);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 88, 140, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: #aaa;
    border: 1px solid #555;
}

.cookie-btn-decline:hover {
    background: #333;
    color: #fff;
    border-color: #777;
}

/* Mobile */
@media (max-width: 600px) {
    .cookie-content {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-btn {
        flex: 1;
    }
}

/* ============================================
   SOCIAL MEDIA SECTION
============================================ */
.social-media-area {
    padding: 80px 0;
    background: var(--light);
}

.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.social-media-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    background: var(--white);
    border: 1px solid #e5e8ef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-media-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--card-color);
    transition: var(--transition);
}

.social-media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--card-color);
    color: #333;
    text-decoration: none;
}

.social-media-card:hover::before { width: 6px; }

.card-fb { --card-color: #1877F2; }
.card-ig { --card-color: #E1306C; }
.card-x  { --card-color: #38588C; }
.card-li { --card-color: #0A66C2; }

.smc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-color) 12%, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.smc-icon svg { fill: var(--card-color); }

.social-media-card:hover .smc-icon {
    background: color-mix(in srgb, var(--card-color) 22%, #fff);
}

.smc-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.smc-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
}

.smc-handle {
    font-size: 0.78rem;
    color: #888;
}

.smc-arrow {
    color: var(--card-color);
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition);
    font-size: 0.85rem;
}

.social-media-card:hover .smc-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 991px) {
    .social-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .social-cards-grid { grid-template-columns: 1fr; }
}

/* ============================================
   COOKIE CONSENT BANNER
============================================ */
#cookie-consent-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    width: 100%;
    background: #1a1a2e;
    color: #fff;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: bottom 0.4s ease;
    border-top: 3px solid #38588C;
}

#cookie-consent-banner.cookie-visible {
    bottom: 0;
}

#cookie-consent-banner.cookie-hidden {
    bottom: -200px;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 250px;
}

.cookie-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.cookie-text a {
    color: #7aaee8;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #fff;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #38588C, #5050A2);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #5050A2, #38588C);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 88, 140, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: #aaa;
    border: 1px solid #555;
}

.cookie-btn-decline:hover {
    background: #333;
    color: #fff;
    border-color: #777;
}

/* Mobile */
@media (max-width: 600px) {
    .cookie-content {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-btn {
        flex: 1;
    }
}

/* ========================
   ISO CERTIFICATIONS SECTION
======================== */
.iso-cert-area {
    padding: 80px 0 60px;
    background: #f8f9fa;
    overflow: hidden;
}
 
.iso-cert-area .section-title {
    margin-bottom: 40px;
}
 
.iso-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}
 
.iso-carousel-wrapper::before,
.iso-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
 
.iso-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}
 
.iso-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}
 
.iso-carousel-track {
    display: flex;
    gap: 24px;
    animation: isoScroll 30s linear infinite;
    width: max-content;
    padding: 10px 0 20px;
}
 
.iso-carousel-track:hover {
    animation-play-state: paused;
}
 
@keyframes isoScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
 
.iso-cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 28px 20px 22px;
    width: 190px;
    flex-shrink: 0;
    gap: 10px;
    text-align: center;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    cursor: default;
}
 
.iso-cert-card:hover {
    box-shadow: 0 8px 30px rgba(56, 88, 140, 0.15);
    border-color: var(--primary);
    transform: translateY(-4px);
}
 
.iso-cert-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38588C, #5050A2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    flex-direction: column;
}
 
.iso-cert-badge span.badge-iso {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    line-height: 1;
    letter-spacing: 1px;
}
 
.iso-cert-badge span.badge-num {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
 
.iso-cert-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}
 
.iso-cert-desc {
    font-size: 12px;
    color: #777;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}
 
.iso-cert-year {
    font-size: 11px;
    color: #ffffff;
    background: var(--secondary);
    padding: 3px 10px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
 
.iso-verified-strip {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #666;
    font-family: 'Poppins', sans-serif;
}
 
.iso-verified-strip i {
    color: var(--primary);
    margin-right: 6px;
}
