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

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-orange: #F2562B;
    --color-orange-glow: rgba(242, 86, 43, 0.4);
    --color-orange-light: rgba(242, 86, 43, 0.1);
    --color-black: #171717;
    --color-black-pure: #0B0B0B;
    --color-white: #F4F4F4;
    --color-white-pure: #FFFFFF;
    --color-gray-light: #DEDEDE;
    --color-gray-dark: #242424;
    --color-gray-medium: #A0A0A0;

    /* Typography */
    --font-arabic: 'Cairo', sans-serif;
    --font-english: 'Outfit', sans-serif;

    /* Shadows & Glows */
    --glow-orange: 0 0 15px var(--color-orange-glow), 0 0 30px rgba(242, 86, 43, 0.2);
    --glow-orange-intense: 0 0 25px rgba(242, 86, 43, 0.8), 0 0 50px rgba(242, 86, 43, 0.4);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.5);

    /* Transitions & Borders */
    --transition-fast: 0.25s ease;
    --transition-medium: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
}

/* ==========================================================================
   RESET & BASE STYLES (LIGHT MODE)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-arabic);
    background-color: var(--color-white-pure);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-white-pure);
}
::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--color-white-pure);
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6e45;
    box-shadow: var(--glow-orange);
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6e45;
    box-shadow: var(--glow-orange);
}

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

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

/* Inline SVG Icon Helper */
.icon-svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    transition: transform var(--transition-fast);
}

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

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ==========================================================================
   GLOWING HEADER & NAVIGATION
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    padding: 20px 0;
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(242, 86, 43, 0.2);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 0 15px rgba(242, 86, 43, 0.05);
    color: var(--color-black);
}

header.scrolled .nav-item a {
    color: var(--color-black);
    text-shadow: none;
}

header.scrolled .menu-toggle span {
    background-color: var(--color-black);
}

header.scrolled .logo-img {
    filter: drop-shadow(0 0 8px rgba(242, 86, 43, 0.2));
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition-medium);
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--color-orange);
    text-shadow: var(--glow-orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-item a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-fast);
}

/* Ensure header text is always readable on light background */
header .nav-item a {
    color: var(--color-black);
    text-shadow: none;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    box-shadow: var(--glow-orange);
    transition: var(--transition-fast);
}

.nav-item a:hover, .nav-item a.active {
    color: var(--color-orange) !important;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--color-orange), #ff6a3c);
    color: var(--color-white-pure) !important;
    padding: 7px 20px !important; /* Slimmer padding */
    font-size: 0.92rem !important; /* Slightly smaller font size */
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--glow-orange);
    transition: var(--transition-medium) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-cta::after {
    display: none !important; /* Disable underline line for the CTA button */
}

.nav-cta:hover, .nav-cta:active, .nav-cta:focus, .nav-item a.nav-cta:hover, .nav-item a.nav-cta.active, .nav-item a.nav-cta:active {
    transform: translateY(-2px);
    box-shadow: var(--glow-orange-intense);
    background: linear-gradient(135deg, #ff6a3c, var(--color-orange));
    color: var(--color-white-pure) !important; /* Keep white text color */
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-black);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-medium);
}

/* ==========================================================================
   DYNAMIC HERO SLIDER WITH KEN BURNS & OVERLAYS (LIGHT THEMING)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 520px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--color-white-pure);
}

/* Background Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Ken Burns (Zoom) Effect */
.slide.active .slide-bg {
    animation: kenburns 6s ease-out forwards;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

/* Horizontal panning animation for Slide 2 (Bathroom vanity) */
@keyframes pan-horizontal {
    0% { transform: scale(1.1) translateX(0); }
    50% { transform: scale(1.1) translateX(-25px); }
    100% { transform: scale(1.1) translateX(0); }
}

#slide-2.active .slide-bg {
    animation: pan-horizontal 12s ease-in-out infinite;
}

