/* ==========================================================================
   Shopzen Lanka (Pvt) Ltd - MEP Project Management & Consultancy Website
   Main Stylesheet
   ========================================================================== */

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

/* --- Root Variables & Theme Tokens --- */
:root {
    /* Color Palette */
    --color-black: #000000;
    --color-navy: #14213D;
    --color-navy-dark: #0a1120;
    --color-gold: #FCA311;
    --color-gold-hover: #e5920b;
    --color-gold-light: rgba(252, 163, 17, 0.1);
    --color-gray-light: #E5E5E5;
    --color-gray-dark: #2A3B5C;
    --color-white: #FFFFFF;
    
    /* Semantic Colors */
    --bg-primary: var(--color-navy-dark);
    --bg-secondary: var(--color-navy);
    --bg-light: #f8fafc;
    --text-light: var(--color-white);
    --text-dark: #1e293b;
    --text-muted: #94a3b8;
    --text-muted-dark: #64748b;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Glassmorphism Details */
    --glass-bg: rgba(20, 33, 61, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --glass-blur: 12px;
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

section {
    position: relative;
    padding: 100px 0;
}

/* --- Typography Utilities --- */
.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }

/* --- Layout Components --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.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); }

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(252, 163, 17, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy-dark);
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* --- Navigation Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background-color: rgba(10, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(10, 17, 32, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--color-gold);
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-gold);
}

.logo-img {
    height: 65px; /* Increased from 55px */
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-normal);
}

/* Logo styles */
.header .logo,
.footer .logo {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
}

.header.scrolled .logo-img {
    height: 55px; /* Increased from 45px */
}

@media (max-width: 992px) {
    .logo-img {
        height: 55px; /* Increased from 45px */
    }
}

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

/* CTA button on header */
.header .btn-primary {
    /* Uses default gold button styles */
}
.header .btn-primary:hover {
    /* Uses default hover styles */
}


.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-white);
    opacity: 0.85;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: #FCA311;
}

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

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

/* Hide mobile-specific drawer elements on desktop */
.nav-link-title {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: inherit;
}

.nav-link-sub,
.nav-menu-footer {
    display: none;
}

.hamburger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10, 17, 32, 0.06);
    border: 1px solid rgba(10, 17, 32, 0.12);
    position: relative;
    cursor: pointer;
    z-index: 1010;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    outline: none;
}

.hamburger:hover {
    border-color: var(--color-gold);
    background: rgba(252, 163, 17, 0.08);
    box-shadow: 0 0 15px rgba(252, 163, 17, 0.2);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 2px;
    margin: 0;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    background: radial-gradient(circle at 80% 20%, rgba(20, 33, 61, 0.4) 0%, rgba(10, 17, 32, 1) 100%), 
                url('../images/mep_hero_bg.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 17, 32, 0.2) 0%, rgba(10, 17, 32, 0.95) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero-tagline {
    font-family: 'Inter', sans-serif;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tagline::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}

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

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: 'Inter', sans-serif;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 15px auto 0 auto;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
}

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px var(--glass-shadow);
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(252, 163, 17, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(252, 163, 17, 0.1);
}

/* --- About Section (Split Layout) --- */
.about-grid {
    align-items: center;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.about-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.vision-mission-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vm-card {
    display: flex;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 24px;
    transition: var(--transition-normal);
}

.vm-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(252, 163, 17, 0.2);
}

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

.vm-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-gold);
}

.vm-text h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--color-gold);
}

.vm-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.about-image-wrapper img {
    transition: transform 0.6s ease;
}

.about-visual:hover .about-image-wrapper img {
    transform: scale(1.05);
}

.stats-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--color-gold);
    color: var(--color-navy);
    padding: 20px 30px;
    border-radius: 6px;
    box-shadow: 0 15px 30px rgba(252, 163, 17, 0.25);
    z-index: 2;
}

.stats-number {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1;
}

.stats-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Services Page & Section --- */
.services-grid {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-box {
    width: 100%;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.service-card:hover .service-image-box img {
    transform: scale(1.06);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background-color: var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-gold);
}

.service-card:hover .service-icon-box {
    background-color: var(--color-gold);
}

.service-card:hover .service-icon {
    fill: var(--color-navy);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* --- Why Choose Us Section --- */
.why-us-grid {
    align-items: center;
}

.why-us-list {
    display: grid;
    gap: 20px;
}

.why-us-item {
    display: flex;
    gap: 16px;
}

.why-us-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-check svg {
    width: 14px;
    height: 14px;
    fill: var(--color-gold);
}

.why-us-item h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.why-us-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Industries Section --- */
.industries-grid {
    grid-template-columns: repeat(3, 1fr);
}

.industry-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 17, 32, 0.95) 0%, rgba(20, 33, 61, 0.4) 60%, rgba(10, 17, 32, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
    transition: var(--transition-normal);
}

.industry-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background-color: var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-normal);
}

