/* ==========================================================================
   Blessy Safety Nets - Main Stylesheet
   Theme: Safety Blue (#0B3C5D) & Premium Orange (#D9531E)
   Design: Glassmorphism, Slick Micro-animations, Clean Grid-based layouts
   ========================================================================== */

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

:root {
    /* Color Palette */
    --primary-color: #0B3C5D;
    /* Deep Safety Blue */
    --primary-hover: #072a43;
    --primary-light: rgba(11, 60, 93, 0.1);

    --secondary-color: #D9531E;
    /* Premium Accent Orange */
    --secondary-hover: #b83d10;
    --secondary-light: rgba(217, 83, 30, 0.1);

    --accent-yellow: #F4D03F;
    /* Attention Yellow */
    --text-dark: #1E272C;
    /* Off-black Slate */
    --text-muted: #5F6C72;
    /* Slate Gray */
    --bg-light: #F8FAFC;
    /* Clean light grey */
    --bg-white: #FFFFFF;

    /* Box Shadows & Glassmorphism */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(11, 60, 93, 0.08);
    --shadow-lg: 0 15px 35px rgba(11, 60, 93, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(11, 60, 93, 0.08);

    /* Fonts & Radii */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Contact Icons */
    --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.15 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    --icon-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.39-1.47-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.61-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.22 3.08c.15.2 2.1 3.21 5.08 4.5.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.42.25-.7.25-1.3.17-1.42-.07-.13-.27-.2-.57-.35zM12.05 2C6.53 2 2.05 6.48 2.05 12c0 1.76.46 3.48 1.34 5L2 22l5.12-1.34A9.92 9.92 0 0 0 12.05 22c5.52 0 10-4.48 10-10s-4.48-10-10-10zm0 18.28c-1.57 0-3.1-.42-4.44-1.21l-.32-.19-3.04.8.81-2.96-.21-.34A8.24 8.24 0 0 1 3.77 12c0-4.57 3.71-8.28 8.28-8.28s8.28 3.71 8.28 8.28-3.71 8.28-8.28 8.28z'/%3E%3C/svg%3E");
}

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

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

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

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

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

a[href^="tel:"].btn > svg,
a[href*="wa.me"].btn > svg,
.top-bar a[href^="tel:"] > svg,
.top-bar a[href*="wa.me"] > svg,
.footer-social-btn[href^="tel:"] > svg,
.footer-social-btn[href*="wa.me"] > svg,
.floating-btn[href^="tel:"] > svg,
.floating-btn[href*="wa.me"] > svg {
    display: none !important;
}

a[href^="tel:"].btn::before,
a[href*="wa.me"].btn::before,
.top-bar a[href^="tel:"]::before,
.top-bar a[href*="wa.me"]::before,
.footer-social-btn[href^="tel:"]::before,
.footer-social-btn[href*="wa.me"]::before,
.floating-btn[href^="tel:"]::before,
.floating-btn[href*="wa.me"]::before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask: var(--icon-phone) center / contain no-repeat;
    mask: var(--icon-phone) center / contain no-repeat;
}

a[href*="wa.me"].btn::before,
.top-bar a[href*="wa.me"]::before,
.footer-social-btn[href*="wa.me"]::before,
.floating-btn[href*="wa.me"]::before {
    -webkit-mask-image: var(--icon-whatsapp);
    mask-image: var(--icon-whatsapp);
}

.footer-social-btn[href^="tel:"]::before,
.footer-social-btn[href*="wa.me"]::before {
    width: 18px;
    height: 18px;
}