/* Frosted Light Overlay & Color Vignette (Lighter on the Left for RTL text readability) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: linear-gradient(to left, rgba(255, 244, 235, 0.95) 0%, rgba(255, 232, 218, 0.82) 50%, rgba(255, 220, 200, 0.45) 100%);
    backdrop-filter: blur(1px);
    transition: background 0.8s ease; /* Smooth transition when overlay changes */
}

/* Lighter overlay for Slide 2 (Bathroom) */
.slide-2-active .hero-overlay {
    background: linear-gradient(to left, rgba(255, 244, 235, 0.88) 0%, rgba(255, 232, 218, 0.70) 50%, rgba(255, 220, 200, 0.30) 100%);
}

/* Even lighter overlay for Slide 3 (Electrical) to show the image details very clearly */
.slide-3-active .hero-overlay {
    background: linear-gradient(to left, rgba(255, 244, 235, 0.82) 0%, rgba(255, 232, 218, 0.60) 50%, rgba(255, 220, 200, 0.20) 100%);
}

/* Hero Content Area */
.hero-content-wrapper {
    position: relative;
    z-index: 4;
    width: 100%;
}

.hero-container {
    display: flex;
    justify-content: flex-start; /* Aligns content to the right in RTL layout */
    width: 100%;
}

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

.hero-text-block {
    max-width: 650px;
    padding: 0;             /* Removed padding to remove box layout */
    background: none;        /* Removed background card overlay */
    border: none;            /* Removed borders around text */
    backdrop-filter: none;   /* Removed backdrop-blur */
    box-shadow: none;        /* Removed box shadow */
    animation: reveal-up 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards, float-slow 6s ease-in-out infinite 1.2s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242, 86, 43, 0.08);
    border: 1px solid rgba(242, 86, 43, 0.25);
    color: var(--color-orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 0 10px rgba(242, 86, 43, 0.05);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-orange);
    border-radius: 50%;
    box-shadow: var(--glow-orange-intense);
    animation: pulse-glow 1.5s infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 20px;
    color: var(--color-black);
    text-shadow: none;
}

.hero-title span {
    color: var(--color-orange);
    background: linear-gradient(120deg, var(--color-orange) 0%, #ff8c6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(242, 86, 43, 0.25)); /* Soft warm glow */
}

.hero-description {
    font-size: 1.15rem;
    color: #333333;
    margin-bottom: 36px;
    font-weight: 400;
    text-shadow: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-primary {
    background: var(--color-orange);
    color: var(--color-white-pure);
    box-shadow: var(--glow-orange);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: #ff6e45;
    box-shadow: var(--glow-orange-intense);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--color-white-pure);
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
    box-shadow: none;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
    background: var(--color-orange);
    color: var(--color-white-pure);
    border-color: var(--color-orange);
    box-shadow: var(--glow-orange);
    transform: translateY(-3px);
}

/* ==========================================================================
   MISSION, VISION & ABOUT US SECTION (LIGHT THEMING)
   ========================================================================== */
.about-section {
    background: var(--color-white-pure);
    color: var(--color-black);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle {
    color: var(--color-orange);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.section-title {
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.45;
    color: var(--color-black);
}

.section-title span {
    color: var(--color-orange);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 60%;
    height: 4px;
    background-color: var(--color-orange);
    border-radius: var(--border-radius-sm);
}

/* Mission & Vision Grid Layout */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.mv-card {
    background: var(--color-white-pure);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-orange);
    transition: var(--transition-medium);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 20px rgba(242, 86, 43, 0.1);
}

.mv-card:hover::before {
    height: 100%;
}

.mv-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.mv-icon-wrapper {
    width: 54px;
    height: 54px;
    background: rgba(242, 86, 43, 0.08);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    font-size: 1.6rem;
    margin-bottom: 0; /* Reset margin since it is inside flex header */
    transition: var(--transition-medium);
    flex-shrink: 0;
}

.mv-card:hover .mv-icon-wrapper {
    background: var(--color-orange);
    color: var(--color-white-pure);
    box-shadow: var(--glow-orange);
}

.mv-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0; /* Reset margin since it is inside flex header */
    color: var(--color-black);
}

.mv-card-text {
    font-size: 1.05rem;
    color: #555555;
    font-weight: 400;
}

/* ==========================================================================
   BUSINESS DOMAINS GRID (6 FIELDS OF WORK)
   ========================================================================== */
.domains-section {
    background: var(--color-white); /* Light gray #F4F4F4 */
    color: var(--color-black);
    position: relative;
}

.domains-section .section-title {
    color: var(--color-black);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.domain-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

/* Semi-transparent dark overlay for background card */
.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.35) 0%, rgba(17, 17, 17, 0.65) 100%);
    transition: var(--transition-medium);
    z-index: -1;
}

