/* 
   ==========================================================================
   COHESION WORKS LLC - PREMIUM TELECOM DESIGN SYSTEM (VANILLA CSS)
   ==========================================================================
*/

/* --- CSS CUSTOM VARIABLES --- */
:root {
    /* Color Palette (Harmonious Modern HSL Tech Theme) */
    --primary-hsl: 228, 48%, 15%;      /* Dark Slate Blue */
    --primary: hsl(var(--primary-hsl));
    --primary-light: hsl(228, 40%, 25%);
    --primary-dark: hsl(228, 55%, 8%);
    
    --accent-hsl: 184, 88%, 45%;       /* Electric Teal / Cyan */
    --accent: hsl(var(--accent-hsl));
    --accent-light: hsl(184, 95%, 60%);
    --accent-dark: hsl(184, 90%, 32%);

    --secondary-hsl: 245, 75%, 65%;    /* High-tech Indigo */
    --secondary: hsl(var(--secondary-hsl));
    
    --bg-light: hsl(220, 20%, 97%);
    --bg-dark: hsl(228, 45%, 5%);
    --bg-card: hsl(0, 0%, 100%);
    --bg-card-dark: hsl(228, 30%, 10%);
    
    --text-main: hsl(228, 25%, 20%);
    --text-muted: hsl(228, 15%, 50%);
    --text-white: hsl(0, 0%, 100%);
    --text-light-gray: hsl(220, 15%, 90%);
    
    --border-light: hsl(220, 15%, 88%);
    --border-glow: rgba(0, 242, 254, 0.15);

    /* Fonts & Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout Constants */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.3);
}

/* --- BASE STYLING & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

/* --- REUSABLE UTILITIES & BUTTONS --- */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.accent-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    opacity: 0;
}

.btn-primary:hover::after {
    left: 125%;
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

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

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

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--primary) 100%);
    color: var(--text-white);
    border: none;
    font-size: 1.05rem;
    padding: 15px 30px;
    border-radius: var(--border-radius-sm);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Scroll Animations CSS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- MAIN STICKY NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1020;
    transition: var(--transition-fast);
}

/* Scrolling header state */
.main-header.scrolled {
    height: 70px;
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header.scrolled h1,
.main-header.scrolled .logo-text,
.main-header.scrolled .nav-link {
    color: var(--text-white);
}

.main-header.scrolled .nav-link:hover,
.main-header.scrolled .nav-link.active {
    color: var(--accent);
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Design Area */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
}

/* Nav links */
.navigation-pane {
    display: block;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transition: var(--transition-fast);
}

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

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

.mobile-nav-toggle {
    display: none;
}

/* --- HERO SLIDER --- */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 680px;
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow: hidden;
    padding-top: var(--header-height);
}

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

/* Slide Base */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity var(--transition-slow);
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Full-screen Background Slider Styles */
.slide-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1);
}

.hero-slide.active .slide-bg-image {
    animation: kenburns 12s ease-out forwards;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.72) 40%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 2;
}

.slide-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
}

.slide-content {
    max-width: 680px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: transform var(--transition-smooth) 0.3s, opacity var(--transition-smooth) 0.3s;
}

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

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.slide-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.slide-subtitle {
    font-size: 1.15rem;
    color: var(--text-light-gray);
    margin-bottom: 36px;
    line-height: 1.6;
}

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

.slide-actions .btn-secondary {
    color: var(--text-white);
    border-color: var(--text-white);
}

.slide-actions .btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-dark);
}

/* Controls */
.slider-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
}

.prev-btn { left: 32px; }
.next-btn { right: 32px; }

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 32px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator.active {
    background-color: var(--accent);
    width: 48px;
    box-shadow: var(--shadow-glow);
}

/* --- PARTNER BANNER --- */
.partners-section {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 36px 0;
}

.partners-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}

.partner-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.partner-name i {
    font-size: 1.3rem;
}

.partner-name .rc-icon { color: #f26f21; }
.partner-name .vonage-icon { color: #ff5000; }
.partner-name .pdc-icon { color: #0077c5; }

.partner-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* --- PRODUCTS & SERVICES --- */
.products-services-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

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

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition-fast);
}

.service-icon-box i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card:hover .service-icon-box {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
}

.service-card:hover .service-icon-box i {
    -webkit-text-fill-color: var(--text-white);
}

.service-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--accent-dark);
    font-size: 0.9rem;
}

/* --- ABOUT US / ME --- */
.about-us-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.about-us-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('../public/images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.035; /* Subtle premium watermark effect */
    z-index: -1;
    pointer-events: none;
}

