/* ==========================================================================
   Manarat Al Shams Building Material Trading LLC - Design System & Styling
   ========================================================================== */

/* CSS Reset & Variables */
:root {
    /* Color Palette */
    --primary: #0B1F3B;          /* Deep Blue */
    --secondary: #2F3A45;        /* Steel Gray */
    --accent: #F28C28;           /* Construction Orange */
    --accent-hover: #E07B18;
    --accent-light: #FFF5EC;     /* Light Cream Orange */
    --bg-light: #F5F7FA;         /* Light Gray Background */
    --white: #FFFFFF;
    --text-dark: #111827;        /* Dark Navy Text */
    --text-muted: #4B5563;      /* Muted Gray Text */
    --success: #10B981;          /* Green for Toast success */
    --whatsapp-color: #25D366;
    --whatsapp-hover: #20BA5A;

    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-title: 'Montserrat', sans-serif;

    /* Spacing & Sizes */
    --header-height: 88px;
    --header-height-scrolled: 72px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Elevation Shadows */
    --shadow-sm: 0 2px 4px rgba(11, 31, 59, 0.04);
    --shadow-md: 0 4px 12px rgba(11, 31, 59, 0.08);
    --shadow-lg: 0 12px 24px -4px rgba(11, 31, 59, 0.12);
    --shadow-xl: 0 20px 40px -8px rgba(11, 31, 59, 0.16);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Base Layout
   ========================================================================== */

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

p {
    color: var(--text-muted);
}

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

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

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

/* Grid Utilities */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

/* Responsive Grid adjustment */
@media (max-width: 992px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .grid-3, .grid-4, .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-full {
    display: flex;
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 140, 40, 0.35);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

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

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

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

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

.btn-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(11, 31, 59, 0.05);
}

/* Header scrolled state */
.main-header.scrolled {
    height: var(--header-height-scrolled);
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.desktop-nav {
    display: flex;
    align-items: center;
}

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

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggle Icon */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 105;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

/* Responsive navigation breakpoint */
@media (max-width: 992px) {
    .desktop-nav, .nav-quote-btn {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
}

/* Menu Toggle Open Animations */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Styles */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 99;
    padding: 100px 32px 32px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    padding: 8px 0;
}

.mobile-nav-link:hover {
    color: var(--accent);
    padding-left: 8px;
}

.mobile-quote-btn {
    margin-top: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 31, 59, 0.95) 30%, rgba(11, 31, 59, 0.8) 70%, rgba(11, 31, 59, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(242, 140, 40, 0.15);
    border: 1px solid rgba(242, 140, 40, 0.3);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.highlight-text {
    color: var(--accent);
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
}

/* Hero Stats cards styling */
.hero-stats {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(242, 140, 40, 0.4);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Scroll indicator arrow */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--accent);
}

/* Keyframes animations */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   About Section & General Layout Sections
   ========================================================================== */

section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.section-desc strong {
    color: var(--primary);
}

/* About features list */
.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feat-item {
    display: flex;
    gap: 16px;
}

.feat-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.feat-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.feat-desc {
    font-size: 0.9rem;
}

/* Image stack overlay effect */
.image-stack {
    position: relative;
    padding-bottom: 40px;
    height: 450px;
    width: 100%;
}

.image-stack-item {
    position: absolute;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stack-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-img {
    top: 0;
    left: 0;
    width: 80%;
    height: 380px;
    z-index: 2;
    border: 6px solid var(--white);
}

.sub-img {
    bottom: 0;
    right: 0;
    width: 55%;
    height: 240px;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    left: 50%;
    bottom: 40px;
    z-index: 3;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
    border-left: 4px solid var(--accent);
}

.exp-num {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .about-visual {
        margin-top: 60px;
    }
}

@media (max-width: 600px) {
    .image-stack {
        height: 380px;
    }
    .main-img {
        width: 100%;
        height: 320px;
    }
    .sub-img {
        display: none;
    }
}

/* ==========================================================================
   Products Section
   ========================================================================== */

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

.section-subtitle-text {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-muted);
}

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

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(11, 31, 59, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 31, 59, 0.15);
}

.card-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

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

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.card-body h4 {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Bullet list on the featured scaffolding system card */
.product-bullets {
    list-style: none;
    margin-bottom: 20px;
}

.product-bullets li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}

.product-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}