.domain-card:hover::before {
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.20) 0%, rgba(17, 17, 17, 0.50) 100%);
}

.domain-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 15px 40px rgba(242, 86, 43, 0.15), 0 0 25px var(--color-orange-glow);
    transform: translateY(-8px);
}

/* Specific background images */
#domain-plumbing-tools {
    background-image: url('assets/slide_plumbing.webp');
}
#domain-sanitary-ware {
    background-image: url('assets/slide_bathroom.webp');
}
#domain-electricity {
    background-image: url('assets/slide_electrical.webp');
}
#domain-insulation {
    background-image: url('assets/slide_insulation.webp');
}
#domain-tools {
    background-image: url('assets/slide_tools.webp');
}
#domain-construction-materials {
    background-image: url('assets/slide_warehouse.webp');
}

.domain-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--color-orange);
    margin-bottom: 20px;
    transition: var(--transition-medium);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.domain-card:hover .domain-icon {
    border-color: var(--color-orange);
    background: var(--color-orange);
    color: var(--color-white-pure);
    box-shadow: var(--glow-orange);
}

.domain-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-white-pure) !important;
}

.domain-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 24px;
    flex-grow: 1;
    font-weight: 400;
}

.domain-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.domain-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.domain-link i, .domain-link svg {
    transition: transform var(--transition-fast);
}

.domain-card:hover .domain-link i, .domain-card:hover .domain-link svg {
    transform: translateX(-4px); /* Move left because of Arabic RTL */
}

/* ==========================================================================
   PRODUCT POSTER GALLERY SECTION (WITH FILTER - LIGHT THEMING)
   ========================================================================== */
.gallery-section {
    background: var(--color-white-pure);
    color: var(--color-black);
}

.gallery-section .section-title {
    color: var(--color-black);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-black);
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--color-orange);
    color: var(--color-white-pure);
    border-color: var(--color-orange);
    box-shadow: var(--glow-orange);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transition: var(--transition-medium);
}

.gallery-card {
    background: var(--color-white-pure);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1.5px solid rgba(242, 86, 43, 0.15); /* Light orange border by default */
    transition: var(--transition-medium);
    position: relative;
    cursor: pointer;
}

.gallery-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 15px 35px rgba(242, 86, 43, 0.25), 0 0 15px rgba(242, 86, 43, 0.15);
    transform: translateY(-5px);
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1; /* Keep square */
    background: var(--color-white-pure);
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform var(--transition-slow);
}

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

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.9) 0%, rgba(11, 11, 11, 0.4) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition-medium);
    z-index: 2;
}

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