.industry-icon {
    width: 22px;
    height: 22px;
    fill: var(--color-gold);
}

.industry-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0;
    transform: translateY(0);
    transition: var(--transition-normal);
}

.industry-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(10, 17, 32, 0.98) 0%, rgba(20, 33, 61, 0.75) 100%);
}

.industry-card:hover .industry-icon-box {
    transform: translateY(0);
    opacity: 1;
}

.industry-card:hover h3 {
    transform: translateY(0);
    color: var(--color-gold);
    margin-bottom: 8px;
}

.industry-card:hover p {
    opacity: 1;
    height: auto;
    margin-top: 4px;
}

/* --- Our Process Section (Horizontal Timeline) --- */
.process-timeline {
    position: relative;
    padding: 40px 0;
}

.process-line {
    position: absolute;
    top: 60px;
    left: 8.33%;
    right: 8.33%;
    height: 3px;
    background-color: rgba(255,255,255,0.08);
    z-index: 1;
}

.process-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-gold);
    transition: width 1s ease;
}

.process-grid {
    grid-template-columns: repeat(6, 1fr);
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-navy-dark);
    border: 3px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.process-step:hover .process-node {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 15px rgba(252, 163, 17, 0.3);
}

.process-node.completed {
    border-color: var(--color-gold);
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.process-step h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0 10px;
}

/* --- Contact Page & Section --- */
.contact-grid {
    grid-template-columns: repeat(12, 1fr);
}

.contact-info {
    grid-column: span 5;
}

.contact-card {
    height: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background-color: var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon {
    width: 22px;
    height: 22px;
    fill: var(--color-gold);
}

.contact-detail-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-detail-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    grid-column: span 7;
}

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

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

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

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--color-white);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(252, 163, 17, 0.1);
}

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

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23FCA311' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
    padding-right: 45px;
    cursor: pointer;
}

select.form-control option {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    padding: 10px;
}