.card-body .btn {
    margin-top: auto;
}

/* Featured scaffolding systems card highlighting */
.product-card.featured-card {
    grid-column: span 2;
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    box-shadow: var(--shadow-md);
}

.product-card.featured-card .product-badge {
    background-color: var(--accent);
}

.product-card.featured-card .card-image-wrapper {
    height: 240px;
}

@media (max-width: 992px) {
    .product-card.featured-card {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .product-card.featured-card {
        grid-column: span 1;
    }
    .product-card.featured-card .card-image-wrapper {
        height: 180px;
    }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-grid {
    margin-top: 20px;
}

.why-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(11, 31, 59, 0.04);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(242, 140, 40, 0.2);
}

.why-icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon-box {
    background-color: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}

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

.why-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Projects / Industries Served Section
   ========================================================================== */

.industries-section {
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.industries-section .section-subtitle-text {
    color: rgba(255, 255, 255, 0.7);
}

.industry-grid {
    margin-top: 20px;
}

.industry-card {
    position: relative;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: default;
}

.ind-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ind-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 31, 59, 0.3) 0%, rgba(11, 31, 59, 0.9) 80%);
    z-index: 1;
    transition: var(--transition-smooth);
}

.ind-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    z-index: 2;
    transform: translateY(60px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ind-num {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    display: block;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.industry-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Hover effects */
.industry-card:hover .ind-bg {
    transform: scale(1.1);
}

.industry-card:hover .ind-overlay {
    background: linear-gradient(to bottom, rgba(11, 31, 59, 0.5) 0%, rgba(11, 31, 59, 0.95) 75%);
}

.industry-card:hover .ind-content {
    transform: translateY(0);
}

.industry-card:hover .ind-num {
    opacity: 1;
}

.industry-card:hover p {
    opacity: 1;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

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

.contact-layout {
    margin-top: 20px;
    align-items: stretch;
}

/* Lead Form styling */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-desc {
    font-size: 0.95rem;
    margin-bottom: 32px;
}

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

.lead-form label {
    display: block;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lead-form label .required {
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    border: 1px solid rgba(11, 31, 59, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    outline: none;
}

.form-control::placeholder {
    color: #9CA3AF;
}

.form-control:focus {
    background-color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.12);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232F3A45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
    padding-right: 48px;
}

textarea.form-control {
    resize: vertical;
}

/* Contact Info & Map styling */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.info-cards-container {
    gap: 20px;
}

.info-card {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-card.full-width {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .info-card.full-width {
        grid-column: span 1;
    }
}

.info-icon {
    color: var(--accent);
    margin-bottom: 4px;
}

.info-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card p {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--text-dark);
}

.contact-link:hover {
    color: var(--accent);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(11, 31, 59, 0.08);
    flex-grow: 1;
    min-height: 280px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
}

@media (max-width: 992px) {
    .contact-form-wrapper {
        padding: 32px;
    }
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */

.footer {
    background-color: var(--primary);
    color: var(--white);
    padding-top: 80px;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.brand-col {
    grid-column: span 1.25;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

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

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

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

.footer-contacts li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacts li svg {
    color: var(--accent);
    flex-shrink: 0;
}

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

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

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-legal-links a:hover {
    color: var(--white);
}

.separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .footer-bottom-flex {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   Interactive Widgets & Toast Notifications
   ========================================================================== */

/* Floating WhatsApp Widget */
.whatsapp-floating {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--primary);
}

.whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Success Toast popup */
.toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--white);
    border-left: 5px solid var(--success);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 20px 24px;
    z-index: 1000;
    max-width: 400px;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toast-icon-wrapper {
    width: 36px;
    height: 36px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-content h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.85rem;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: auto;
    align-self: flex-start;
}

.toast-close:hover {
    color: var(--primary);
}

/* ==========================================================================
   Scroll-driven Fade-in Animations
   ========================================================================== */

.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-anim.left {
    transform: translateX(-30px);
}

.scroll-anim.right {
    transform: translateX(30px);
}

.scroll-anim.active {
    opacity: 1;
    transform: translate(0) !important;
}

/* Delays for children stagger animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