.gallery-card-title {
    color: var(--color-white-pure);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.gallery-card-tag {
    color: var(--color-orange);
    font-size: 0.85rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform var(--transition-medium) 0.05s;
}

.gallery-card:hover .gallery-card-title,
.gallery-card:hover .gallery-card-tag {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.lightbox-img {
    max-height: 80vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.85), 0 0 40px rgba(242, 86, 43, 0.55); /* Strong orange glow */
    border: 2.5px solid var(--color-orange); /* Vibrant orange border */
}

.lightbox-close {
    position: fixed;
    top: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    color: var(--color-white-pure);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--glow-orange);
    transition: var(--transition-medium);
    border: 2px solid rgba(255, 255, 255, 0.25);
    z-index: 2100;
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: #ff6e45;
    box-shadow: var(--glow-orange-intense);
}

.lightbox-caption {
    color: var(--color-white-pure);
    margin-top: 16px;
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-wa-btn {
    margin-top: 12px;
    background: #25d366; /* WhatsApp Green */
    color: #ffffff !important;
    padding: 7px 18px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
    transition: var(--transition-medium);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.lightbox-wa-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   GLASSMORPHIC CONTACT FORM & MAP (LIGHT THEMING)
   ========================================================================== */
.contact-section {
    background: var(--color-white); /* Light gray #F4F4F4 */
    color: var(--color-black);
    position: relative;
    overflow: hidden;
}

.contact-section .section-title {
    color: var(--color-black);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Info Panel */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-desc {
    color: #444444;
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item-link {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: var(--transition-fast);
}

.detail-item-link:hover .detail-icon {
    background: var(--color-orange);
    color: var(--color-white-pure);
    border-color: var(--color-orange);
    transform: scale(1.08);
}

.detail-item-link:hover .detail-text h4 {
    color: var(--color-orange);
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    width: 46px;
    height: 46px;
    background: rgba(242, 86, 43, 0.08);
    border: 1px solid rgba(242, 86, 43, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.detail-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-black);
}

.detail-text p {
    font-size: 0.95rem;
    color: #555555;
    font-weight: 300;
}

/* Clean White Form Card */
.contact-form-card {
    background: var(--color-white-pure);
    border: 1px solid rgba(242, 86, 43, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-black);
    position: relative;
    padding-bottom: 12px;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-orange);
    border-radius: var(--border-radius-sm);
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: #FAFAFA;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-black);
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    transition: var(--transition-medium);
}

.form-input:focus {
    border-color: var(--color-orange);
    background: var(--color-white-pure);
    box-shadow: 0 0 10px rgba(242, 86, 43, 0.15);
}

textarea.form-input {
    resize: none;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    background: var(--color-orange);
    color: var(--color-white-pure);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--glow-orange);
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-submit-btn:hover {
    background: #ff6e45;
    box-shadow: var(--glow-orange-intense);
    transform: translateY(-2px);
}

/* Success State Styles */
.form-success-message {
    text-align: center;
    padding: 20px 0;
    display: none;
    animation: zoomIn 0.5s ease forwards;
}

.success-icon {
    font-size: 3.5rem;
    color: #2ec4b6;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(46, 196, 182, 0.4));
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON & GLOW
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: auto;
    z-index: 999;
}

.whatsapp-btn {
    width: 48px;
    height: 48px;
    background-color: #25D366;
    color: var(--color-white-pure);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.2);
    transition: var(--transition-medium);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: #22c35e;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6), 0 0 25px rgba(37, 211, 102, 0.4);
}

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

/* ==========================================================================
   FOOTER SECTION (LIGHT THEMING)
   ========================================================================== */
footer {
    background: #EBEBEB;
    color: #444444;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 70px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo-img {
    height: 52px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
    color: #555555;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-orange);
    border: 1px solid var(--color-orange);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--color-white-pure);
    box-shadow: 0 4px 10px rgba(242, 86, 43, 0.15);
}

.social-link:hover {
    background: #ff6e45;
    color: var(--color-white-pure);
    border-color: #ff6e45;
    box-shadow: var(--glow-orange-intense);
    transform: translateY(-3px);
}

/* Clickable contact info links styling */
.detail-text a, .footer-contact-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.detail-text a:hover, .footer-contact-item a:hover {
    color: var(--color-orange);
}

.footer-title {
    color: var(--color-black);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-orange);
}

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