.form-feedback {
    display: none;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.page-hero {
    height: 350px;
    background: linear-gradient(105deg, rgba(10, 17, 32, 0.85) 0%, rgba(10, 17, 32, 0.45) 50%, rgba(10, 17, 32, 0.05) 80%, rgba(10, 17, 32, 0) 100%), 
                url('../images/mep_hero_bg.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.page-hero.about-hero {
    background-image: linear-gradient(105deg, rgba(10, 17, 32, 0.85) 0%, rgba(10, 17, 32, 0.45) 50%, rgba(10, 17, 32, 0.05) 80%, rgba(10, 17, 32, 0) 100%), 
                      url('../images/about_hero_bg.png');
}

.page-hero.services-hero {
    background-image: linear-gradient(105deg, rgba(10, 17, 32, 0.85) 0%, rgba(10, 17, 32, 0.45) 50%, rgba(10, 17, 32, 0.05) 80%, rgba(10, 17, 32, 0) 100%), 
                      url('../images/services_hero_bg.png');
}

.page-hero.projects-hero {
    background-image: linear-gradient(105deg, rgba(10, 17, 32, 0.85) 0%, rgba(10, 17, 32, 0.45) 50%, rgba(10, 17, 32, 0.05) 80%, rgba(10, 17, 32, 0) 100%), 
                      url('../images/projects_hero_bg.png');
}

.page-hero.contact-hero {
    background-image: linear-gradient(105deg, rgba(10, 17, 32, 0.85) 0%, rgba(10, 17, 32, 0.45) 50%, rgba(10, 17, 32, 0.05) 80%, rgba(10, 17, 32, 0) 100%), 
                      url('../images/contact_hero_bg.png');
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-navy-dark) 0%, rgba(10, 17, 32, 0) 100%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.breadcrumbs span.current {
    color: var(--color-gold);
}

/* --- Projects Page --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--text-muted);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

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

.project-card {
    overflow: hidden;
    padding: 0;
}

.project-img-box {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-box img {
    transform: scale(1.06);
}

.project-info {
    padding: 24px;
}

.project-tag {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-navy);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px 0;
}

.footer-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

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

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transition: var(--transition-fast);
    color: var(--color-gold);
}

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

.footer-links a:hover::before {
    opacity: 1;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
}

.social-icon:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

.social-icon:hover svg {
    fill: var(--color-navy);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Responsive Adaptations (Media Queries) --- */

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .header, .header.scrolled {
        height: 70px;
        background-color: rgba(10, 17, 32, 0.96);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }

    section {
        padding: 80px 0;
    }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 30px auto 0 auto;
    }
    
    .stats-badge {
        left: 0;
        bottom: -15px;
    }
    
    .process-timeline {
        padding: 20px 0;
    }
    
    .process-line {
        display: none;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .process-step {
        text-align: left;
        display: flex;
        gap: 20px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.04);
        padding: 20px;
        border-radius: 6px;
    }
    
    .process-node {
        margin: 0;
        flex-shrink: 0;
    }
    
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-info, .contact-form-wrapper {
        grid-column: span 12;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1010;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 420px;
        height: 100vh;
        background: rgba(10, 17, 32, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.6);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 110px 40px 60px 40px;
        gap: 0;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu .nav-link {
        font-family: 'Inter', sans-serif;
        color: var(--color-white);
        opacity: 0;
        transform: translateX(30px);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, padding 0.3s ease;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        text-align: left;
        position: relative;
    }

    .nav-link-title {
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: -0.01em;
        transition: color 0.3s ease;
    }

    .nav-link-sub {
        display: block;
        font-family: 'Roboto', sans-serif;
        font-size: 0.78rem;
        font-weight: 400;
        color: var(--text-muted);
        text-transform: none;
        letter-spacing: normal;
        transition: color 0.3s ease;
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu.open .nav-link {
        opacity: 0.85;
        transform: translateX(0);
    }
    
    .nav-menu.open .nav-link:hover,
    .nav-menu.open .nav-link.active {
        opacity: 1;
        padding-left: 8px;
    }

    .nav-menu.open .nav-link:hover .nav-link-title,
    .nav-menu.open .nav-link.active .nav-link-title {
        color: var(--color-gold);
    }

    .nav-menu.open .nav-link:hover .nav-link-sub,
    .nav-menu.open .nav-link.active .nav-link-sub {
        color: rgba(255, 255, 255, 0.7);
    }

    /* Staggered delay for each menu item */
    .nav-menu.open .nav-link:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.open .nav-link:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.open .nav-link:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.open .nav-link:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.open .nav-link:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.open .nav-link:nth-child(6) { transition-delay: 0.3s; }

    /* CTA button inside menu */
    .nav-menu .btn-primary {
        margin-top: 24px;
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 12px 24px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-menu.open .btn-primary {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.35s;
    }

    /* Drawer Contact Info Footer */
    .nav-menu-footer {
        margin-top: auto;
        padding-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        opacity: 0;
        transform: translateY(20px);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
        transition-delay: 0.4s;
    }

    .nav-menu.open .nav-menu-footer {
        opacity: 1;
        transform: translateY(0);
    }

    .menu-divider {
        height: 1px;
        background-color: rgba(255, 255, 255, 0.08);
        margin-bottom: 4px;
        width: 100%;
    }

    .menu-contact-detail {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .detail-label {
        font-family: 'Inter', sans-serif;
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-muted);
        font-weight: 600;
    }

    .detail-value {
        font-family: 'Roboto', sans-serif;
        font-size: 0.88rem;
        color: var(--color-white);
        font-weight: 400;
        transition: color 0.3s ease;
    }

    .detail-value:hover {
        color: var(--color-gold);
    }

    .menu-socials {
        display: flex;
        gap: 10px;
        margin-top: 4px;
    }

    .menu-social-icon {
        width: 32px;
        height: 32px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .menu-social-icon:hover {
        background: var(--color-gold);
        border-color: var(--color-gold);
    }
    
    .menu-social-icon:hover svg {
        fill: var(--color-navy) !important;
    }
    
    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .stats-badge {
        position: static;
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HERO SLIDER — Modern Professional Multi-Slide Carousel
   ========================================================================== */

/* --- Slider Container --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: var(--color-navy-dark);
}

/* --- Slides Track --- */
.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- Individual Slide --- */
.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.1s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: opacity;
}

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

/* Apply bg image from data attribute via JS */

/* --- Slide Overlay --- */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* Light neutral overlay for text readability, removing the heavy blue block */
    z-index: 1;
}

/* Bottom fade to next section */
.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--color-navy-dark) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* --- Slide Content Wrapper --- */
.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

/* --- Slide Inner (text block) --- */
.slide-inner {
    max-width: 720px;
}

/* --- Eyebrow Label --- */
.slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-gold);
    margin-bottom: 22px;
    
    /* Animate in from left */
    opacity: 0;
    transform: translateX(-25px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.slide.active .slide-eyebrow {
    opacity: 1;
    transform: translateX(0);
}

.eyebrow-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-gold);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* --- Slide Title --- */
.slide-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-white);
    margin-bottom: 22px;
    
    /* Animate in from bottom */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

/* Gold italic accent word */
.slide-em {
    font-style: italic;
    color: var(--color-gold);
    position: relative;
}

/* --- Slide Description --- */
.slide-desc {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 36px;
    
    /* Animate in */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.slide.active .slide-desc {
    opacity: 1;
    transform: translateY(0);
}

/* --- Slide Actions --- */
.slide-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.9s, transform 0.8s ease 0.9s;
}

.slide.active .slide-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Ghost button variant (for slider) */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    background-color: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: var(--transition-normal);
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* --- Stats Badges (Slide 1 only) --- */
.slide-badges {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 16px 28px;
    width: fit-content;
    
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease 1.1s, transform 0.8s ease 1.1s;
}

.slide.active .slide-badges {
    opacity: 1;
    transform: translateY(0);
}

.slide-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.badge-num {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--color-gold);
    line-height: 1;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.slide-badge-sep {
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- Navigation Arrows --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.slider-arrow svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.slider-arrow:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
    box-shadow: 0 8px 25px rgba(252, 163, 17, 0.35);
}

.slider-arrow:hover svg {
    fill: var(--color-navy);
}

.slider-prev {
    left: 30px;
}

.slider-prev:hover svg {
    transform: translateX(-2px);
}

.slider-next {
    right: 30px;
}

.slider-next:hover svg {
    transform: translateX(2px);
}

/* --- Dots Indicator --- */
.slider-dots {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    padding: 0;
    flex-shrink: 0;
}

.slider-dot.active {
    background-color: var(--color-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(252, 163, 17, 0.5);
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
}

/* --- Progress Bar --- */
.slider-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 20;
}

.slider-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--color-gold), #ffcf52);
    transition: width 0.1s linear;
}