.about-us-section .section-title {
    color: var(--text-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    align-items: center;
}

.about-text {
    font-size: 1rem;
    color: var(--text-light-gray);
    margin-bottom: 20px;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--accent);
}

.badge-item i {
    font-size: 1rem;
}

/* Metrics and visual */
.about-metrics {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

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

.metric-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 28px;
    text-align: center;
    transition: var(--transition-fast);
}

.metric-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light-gray);
}

.metrics-decor-box {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-md);
    padding: 32px;
    overflow: hidden;
}

.glow-sphere {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--accent);
    filter: blur(60px);
    opacity: 0.35;
}

.decor-heading {
    color: var(--text-white);
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.decor-subtext {
    font-size: 0.88rem;
    color: var(--text-light-gray);
    line-height: 1.5;
}

/* --- BLOG SECTION --- */
.blog-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('../public/images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.035; /* Subtle premium watermark effect */
    z-index: -1;
    pointer-events: none;
}

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

.blog-section .section-description {
    color: var(--text-light-gray);
}

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

.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

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

.blog-image-box {
    position: relative;
    height: 200px;
    width: 100%;
}

.blog-date {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: var(--text-white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.blog-img-placeholder span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    z-index: 2;
}

.blog-icon-bg {
    font-size: 6rem;
    position: absolute;
    bottom: -20px;
    right: -10px;
    opacity: 0.08;
    transform: rotate(-15deg);
    transition: transform var(--transition-smooth);
}

.blog-card:hover .blog-icon-bg {
    transform: scale(1.15) rotate(-5deg);
}

/* Blog gradient variations */
.dark-blue-bg { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.dark-cyan-bg { background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%); }
.dark-indigo-bg { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }

.blog-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--accent-dark);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-readmore {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-card:hover .blog-readmore {
    color: var(--accent-dark);
}

.blog-card:hover .blog-readmore i {
    transform: translateX(6px);
}

.blog-readmore i {
    transition: var(--transition-fast);
}

.blog-seo-body {
    display: none !important;
}

/* --- CONTACT US SECTION & FORM --- */
.contact-us-section {
    padding: 100px 0;
    background-color: var(--bg-card);
    position: relative;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: start;
}

.contact-intro {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.method-card:hover .method-icon-box {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--text-white);
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.method-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.method-link a:hover {
    color: var(--accent-dark);
}

/* Mini map simulation */
.map-container {
    height: 250px; /* Slightly taller for a more readable and immersive local map view */
    width: 100%;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(40%) contrast(1.05); /* Clean corporate tech styling */
    transition: filter var(--transition-smooth);
}

.map-container:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1); /* Restores full color vibrancy on hover */
}

/* Form Styling */
.form-wrapper {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 44px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.form-heading {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.form-subtext {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.required-star {
    color: #ef4444;
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.input-with-icon input,
.input-with-icon select,
.textarea-box textarea {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 14px 16px 14px 44px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.textarea-box textarea {
    padding: 14px 16px;
    resize: none;
}

/* Focus configurations */
.input-with-icon input:focus,
.input-with-icon select:focus,
.textarea-box textarea:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
    background-color: var(--bg-card);
}

.input-with-icon input:focus + i {
    color: var(--accent-dark);
}

/* Custom Dropdown select */
.select-box::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    pointer-events: none;
}

.select-box select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

/* Validation errors */
.validation-message {
    display: block;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 550;
    min-height: 16px;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Submitting status states */
.status-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    transition: opacity var(--transition-fast);
}

.status-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.status-content {
    text-align: center;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.4s ease forwards;
}

.status-content.hidden {
    display: none;
}

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

.status-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-state .status-icon { color: #10b981; }
.error-state .status-icon { color: #ef4444; }

.status-content h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.status-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-status-reset {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Spinner loader */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--accent-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

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

/* --- FOOTER SECTION --- */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-upper {
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

.brand-col .logo-text {
    color: var(--text-white);
}

.brand-pitch {
    font-size: 0.85rem;
    color: var(--text-light-gray);
    margin: 20px 0 24px 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-title {
    color: var(--text-white);
    font-size: 1.05rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

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

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

.footer-links-list a {
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list a i {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

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

.footer-links-list a:hover i {
    transform: translateX(4px);
}

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

.footer-contact-list li {
    font-size: 0.88rem;
    display: flex;
    align-items: start;
    gap: 14px;
}

.footer-contact-list li i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 3px;
}

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

.footer-lower {
    background-color: var(--primary-dark);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-lower-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright-text {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

.footer-legal .divider {
    color: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation Backdrop Overlay */
.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Small desktop / Large tablet */
@media (max-width: 1024px) {
    .slide-title { font-size: 2.75rem; }
    .services-grid { gap: 24px; }
    .about-grid { gap: 40px; }
    .contact-layout { gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* Tablet / Mobile viewport */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    /* Mobile Hamburger Menu */
    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1010;
    }

    .hamburger-bar {
        width: 100%;
        height: 3px;
        background-color: var(--primary);
        border-radius: 4px;
        transition: var(--transition-fast);
    }

    .main-header.scrolled .hamburger-bar {
        background-color: var(--text-white);
    }

    /* Active state mobile menu */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar {
        background-color: var(--accent) !important;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .navigation-pane {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 1005;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        padding: 100px 40px 40px 40px;
        transform: translateX(100%);
        transition: transform var(--transition-smooth);
    }

    .navigation-pane.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .navigation-pane .nav-link {
        color: var(--text-white);
        font-size: 1.15rem;
        padding: 10px 0;
        display: block;
        width: 100%;
    }

    .navigation-pane .nav-link:hover,
    .navigation-pane .nav-link.active {
        color: var(--accent);
    }

    .header-cta {
        display: none; /* Hide top CTA on mobile */
    }

    /* Hero section adjustments */
    .slide-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .slide-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        text-align: center;
    }

    .slide-badge {
        margin-bottom: 16px;
    }

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

    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }

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

    .slide-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .slider-btn {
        display: none;
    }

    /* Partners Banner */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Sections */
    .products-services-section,
    .about-us-section,
    .blog-section,
    .contact-us-section {
        padding: 70px 0;
    }

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

    .three-column-grid,
    .services-grid,
    .about-grid,
    .blog-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-container {
        height: 220px;
    }

    .form-wrapper {
        padding: 30px;
    }

    .footer-lower-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    .logo-img {
        height: 34px;
        width: 34px;
    }
    .slide-title { font-size: 1.85rem; }
    .slide-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .slide-actions .btn {
        width: 100%;
    }
    .service-card {
        padding: 24px;
    }
    .form-row-two {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 
   ==========================================================================
   INTERACTIVE BLOG DETAILS MODAL STYLES
   ==========================================================================
*/
.blog-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 1;
    transition: opacity var(--transition-smooth);
}

.blog-modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.blog-modal-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 242, 254, 0.12);
    transform: scale(1);
    transition: transform var(--transition-smooth);
    animation: modalReveal 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.blog-modal-overlay.hidden .blog-modal-container {
    transform: scale(0.95);
}

@keyframes modalReveal {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.blog-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    z-index: 10;
}

.blog-modal-close:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.blog-modal-body {
    padding: 56px;
    color: var(--text-main);
}

/* Detailed blog article styles inside modal */
.modal-article-header {
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
}

.modal-article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-article-meta .divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.modal-article-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
}

.modal-article-content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-main);
    font-family: var(--font-body);
}

.modal-article-content p {
    margin-bottom: 24px;
}

.modal-article-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 36px 0 16px 0;
}

.modal-article-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style: disc;
}

.modal-article-content li {
    margin-bottom: 12px;
}

.modal-article-content blockquote {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-style: italic;
    color: var(--primary-light);
}

/* Custom Scrollbar for Blog Modal */
.blog-modal-container::-webkit-scrollbar {
    width: 8px;
}
.blog-modal-container::-webkit-scrollbar-track {
    background: var(--bg-light);
}
.blog-modal-container::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
.blog-modal-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Responsive modal padding */
@media (max-width: 1024px) {
    .blog-modal-body {
        padding: 44px 24px 24px 24px;
    }
    .modal-article-title {
        font-size: 1.75rem;
    }
    .blog-modal-close {
        top: 16px;
        right: 16px;
    }
}

/* 
   ==========================================================================
   SUBPAGE HERO BANNERS
   ==========================================================================
*/
.subpage-hero {
    position: relative;
    padding: 140px 0 80px 0; /* padding accounts for sticky header */
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background-image: url('../public/images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.035; /* Premium tech branding watermark */
    pointer-events: none;
}

.subpage-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.subpage-hero .section-subtitle {
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.subpage-hero .section-title {
    color: var(--text-white);
    font-size: 2.85rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.subpage-hero .section-description {
    font-size: 1.1rem;
    color: var(--text-light-gray);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .subpage-hero {
        padding: 110px 0 60px 0;
    }
    .subpage-hero .section-title {
        font-size: 2.15rem;
    }
    .subpage-hero .section-description {
        font-size: 0.95rem;
    }
}