.footer-links a {
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-right: 6px; /* Shift text slightly on hover */
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact-item:hover {
    color: var(--color-orange) !important;
}

.footer-contact-item:hover svg {
    color: var(--color-orange);
    transform: scale(1.1);
}

.footer-contact-item i {
    color: var(--color-orange);
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-contact-item p {
    font-size: 0.9rem;
    font-weight: 300;
    color: #555555;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-bottom span {
    color: var(--color-orange);
}

/* ==========================================================================
   SCROLL REVEAL & GENERAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Left & Right Slide reveal animations for Vision & Mission cards, contact cards, etc. */
.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered transition delays for grid elements */
.domain-card:nth-child(1) { transition-delay: 0.05s; }
.domain-card:nth-child(2) { transition-delay: 0.1s; }
.domain-card:nth-child(3) { transition-delay: 0.15s; }
.domain-card:nth-child(4) { transition-delay: 0.2s; }
.domain-card:nth-child(5) { transition-delay: 0.25s; }
.domain-card:nth-child(6) { transition-delay: 0.3s; }

.gallery-card:nth-child(1) { transition-delay: 0.05s; }
.gallery-card:nth-child(2) { transition-delay: 0.1s; }
.gallery-card:nth-child(3) { transition-delay: 0.15s; }
.gallery-card:nth-child(4) { transition-delay: 0.2s; }
.gallery-card:nth-child(5) { transition-delay: 0.25s; }
.gallery-card:nth-child(6) { transition-delay: 0.3s; }
.gallery-card:nth-child(7) { transition-delay: 0.35s; }
.gallery-card:nth-child(8) { transition-delay: 0.4s; }
.gallery-card:nth-child(9) { transition-delay: 0.45s; }
.gallery-card:nth-child(10) { transition-delay: 0.5s; }
.gallery-card:nth-child(11) { transition-delay: 0.55s; }
.gallery-card:nth-child(12) { transition-delay: 0.6s; }

@keyframes reveal-up {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    /* Navigation */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white-pure);
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.15);
        border-right: 1px solid rgba(242, 86, 43, 0.2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-medium);
        z-index: 1005;
        padding: 40px;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-wrapper {
        flex-direction: row;
    }

    .nav-menu .nav-item a {
        color: var(--color-black) !important;
        text-shadow: none;
    }

    .nav-menu .nav-item a:hover {
        color: var(--color-orange) !important;
    }

    /* Hero Text Block */
    .hero-section {
        height: auto;
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .hero-container {
        justify-content: center;
    }
    .hero-text-block {
        text-align: center;
        padding: 0 10px;
        max-width: 95%;
    }
    .hero-badge {
        justify-content: center;
        font-size: 0.8rem !important;
        padding: 4px 12px !important;
        margin-bottom: 16px !important;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn {
        width: 100%;
        padding: 8px 18px !important;
        font-size: 0.9rem !important;
    }
    .hero-title {
        font-size: 1.8rem;
    }

    /* Grids */
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    /* Mobile overrides for Vision & Mission and Contact cards slide animation direction */
    .reveal-right, .reveal-left {
        transform: translateY(40px) !important;
    }
    .reveal-right.active, .reveal-left.active {
        transform: translateY(0) !important;
    }
    
    /* Lightbox modal close button position override to prevent overlapping on mobile */
    .lightbox-close {
        position: absolute !important;
        top: -65px !important;
        left: 10px !important;
        right: auto !important;
    }
}

@media (max-width: 480px) {
    .filter-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 8px !important;
    }
    .filter-btn {
        padding: 10px 4px !important;
        font-size: 0.82rem !important;
        text-align: center !important;
        width: 100% !important;
        white-space: nowrap !important;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .contact-form-card {
        padding: 24px 16px;
    }
}

