/* SIFANET SYSTEMS - Corporate Theme */
:root {
    --primary: #eb711d;
    --secondary: #023e58;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --text-dark: #212529;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar - White Background for Homepage */
.navbar {
    background: var(--white) !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar-brand .logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(235, 113, 29, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23eb711d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

.nav-link {
    color: var(--secondary) !important;
    font-weight: 600;
    margin: 0 6px;
    padding: 8px 0;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}

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

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

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    z-index: 9999;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-transition.fade-out {
    opacity: 0;
}

.page-transition::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(2, 62, 88, 0.85) 0%, rgba(235, 113, 29, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .tagline {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.slider-arrow:hover {
    background: var(--primary);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Legacy Hero for other pages */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #034a6b 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/bg fade node.jpg') center/cover;
    opacity: 0.1;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #d66318;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235, 113, 29, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Modern Service Cards */
.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(235, 113, 29, 0.25);
    border-color: var(--primary);
}

.service-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.service-card-content {
    padding: 25px;
    text-align: center;
}

.service-card h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Why Choose Us */
.feature-box {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.feature-box:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-box h4 {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(235, 113, 29, 0.15);
}

.contact-info {
    background: var(--secondary);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
}

.contact-info h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary);
    margin-right: 10px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 0 20px;
}

footer h5 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

/* Modern About & Services Page Styles */

/* 3D Animation for Headings */
.animate-3d {
    animation: float3d 3s ease-in-out infinite;
}

@keyframes float3d {
    0%, 100% { transform: translateY(0px) translateZ(0px); }
    50% { transform: translateY(-10px) translateZ(20px); }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    padding: 60px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(235, 113, 29, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), #d66318);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(235, 113, 29, 0.3);
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0.5rem 0;
}

.stat-card p {
    color: var(--dark-gray);
    margin: 0;
    font-weight: 500;
}

/* 3D Card Effects */
.card-3d {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.card-3d:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* Download Button Animation */
.btn-primary.btn-lg {
    position: relative;
    overflow: hidden;
}

.btn-primary.btn-lg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary.btn-lg:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary.btn-lg i {
    transition: transform 0.3s ease;
}

.btn-primary.btn-lg:hover i {
    transform: translateY(2px);
}

/* Hero Content Modern */
.hero-content-modern {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-content-modern h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-content-modern .lead {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 0.5rem;
}

.hero-subtext {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
}

/* Animated Background Pattern */
.hero-modern {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, var(--secondary) 0%, #034a6b 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(235, 113, 29, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(235, 113, 29, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(235, 113, 29, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.hero-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(235, 113, 29, 0.1) 50%, transparent 70%);
    animation: slide 8s linear infinite;
    will-change: transform;
}

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

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Split Layout for Who We Are */
.about-split {
    align-items: center;
}

.about-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.about-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    position: relative;
    padding-left: 2rem;
}

.about-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.highlight-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.badge-item {
    background: linear-gradient(135deg, var(--primary), #d66318);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(235, 113, 29, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(235, 113, 29, 0.4);
}

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

/* Mission & Vision Section */
.mission-vision-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #034a6b 100%);
    color: white;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), rgba(255,255,255,0.5));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.glass-card:hover::before {
    transform: scaleX(1);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.glass-card h3 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.glass-card i {
    color: var(--primary);
    font-size: 1.8rem;
}

.glass-card p {
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
}

/* Interactive Value Cards */
.value-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(235, 113, 29, 0.2);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card i {
    color: var(--primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.value-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.value-card h5 {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Timeline Component */
.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 30px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(235, 113, 29, 0.2);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline-content h5 {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content h5 i {
    font-size: 1.2rem;
}

/* Enhanced Services Layout */
.services-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #034a6b 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(235, 113, 29, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(235, 113, 29, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.service-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
}

.service-card-modern.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card-modern:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(235, 113, 29, 0.3);
}

.service-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light-gray);
}

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

.service-card-modern:hover .service-image-container img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(2, 62, 88, 0.95), rgba(235, 113, 29, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.service-card-modern:hover .service-overlay {
    opacity: 1;
}

.service-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.service-card-modern:hover .service-overlay-content {
    transform: translateY(0);
}

.service-overlay-content h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-overlay-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-card-body {
    padding: 2rem;
}

.service-card-body h3 {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card-body p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Empty State */
.service-card-modern.empty-state {
    opacity: 1;
    transform: none;
}

.service-card-modern.empty-state .service-card-body {
    padding: 4rem 2rem;
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #034a6b 100%);
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section .lead {
    color: rgba(255,255,255,0.95);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Animations — only activate when JS adds .js-scroll-ready to body */
body.js-scroll-ready .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

body.js-scroll-ready .fade-in-up.animate-in,
.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-brand .logo-img {
        height: 45px;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        margin: 8px 0;
        padding: 12px 15px;
        border-radius: 5px;
        transition: all 0.3s;
        display: block;
        font-size: 1rem;
    }
    
    .nav-link:hover {
        background: var(--light-gray);
    }
    
    .nav-link::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand .logo-img {
        height: 40px;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        margin: 8px 0;
        padding: 12px 15px;
        border-radius: 5px;
        transition: all 0.3s;
        display: block;
        font-size: 1rem;
    }
    
    .nav-link:hover {
        background: var(--light-gray);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .tagline {
        font-size: 1.1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card-image {
        height: 180px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .nav-link {
        margin: 5px 0;
    }
    
    /* Modern pages responsive */
    .hero-modern,
    .services-hero {
        min-height: 300px;
        padding: 60px 0;
    }
    
    .hero-content-modern h1 {
        font-size: 2rem;
    }
    
    .hero-content-modern .lead {
        font-size: 1.1rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .about-text {
        padding-left: 1rem;
    }
    
    .about-text::before {
        height: 40px;
    }
    
    .about-image-card {
        margin-bottom: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(0);
    }
    
    .highlight-badges {
        justify-content: flex-start;
    }
    
    .service-image-container {
        height: 200px;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin: 0 0 0.5rem 0 !important;
    }
}

/* ── TASK 1: Navbar Scrolled ── */
.navbar-scrolled {
    padding: 0.2rem 0 !important;
    box-shadow: 0 4px 24px rgba(2,62,88,0.18) !important;
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.navbar-scrolled .logo-img { height: 38px !important; }

/* ── TASK 2: Top Bar ── */
.topbar {
    background: var(--secondary);
    color: #fff;
    font-size: 0.78rem;
    height: 2rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1031; /* above sticky-top (1020) */
}
.topbar a { color: rgba(255,255,255,0.85); text-decoration: none; }
.topbar a:hover { color: var(--primary); }

/* ── TASK 3: About Page Revamp ── */

/* Hero left-aligned overlay */
.about-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(2,62,88,0.82) 0%, rgba(2,62,88,0.45) 60%, transparent 100%);
    z-index: 1;
}
.about-hero-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(235,113,29,0.12) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.about-hero-bar {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 6px; height: 70%; background: var(--primary); border-radius: 0 4px 4px 0;
    z-index: 2;
}
.about-hero-text {
    position: relative; z-index: 2;
    padding-left: 2.5rem;
    color: #fff;
}
.about-hero-text .hero-label {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--primary); margin-bottom: 0.75rem;
}
.about-hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15;
    margin-bottom: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.about-hero-text p {
    font-size: 1.1rem; color: rgba(255,255,255,0.88); max-width: 520px;
}

/* Stats Bar */
.stats-bar {
    background: var(--secondary);
    padding: 2.5rem 0;
}
.stats-bar-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.stat-bar-item {
    flex: 1; min-width: 160px; text-align: center;
    padding: 0.5rem 1.5rem;
    position: relative;
}
.stat-bar-item + .stat-bar-item::before {
    content: ''; position: absolute; left: 0; top: 15%; height: 70%;
    width: 1px; background: rgba(255,255,255,0.2);
}
.stat-bar-num {
    font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1;
    display: block;
}
.stat-bar-label {
    font-size: 0.82rem; color: rgba(255,255,255,0.75); text-transform: uppercase;
    letter-spacing: 1px; margin-top: 0.3rem; display: block;
}

/* Who We Are upgraded */
.about-section-label {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--primary); margin-bottom: 0.5rem;
}
.about-heading-wrap { position: relative; display: inline-block; margin-bottom: 1.2rem; }
.about-heading-wrap h2 {
    font-size: 3rem; font-weight: 800; color: var(--secondary);
    position: relative; z-index: 1; margin: 0;
}
.about-heading-pill {
    position: absolute; left: -8px; bottom: 4px;
    height: 14px; width: calc(100% + 16px);
    background: var(--primary); opacity: 0.18; border-radius: 20px; z-index: 0;
}
.about-body-text { font-size: 1.05rem; line-height: 1.9; color: #444; }

/* Mission & Vision split panels */
.mv-panel {
    padding: 3.5rem 2.5rem; position: relative; overflow: hidden;
    min-height: 280px;
}
.mv-panel-mission { background: var(--secondary); color: #fff; }
.mv-panel-vision  { background: var(--primary);   color: #fff; }
.mv-panel-bg-icon {
    position: absolute; right: -10px; bottom: -10px;
    font-size: 9rem; opacity: 0.08; line-height: 1;
    pointer-events: none;
}
.mv-panel h3 {
    font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.mv-panel p { font-size: 1rem; line-height: 1.8; opacity: 0.92; }

/* Core Values horizontal scroll */
.values-scroll-row {
    display: flex; gap: 1.25rem;
    overflow-x: auto; padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #eee;
}
.values-scroll-row::-webkit-scrollbar { height: 5px; }
.values-scroll-row::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.value-scroll-card {
    flex: 0 0 calc(25% - 1rem); min-width: 220px;
    background: #fff; border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
}
.value-scroll-card:nth-child(even) { border-left-color: var(--secondary); }
.value-scroll-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.value-scroll-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.75rem; display: block; }
.value-scroll-card:nth-child(even) i { color: var(--secondary); }
.value-scroll-card h5 { color: var(--secondary); font-weight: 700; margin-bottom: 0.5rem; font-size: 1rem; }
.value-scroll-card p { font-size: 0.88rem; color: #666; margin: 0; line-height: 1.6; }
@media (max-width: 991px) {
    .value-scroll-card { flex: 0 0 260px; }
}

/* Timeline dashed + faded step numbers */
.timeline::before {
    background: none !important;
    width: 0 !important;
    border-left: 3px dashed var(--primary);
    left: 50% !important;
    transform: translateX(-50%);
}
.timeline-step-num {
    position: absolute;
    font-size: 5rem; font-weight: 900;
    color: var(--secondary); opacity: 0.05;
    line-height: 1; top: -10px;
    pointer-events: none; user-select: none;
}
.timeline-item:nth-child(odd) .timeline-step-num  { right: calc(50% + 40px); }
.timeline-item:nth-child(even) .timeline-step-num { left: calc(50% + 40px); }
@media (max-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-step-num,
    .timeline-item:nth-child(even) .timeline-step-num { left: 55px; right: auto; }
    .timeline::before { left: 20px !important; }
}

/* Prevent horizontal scroll */
body, html {
    max-width: 100%;
    overflow-x: hidden;
}

/* Frame-like centered layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ============================================================
   TASK 1 & 2 — TOP BAR + STICKY NAVBAR SCROLL SHRINK
   ============================================================ */

.site-topbar {
    background: var(--secondary);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    height: 36px;
    line-height: 36px;
}

.topbar-tagline {
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
}

.topbar-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.78rem;
}

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

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-socials a {
    color: rgba(255,255,255,0.65);
    font-size: 0.72rem;
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-socials a:hover { color: var(--primary); }

/* Navbar scroll shrink */
#mainNavbar {
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

#mainNavbar.navbar-scrolled {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    backdrop-filter: blur(8px);
}

#mainNavbar.navbar-scrolled .logo-img {
    height: 38px;
}

.nav-cta {
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 14px;
}

/* ============================================================
   TASK 2 — SERVICES DROPDOWN WITH ICONS
   ============================================================ */

.services-dd {
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 0.75rem 0;
    min-width: 280px;
    animation: ddFadeIn 0.18s ease;
}

@keyframes ddFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.services-dd .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1.2rem;
    font-size: 0.875rem;
    color: var(--secondary);
    font-weight: 500;
    transition: all 0.18s ease;
    border-left: 3px solid transparent;
}

.services-dd .dropdown-item:hover,
.services-dd .dropdown-item:focus {
    background: rgba(235,113,29,0.07);
    color: var(--primary);
    border-left-color: var(--primary);
}

.dd-chev {
    color: var(--primary);
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.55;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.services-dd .dropdown-item:hover .dd-chev,
.services-dd .dropdown-item:focus .dd-chev {
    opacity: 1;
    transform: translateX(3px);
}

/* Dropdown caret */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.68rem;
    vertical-align: middle;
    margin-left: 5px;
    transition: transform 0.22s ease;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* ============================================================
   TASK 4 — NEW SERVICE CARDS (no overlay mesh)
   ============================================================ */

.svc-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(28px);
}

.svc-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(235,113,29,0.2);
}

.svc-card-img {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--light-gray);
}

.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.svc-card-icon-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(235,113,29,0.4);
}

.svc-card-body {
    padding: 1.6rem;
}

.svc-card-body h3 {
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.svc-card-body p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

/* ============================================================
   TASK 3 — ABOUT PAGE REVAMP
   ============================================================ */

/* Hero */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 80px;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(2,62,88,0.92) 0%, rgba(2,62,88,0.7) 55%, rgba(235,113,29,0.35) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding-left: 1.5rem;
    border-left: 5px solid var(--primary);
}

.about-hero-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.about-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.7;
}

.about-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stats Bar */
.about-stats-bar {
    background: var(--secondary);
    padding: 0;
}

.stats-bar-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.stats-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
    gap: 4px;
}

.stats-bar-icon {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.stats-bar-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stats-bar-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stats-bar-divider {
    width: 1px;
    background: rgba(255,255,255,0.12);
    margin: 1.5rem 0;
    align-self: stretch;
}

/* Who We Are */
.about-who-section { background: #fff; }

.about-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.about-img-wrap img { display: block; width: 100%; }

.about-img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(235,113,29,0.4);
}

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.about-who-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 1.2rem;
    position: relative;
}

.about-who-body {
    font-size: 1.02rem;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.2rem;
}

.about-badge {
    background: rgba(235,113,29,0.08);
    color: var(--primary);
    border: 1px solid rgba(235,113,29,0.25);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.about-badge:hover {
    background: var(--primary);
    color: #fff;
}

/* Mission & Vision panels */
.about-mv-section { overflow: hidden; }

.mv-panel {
    position: relative;
    padding: 5rem 4rem;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mv-mission { background: var(--secondary); }
.mv-vision  { background: var(--primary); }

.mv-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 12rem;
    opacity: 0.06;
    color: #fff;
    line-height: 1;
    pointer-events: none;
}

.mv-content { position: relative; z-index: 1; color: #fff; }

.mv-label {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.12;
    line-height: 1;
    margin-bottom: -1rem;
    color: #fff;
}

.mv-content h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.mv-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
}

/* Core Values scroll row */
.about-values-section { background: #f8f9fa; }

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.values-scroll-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.value-pill {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem 1.4rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(24px);
}

.value-pill.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-pill:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.value-pill-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.3rem;
}

.value-pill h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.value-pill p {
    font-size: 0.87rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Journey timeline improvements */
.about-journey-section .timeline::before {
    border-left: 3px dashed rgba(235,113,29,0.35);
    background: none;
    width: 0;
    left: 50%;
}

.timeline-step-num {
    position: absolute;
    left: 50%;
    top: 14px;
    transform: translateX(-50%);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(2,62,88,0.05);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

/* Responsive about */
@media (max-width: 768px) {
    .about-hero { min-height: 55vh; padding: 80px 0 60px; }
    .about-hero-content { padding-left: 1rem; border-left-width: 4px; }
    .stats-bar-item { padding: 1.5rem 1.5rem; }
    .stats-bar-divider { display: none; }
    .mv-panel { padding: 3rem 2rem; min-height: auto; }
    .mv-bg-icon { font-size: 7rem; }
    .values-scroll-row { grid-template-columns: 1fr 1fr; }
    .about-who-text { padding-left: 0; }
}

@media (max-width: 480px) {
    .values-scroll-row { grid-template-columns: 1fr; }
}

/* Responsive topbar */
@media (max-width: 991px) {
    .site-topbar { display: none !important; }
}

/* ============================================================
   OVERRIDES — topbar, sticky nav, rounded edges, values grid
   ============================================================ */

/* Top bar — phone+email left, socials right */
.site-topbar {
    background: var(--secondary);
    height: 38px;
    display: flex;
    align-items: center;
}

.site-topbar .container-fluid { height: 100%; }

.topbar-sep {
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
}

.topbar-link {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.79rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

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

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-socials a {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
}

.topbar-socials a:hover { color: var(--primary); }

/* Remove old tagline rule */
.topbar-tagline { display: none; }

/* Navbar — always visible when sticky, never disappears */
#mainNavbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.09);
    background: #fff !important;
}

#mainNavbar.navbar-scrolled {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    box-shadow: 0 4px 28px rgba(0,0,0,0.14);
}

#mainNavbar.navbar-scrolled .logo-img { height: 36px; }

/* Nav links right-aligned */
.navbar-nav.ms-auto { margin-left: auto !important; }

/* Rounded site wrapper — soft edges on the whole page */
body {
    border-radius: 0;
}

.site-topbar {
    border-radius: 0;
}

/* Rounded card/section edges throughout */
.svc-card,
.about-img-wrap,
.glass-card,
.stat-card,
.value-pill,
.timeline-content,
.contact-form,
.contact-info {
    border-radius: 16px !important;
}

.btn, .btn-primary, .btn-outline-primary, .btn-outline-light, .btn-outline-secondary {
    border-radius: 8px !important;
}

.navbar {
    border-radius: 0 0 14px 14px;
}

.site-topbar {
    border-radius: 0;
}

/* ============================================================
   CORE VALUES — full-width, equal columns, properly sized
   ============================================================ */

.values-scroll-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.value-pill {
    background: #fff;
    border-radius: 16px !important;
    padding: 2rem 1.6rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(24px);
    width: 100%;
    min-width: 0;
    text-align: left;
}

.value-pill.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-pill:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}

.value-pill-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.value-pill h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.55rem;
}

.value-pill p {
    font-size: 0.9rem;
    color: #5a6472;
    line-height: 1.65;
    margin: 0;
}

/* Values section container full width */
.about-values-section .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 1100px) {
    .values-scroll-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .values-scroll-row { grid-template-columns: 1fr; }
    .about-values-section .container { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   STICKY HEADER WRAPPER
   ============================================================ */
#stickyHeader {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Remove the old standalone sticky from #mainNavbar */
#mainNavbar {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
}

/* ============================================================
   CUSTOM CURSOR — small dot + lagging ring
   ============================================================ */
*, *::before, *::after { cursor: none !important; }

#cursorDot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.2s;
    will-change: transform;
}

#cursorRing {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    opacity: 0.55;
    will-change: transform;
}

/* ============================================================
   WHY CHOOSE ICONS — darker secondary blue
   ============================================================ */
.icon-secondary {
    color: var(--secondary) !important;
    margin-right: 8px;
}

/* ============================================================
   ROUNDED SITE CORNERS
   ============================================================ */
html {`r`n    overflow-x: hidden;`r`n    overflow-y: scroll;`r`n}`r`n`r`nbody {`r`n    overflow-x: hidden;`r`n}

/* ============================================================
   SCROLL + NAV SPACING FIXES (override corrupted block above)
   ============================================================ */

/* Fix: restore vertical scrolling (overrides any overflow:hidden on html) */
html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
}

body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
}

/* Fix: space out navbar links */
.navbar-nav .nav-link {
    margin: 0 10px !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
    letter-spacing: 0.1px !important;
}


/* ============================================================
   STICKY HEADER FIX - Make header stay at top when scrolling
   ============================================================ */
#stickyHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
}

body {
    padding-top: 86px;
}

@media (max-width: 991px) {
    body {
        padding-top: 66px;
    }
}


/* ============================================================
   WHATSAPP CHAT BUTTON - Bottom Right Floating Widget
   ============================================================ */
.whatsapp-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.whatsapp-chat-btn.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.whatsapp-chat-btn:hover {
    background: #20ba5a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .whatsapp-chat-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* ============================================================
   JOURNEY TIMELINE - Blue Theme Icons
   ============================================================ */
.timeline-marker {
    background: var(--secondary) !important;
    border-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(2, 62, 88, 0.2) !important;
}

.timeline-content h5 i {
    color: var(--secondary) !important;
}

.about-journey-section .timeline::before {
    border-left-color: var(--secondary) !important;
}

/* ============================================================
   SERVICE CARDS - Remove Icon Badge from Card Images
   ============================================================ */
.svc-card-icon-badge {
    display: none !important;
}

.service-card-modern .service-overlay .service-overlay-content i {
    display: none !important;
}


/* Chat widget styles are owned by static/css/chat-widget.css */