/* --- Slide Counter --- */
.slider-counter {
    position: absolute;
    bottom: 55px;
    left: 50px;
    z-index: 20;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: 'Inter', sans-serif;
}

.counter-current {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
}

.counter-sep {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
}

.counter-total {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* --- Slider Responsive --- */
@media (max-width: 992px) {
    .slider-prev { left: 16px; }
    .slider-next { right: 16px; }
    .slider-dots { bottom: 70px; right: 20px; }
    .slider-counter { left: 20px; bottom: 70px; }
    
    .slide-badges {
        padding: 12px 16px;
        gap: 0;
    }
    
    .slide-badge { padding: 0 14px; }
    .badge-num { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    .hero-slider { min-height: 100svh; }
    
    .slide-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
    .slide-desc { font-size: 1rem; }
    
    .slider-arrow {
        width: 42px;
        height: 42px;
    }
    .slider-arrow svg { width: 18px; height: 18px; }
    
    .slide-actions { gap: 12px; }
    .btn-ghost { padding: 12px 20px; font-size: 0.9rem; }
    
    .slide-badges {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }
    .slide-badge-sep { display: none; }
    .slide-badge { padding: 0 10px; }
    
    .slider-dots {
        flex-direction: row;
        bottom: 55px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .slider-counter { display: none; }
}

@media (max-width: 480px) {
    .slide-content { 
        align-items: flex-start; /* Changed from flex-end to prevent overlapping the header */
        padding-top: calc(var(--header-height) + 30px); /* Add safe space below header */
        padding-bottom: 80px; /* Reduced from 120px to give more room */
    }
    .slide-inner { padding-bottom: 10px; }
}

/* ==========================================
   WhatsApp Floating Chat Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Pulsing outer ring */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.5;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: rotate(10deg);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(10, 17, 32, 0.95);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(10, 17, 32, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

@keyframes rotate-gear {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* --- Contact Page Phone Styles --- */
.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 4px 0;
    transition: all 0.3s ease;
    font-weight: 500;
    flex-wrap: nowrap;
}

.phone-link span:last-child {
    white-space: nowrap; /* Prevent phone number from wrapping */
}

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

.phone-type-icon {
    width: 18px;
    height: 18px;
    fill: var(--primary);
}

.phone-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-width: 65px;
}