.floating-btn[href^="tel:"]::before,
.floating-btn[href*="wa.me"]::before {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

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

ul {
    list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ==========================================================================
   Header Elements (Topbar, Marquee, Navbar)
   ========================================================================== */

/* Top Info Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 8px 5%;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .info-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--bg-white);
    min-height: 28px;
    white-space: nowrap;
}

.top-bar a svg,
.btn svg,
.footer-social-btn svg,
.floating-btn svg {
    display: block;
    flex-shrink: 0;
}

.top-bar a:hover {
    color: var(--accent-yellow);
}

.top-bar .social-links {
    display: flex;
    gap: 15px;
}

/* Top Marquee */
.marquee-container {
    background-color: #082d47;
    color: var(--accent-yellow);
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 0;
    font-size: 0.82rem;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
}

.marquee-content {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-content span {
    display: inline-block;
    padding: 0 30px;
}

.marquee-content span::before {
    content: "⚡";
    margin-right: 10px;
    color: var(--bg-white);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    max-width: 1440px;
    margin: 0 auto;
}

.navbar .logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.navbar .logo img:hover {
    transform: scale(1.03);
}

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

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

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

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

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

/* Dropdown styling */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 12px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-fast);
    z-index: 100;
    border: 1px solid rgba(11, 60, 93, 0.05);
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-menu::-webkit-scrollbar {
    width: 5px;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-light);
    color: var(--secondary-color);
    padding-left: 28px;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hamburger mobile button */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
}

.hamburger .bar {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all var(--transition-smooth);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    /* Aspect ratio dynamic rule based on viewport */
    aspect-ratio: 16/9;
    min-height: 480px;
    padding: 0;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 800px;
    padding: 0 5%;
    margin-left: 5%;
    transform: translateY(40px);
    transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-tagline {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(217, 83, 30, 0.3);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
}

.slide-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 650px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.slide-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.section-highlights-banner {
    padding: 60px 5%;
}

/* Slider controls */
.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 5%;
    z-index: 5;
    display: flex;
    gap: 12px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.08);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Slider Indicators */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 5%;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.dot {
    width: 25px;
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    width: 50px;
    background: var(--secondary-color);
}

/* ==========================================================================
   Buttons and Common Components
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    box-shadow: 0 6px 20px rgba(217, 83, 30, 0.25);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 8px 25px rgba(217, 83, 30, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 6px 20px rgba(11, 60, 93, 0.25);
}

.btn-secondary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 25px rgba(11, 60, 93, 0.35);
    transform: translateY(-2px);
}

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

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

/* Grid & Section Spacing */
section {
    padding: 90px 5%;
}

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

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

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

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

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

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

/* ==========================================================================
   Quick Contact Form (Directly below Hero)
   ========================================================================== */
.quick-contact-section {
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.quick-contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 30px;
    align-items: center;
}

.quick-contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

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

.quick-contact-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-input-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.quick-input-group input {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    border: 1px solid rgba(11, 60, 93, 0.1);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
}

.quick-input-group input:focus {
    border-color: var(--secondary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(217, 83, 30, 0.1);
}

.form-honeypot {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    pointer-events: none !important;
}

.quick-contact-form button {
    padding: 16px 30px;
    white-space: nowrap;
}

/* ==========================================================================
   About Section & Success Story
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    overflow: visible;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--secondary-color);
}

.about-experience-badge span {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-yellow);
}

.about-experience-badge p {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.about-content .about-title {
    font-size: 2.4rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.about-feature-item svg {
    color: var(--secondary-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Success Story Section */
.success-story-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    text-align: center;
}

.success-card {
    background: var(--bg-white);
    padding: 35px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    border-bottom: 4px solid transparent;
}

.success-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.success-card .count {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.success-card .label {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.success-card .desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Specialisation and Why Us Sections
   ========================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-left h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.why-us-left p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.why-us-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-point-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    transition: var(--transition-fast);
}

.why-point-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

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

.why-icon svg {
    width: 26px;
    height: 26px;
}

.why-info h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.why-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Specialisation Section */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.spec-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(11, 60, 93, 0.05);
}

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

.spec-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.spec-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.spec-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.spec-card-content {
    padding: 30px;
}

.spec-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

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

.spec-link {
    font-weight: 700;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spec-link:hover {
    color: var(--secondary-hover);
}

.spec-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

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

/* ==========================================================================
   Services Grid & Cards
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    transition: all var(--transition-smooth);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card--image {
    padding: 0;
    overflow: hidden;
    border-left: none;
    border: 1px solid rgba(11, 60, 93, 0.06);
}

.service-card--image:hover {
    border-left: none;
    border-color: rgba(217, 83, 30, 0.25);
}

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.service-card-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 3px solid var(--primary-color);
    transition: border-color var(--transition-fast);
}

.service-card--image:hover .service-card-body {
    border-top-color: var(--secondary-color);
}

.service-card--image h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card--image p {
    font-size: 0.92rem;
    line-height: 1.65;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color);
}

.service-card--image:hover {
    border-left-color: transparent;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.service-card:hover .service-card-icon {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

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

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

.service-card-link {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-card:hover .service-card-link {
    color: var(--secondary-color);
}

/* Highlights Grid */
.highlights-container {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    box-shadow: var(--shadow-lg);
}

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

.highlight-icon {
    color: var(--accent-yellow);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.highlight-icon svg {
    width: 40px;
    height: 40px;
}

.highlight-item h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* ==========================================================================
   Reviews Page & Grid (At least 15 Reviews)
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    position: relative;
    border: 1px solid rgba(11, 60, 93, 0.03);
    transition: var(--transition-fast);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.review-stars {
    display: flex;
    gap: 3px;
    color: #F4D03F;
    margin-bottom: 15px;
}

.review-stars svg {
    width: 18px;
    height: 18px;
}

.review-content {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.review-quote-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    color: rgba(11, 60, 93, 0.05);
}

.review-quote-icon svg {
    width: 45px;
    height: 45px;
}

/* ==========================================================================
   FAQs Page & Accordion
   ========================================================================== */
.faqs-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(11, 60, 93, 0.05);
    transition: var(--transition-fast);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth) ease;
    background-color: var(--bg-white);
    color: var(--text-muted);
    border-top: 0 solid rgba(0, 0, 0, 0.05);
}

.faq-answer-inner {
    padding: 24px 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    border-top: 1px solid rgba(11, 60, 93, 0.05);
}

/* ==========================================================================
   Gallery Page Showcase
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.filter-btn {
    padding: 10px 22px;
    background-color: var(--bg-white);
    border: 1px solid rgba(11, 60, 93, 0.1);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-container {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-img-container img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 60, 93, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

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

.gallery-overlay-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--secondary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.gallery-overlay-btn:hover {
    transform: scale(1.1);
    background-color: var(--secondary-hover);
}

.gallery-info {
    padding: 20px;
}

.gallery-info h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-info span {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 60, 93, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-height: 75vh;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--bg-white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    color: var(--bg-white);
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================================================
   Review Submission & Contact Page Forms
   ========================================================================== */
.form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 50px;
    border: 1px solid rgba(11, 60, 93, 0.05);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

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

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

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

.form-group label {
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(11, 60, 93, 0.12);
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(217, 83, 30, 0.1);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-panel {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
}

.contact-info-panel h3 {
    color: var(--bg-white);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-info h4 {
    color: var(--bg-white);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-detail-info p,
.contact-detail-info a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.branches-box {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.branches-box h4 {
    color: var(--accent-yellow);
    margin-bottom: 12px;
}

.branches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.branch-tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   Call To Action (CTA) Section
   ========================================================================== */
.cta-section {
    padding: 70px 5%;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #062438 100%);
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(217, 83, 30, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-wrapper p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #0c151c;
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 5% 30px 5%;
    border-top: 4px solid var(--secondary-color);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-col-about img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-col-about p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

.footer-social-btn svg {
    width: 18px;
    height: 18px;
}

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

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: var(--radius-full);
}

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

.footer-links a {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

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

.footer-contact-item a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
}

/* Theme bold styling for credits */
.theme-credit-link {
    font-weight: bold;
    color: var(--secondary-color) !important;
    transition: var(--transition-fast);
}

.theme-credit-link:hover {
    color: var(--secondary-hover) !important;
    text-decoration: underline;
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-left: 5px solid var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: auto;
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 380px;
}

.toast.active {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left-color: #2ECC71;
}

.toast-error {
    border-left-color: #E74C3C;
}

.toast-info {
    border-left-color: var(--primary-color);
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-body {
    flex-grow: 1;
}

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

.toast-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toast-close {
    cursor: pointer;
    color: #BDC3C7;
    transition: var(--transition-fast);
}

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

/* Real-time Order Toast specific */
.order-toast .toast-icon {
    color: var(--secondary-color);
    background-color: var(--secondary-light);
    border-radius: var(--radius-full);
    padding: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Floating Action Widget (Sticky Contact Panel)
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: calc(30px + env(safe-area-inset-bottom));
    right: calc(30px + env(safe-area-inset-right));
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition-bounce);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.floating-btn svg {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
}

.floating-phone {
    background-color: var(--primary-color);
}

.floating-whatsapp {
    background-color: #25D366;
}

/* Ring pulse animation on primary actions */
.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    box-shadow: 0 0 0 0 rgba(11, 60, 93, 0.4);
    animation: pulse 2s infinite;
}

.floating-whatsapp::before {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 60, 93, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(11, 60, 93, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(11, 60, 93, 0);
    }
}

.floating-whatsapp::before {
    animation-name: pulse-wa;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Tooltip overlay on floats */
.floating-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.floating-whatsapp::after {
    background-color: #128C7E;
}

.floating-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Mobile view modifications */
@media (max-width: 768px) {

    /* Top Bar Mobile Optimization */
    .top-bar a[href^="mailto:"],
    .top-bar .top-bar-email-link {
        display: none !important;
    }

    .top-bar .social-links>span {
        display: none !important;
    }

    .top-bar {
        padding: 6px 4%;
        gap: 10px;
    }

    /* Show only phone numbers and WhatsApp on mobile top bar */
    .top-bar .info-links {
        flex: 1;
        gap: 10px;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .top-bar .info-links::-webkit-scrollbar {
        display: none;
    }

    .top-bar .social-links {
        display: none;
    }

    .top-bar a {
        min-height: 32px;
    }

    .top-bar .info-links a span {
        font-size: 0.8rem;
    }

    /* Hero section on mobile — avoid 100svh (ignores top bar/header above hero) */
    .hero-section {
        aspect-ratio: unset;
        min-height: clamp(420px, 62vh, 560px);
        height: clamp(420px, 62vh, 560px);
        max-height: none;
        padding: 0;
    }

    .slide {
        justify-content: center;
    }

    .slide-title {
        font-size: 2.2rem;
        word-wrap: break-word;
    }

    .slide-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        max-width: 100%;
    }

    .slide-content {
        margin-left: 0;
        text-align: center;
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .slide-actions {
        justify-content: center;
    }

    .slide-actions .btn {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
    }

    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
    }

    .slider-nav {
        display: none;
        /* Hide arrow buttons in mobile, use swipe/dots */
    }

    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Quick contact layout change */
    .quick-contact-section {
        margin-top: 0;
        padding: 40px 20px;
    }

    .quick-contact-wrapper {
        padding: 24px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .quick-contact-form {
        flex-direction: column;
    }

    .quick-contact-form button {
        width: 100%;
    }

    /* About, why us, contact pages layout change */
    .about-grid,
    .why-us-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    .about-experience-badge {
        right: 12px;
        bottom: 12px;
        padding: 16px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .section-highlights-banner {
        padding: 60px 20px;
    }

    .highlights-container {
        padding: 24px 16px;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Service card listing grid layout change */
    .services-grid,
    .spec-grid,
    .reviews-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .success-story-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 420px;
    }

    .success-card {
        padding: 26px 18px;
    }

    .success-card .count {
        font-size: 2.15rem;
        line-height: 1.05;
    }

    .success-card .label {
        font-size: 1rem;
    }

    .highlights-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Navigation Mobile System (Modern Slide-Over Panel) */
    .hamburger {
        display: block;
        z-index: 1001;
        transition: transform var(--transition-fast);
    }

    .hamburger.active {
        transform: rotate(90deg);
    }

    .hamburger .bar {
        background-color: var(--primary-color);
        transition: all var(--transition-smooth);
    }

    .hamburger.active .bar {
        background-color: var(--bg-white) !important;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        right: 0;
        left: auto;
        top: 0;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(11, 60, 93, 0.98) 0%, rgba(7, 42, 67, 0.99) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        max-width: 400px; /* slides in as a premium drawer on tablet, full on mobile */
        height: 100vh;
        z-index: 999;
        text-align: center;
        clip-path: inset(0 0 0 100%);
        visibility: hidden;
        pointer-events: none;
        transition: clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
        box-shadow: -10px 0 40px rgba(7, 42, 67, 0.3);
        padding: 110px 24px 40px 24px;
        overflow-y: auto;
        gap: 15px;
        display: flex;
    }

    /* Note: small phone override is in the 480px block below */

    .nav-menu.active {
        left: auto;
        clip-path: inset(0 0 0 0);
        visibility: visible;
        pointer-events: auto;
        transition: clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.15rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        display: block;
        padding: 12px 0;
        color: var(--bg-white) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: color var(--transition-fast);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-yellow) !important;
    }

    /* Submenu grid accordion styling on mobile (Stops endless scroll) */
    .nav-item.dropdown .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        background-color: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 15px;
        border-radius: var(--radius-md);
        padding: 12px 8px;
        max-height: none;
        overflow-y: visible;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: grid;
    }

    .dropdown-menu li a {
        padding: 10px 6px;
        font-size: 0.75rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.85) !important;
        background: rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.04);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.25;
        transition: all var(--transition-fast);
    }

    .dropdown-menu li a:hover {
        background-color: var(--secondary-color);
        color: var(--bg-white) !important;
        border-color: var(--secondary-color);
    }

    /* Style last item (Contact) as a premium CTA button */
    .nav-menu li:last-child {
        margin-top: 15px;
    }

    .nav-menu li:last-child .nav-link {
        background-color: var(--secondary-color) !important;
        color: var(--bg-white) !important;
        border-bottom: none;
        border-radius: var(--radius-full);
        padding: 10px 30px;
        display: inline-block;
        font-size: 0.95rem;
        font-weight: 800;
        box-shadow: 0 4px 15px rgba(217, 83, 30, 0.3);
    }

    .nav-menu li:last-child .nav-link:hover {
        background-color: var(--secondary-hover) !important;
        box-shadow: 0 6px 20px rgba(217, 83, 30, 0.5);
    }

    .form-card {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

    .floating-contact {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .toast-container {
        left: 20px;
        bottom: 20px;
        right: 85px; /* Leaves 85px of space on the right for floating widgets */
        max-width: none;
    }

    .toast {
        max-width: 100%;
        padding: 12px 15px; /* compact padding for narrow mobile viewports */
        gap: 10px;
    }
}

/* Tablet viewport modifications */
@media (min-width: 769px) and (max-width: 1024px) {

    .services-grid,
    .spec-grid,
    .reviews-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

/* ==========================================================================
   Page Specific Details (SEO & Readability elements)
   ========================================================================== */
.service-details-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .service-details-layout {
        grid-template-columns: 2fr 1fr;
        gap: 50px;
    }
}

.service-main-content h2 {
    font-size: 2rem;
    margin: 30px 0 15px 0;
}

.service-main-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.service-main-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
    list-style-type: disc;
}

.service-main-content ul li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.features-table th,
.features-table td {
    padding: 14px 20px;
    text-align: left;
}

.features-table th {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
}

.features-table tr:nth-child(even) {
    background-color: rgba(11, 60, 93, 0.03);
}

.features-table td {
    border-bottom: 1px solid rgba(11, 60, 93, 0.05);
    color: var(--text-muted);
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 60, 93, 0.05);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
}

.widget-services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-services-list a {
    display: block;
    padding: 12px 18px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.widget-services-list a:hover,
.widget-services-list a.active {
    background-color: var(--primary-light);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 22px;
}

/* ==========================================================================
   Small Phone Viewport (max-width: 480px) - Top-level breakpoint
   ========================================================================== */
@media (max-width: 480px) {
    .nav-menu {
        max-width: 100%; /* fills entire screen on small phones */
    }

    .slide-title {
        font-size: 1.65rem;
    }

    .slide-description {
        font-size: 0.88rem;
    }

    .hero-section {
        min-height: 400px;
        height: clamp(400px, 58vh, 500px);
    }

    .slide-tagline {
        font-size: 0.75rem;
        letter-spacing: 1px;
        padding: 5px 12px;
    }

    .about-grid {
        gap: 40px;
    }

    .about-experience-badge {
        right: 10px;
        bottom: 10px;
        padding: 14px;
    }

    .about-experience-badge span {
        font-size: 1.8rem;
    }

    .highlights-container {
        grid-template-columns: 1fr;
        padding: 20px 14px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-wrapper h2 {
        font-size: 1.8rem;
    }

    .floating-contact {
        right: calc(14px + env(safe-area-inset-right));
        bottom: calc(14px + env(safe-area-inset-bottom));
        gap: 10px;
    }

    .floating-btn {
        width: 46px;
        height: 46px;
    }

    .floating-btn[href^="tel:"]::before,
    .floating-btn[href*="wa.me"]::before {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================================
   Footer Branches Box on Dark Background
   ========================================================================== */
footer .branches-box {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

footer .branches-box h4 {
    color: var(--accent-yellow);
    margin-bottom: 12px;
    font-size: 1rem;
}

footer .branch-tag {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
