/* ============================================================
   BRAINSWORTH SOLUTIONS - PREMIUM CORPORATE WEBSITE
   Main Stylesheet
   ============================================================ */

/* ----- CSS Variables & Theme ----- */
:root {
    --primary: #003366;
    --primary-dark: #002244;
    --primary-light: #004488;
    --secondary: #0055AA;
    --accent: #00AEEF;
    --accent-light: #33C4FF;
    --accent-dark: #0095CC;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --dark-gray: #333333;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --success: #28a745;
    --gradient-primary: linear-gradient(135deg, #003366 0%, #0055AA 50%, #00AEEF 100%);
    --gradient-dark: linear-gradient(135deg, #002244 0%, #003366 100%);
    --gradient-accent: linear-gradient(135deg, #0055AA 0%, #00AEEF 100%);
    --gradient-light: linear-gradient(135deg, #F5F7FA 0%, #E8ECF1 100%);
    --shadow-sm: 0 2px 8px rgba(0,51,102,0.08);
    --shadow-md: 0 4px 20px rgba(0,51,102,0.12);
    --shadow-lg: 0 8px 40px rgba(0,51,102,0.16);
    --shadow-xl: 0 12px 60px rgba(0,51,102,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

.display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-badge i {
    font-size: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.875rem;
    }
    .display-4 {
        font-size: 2rem;
    }
}

/* ----- Navigation Bar ----- */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    z-index: 1050;
    background: transparent;
}

.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 51, 102, 0.1);
    padding: 0.5rem 0;
}

.navbar.navbar-scrolled .nav-link {
    color: var(--dark-gray) !important;
}

.navbar.navbar-scrolled .navbar-brand .brand-light {
    display: none;
}

.navbar.navbar-scrolled .navbar-brand .brand-dark {
    display: block;
}

.navbar:not(.navbar-scrolled) .brand-dark {
    display: none;
}

.navbar:not(.navbar-scrolled) .brand-light {
    display: block;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 42px;
    transition: var(--transition);
}

.nav-link {
    font-weight: 500;
    font-size: 0.938rem;
    padding: 0.5rem 1rem !important;
    color: var(--white) !important;
    position: relative;
    transition: var(--transition);
}

.navbar-scrolled .nav-link {
    color: var(--dark-gray) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

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

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

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

.mega-menu h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-menu a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.938rem;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.mega-menu a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* Glassmorphism Nav Effect */
.glass-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-nav.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 51, 102, 0.05);
}

/* ----- Buttons ----- */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.938rem;
    letter-spacing: 0.3px;
}

.btn::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:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 174, 239, 0.4);
    color: var(--white);
}

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

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

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

.btn-white:hover {
    background: var(--light-gray);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.813rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-icon i {
    font-size: 1.25rem;
    transition: var(--transition);
}

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

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ----- Hero Section ----- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 51, 102, 0.92) 0%, 
        rgba(0, 85, 170, 0.85) 50%, 
        rgba(0, 174, 239, 0.7) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero-stat-item .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

/* Hero Shape Divider */
.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.hero-divider svg {
    width: 100%;
    height: 80px;
}

/* Animated Particles */
.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* ----- Animations ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 174, 239, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 174, 239, 0.6);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ----- Service Cards ----- */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 51, 102, 0.05);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    color: var(--white);
    transform: scale(1.1) rotateY(180deg);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.938rem;
    margin-bottom: 1.5rem;
}

.service-card .service-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-card .service-link i {
    transition: var(--transition);
}

.service-card .service-link:hover i {
    transform: translateX(5px);
}

/* ----- Counter Section ----- */
.counter-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.counter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.counter-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.counter-item .counter-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.counter-item .counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-item .counter-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ----- About Section ----- */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

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

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.about-experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.value-item:hover {
    background: var(--light-gray);
}

.value-item .value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 174, 239, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
}

.value-item h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* ----- Why Choose Us ----- */
.why-choose-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 51, 102, 0.05);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.why-card:hover::after {
    transform: scaleX(1);
}

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

.why-card .why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient-accent);
    color: var(--white);
    transform: rotateY(180deg);
}

.why-card h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ----- Industries Section ----- */
.industries-section {
    padding: 6rem 0;
    background: var(--white);
}

.industry-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    height: 200px;
}

.industry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.industry-item:hover img {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.industry-item:hover .industry-overlay {
    background: linear-gradient(to top, rgba(0, 51, 102, 0.95), rgba(0, 51, 102, 0.5));
}

.industry-overlay i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.industry-item:hover .industry-overlay i {
    transform: scale(1.2);
}

.industry-overlay h5 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}

/* ----- Projects Section ----- */
.projects-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-overlay .btn {
    transform: translateY(0);
}

.project-info {
    padding: 1.5rem;
}

.project-info .project-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Filter Buttons */
.filter-btn {
    border: none;
    background: transparent;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

/* ----- Testimonials Section ----- */
.testimonials-section {
    padding: 6rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin: 1rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.testimonial-author h6 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.813rem;
}

/* ----- Partners Section ----- */
.partners-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.partner-item {
    padding: 2rem;
    text-align: center;
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-item:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

.partner-item img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
}

/* ----- FAQ Section ----- */
.faq-section {
    padding: 6rem 0;
    background: var(--white);
}

.accordion-item {
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 1.25rem 1.5rem;
    background: var(--white);
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(0, 174, 239, 0.03);
}

.accordion-button::after {
    background-size: 1rem;
    transition: var(--transition);
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.938rem;
}

/* ----- Contact Section ----- */
.contact-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-control, .form-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(0, 51, 102, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.938rem;
    transition: var(--transition);
    background: var(--light-gray);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
    background: var(--white);
}

.form-floating label {
    padding: 0.875rem 1.25rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
}

.contact-info-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--white);
    height: 100%;
}

.contact-info-card .info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-card .info-item:last-child {
    margin-bottom: 0;
}

.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
}

.contact-info-card h6 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.938rem;
    margin-bottom: 0;
}

/* ----- Footer ----- */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

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

.footer p {
    font-size: 0.938rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.938rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer ul li a i {
    font-size: 0.75rem;
}

.footer .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
}

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

/* ----- WhatsApp Float ----- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-glow 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* ----- Back to Top ----- */
.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

/* ----- Page Header ----- */
.page-header {
    position: relative;
    padding: 150px 0 80px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
}

.page-header .breadcrumb-item a {
    color: var(--accent);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* ----- Page Content ----- */
.page-content {
    padding: 6rem 0;
}

/* ----- Preloader ----- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ----- Offline Notification ----- */
.offline-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #dc3545;
    color: var(--white);
    text-align: center;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
}

/* ----- Responsive Design ----- */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-link {
        color: var(--dark-gray) !important;
        padding: 0.75rem 1rem !important;
    }
    
    .mega-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 1rem;
        margin: 0.5rem 0;
        background: var(--light-gray);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .nav-item:hover .mega-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .hero-stat-item .stat-number {
        font-size: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-info-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .counter-item .counter-number {
        font-size: 2.25rem;
    }
    
    .footer {
        padding: 3rem 0 0;
    }
    
    .page-header {
        padding: 130px 0 60px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-content {
        padding: 3rem 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
}

/* ----- Utility Classes ----- */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

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

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-xl) !important;
    transform: translateY(-5px);
}

.rounded-custom {
    border-radius: var(--radius-lg);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ----- Smooth Scrolling Progress Bar ----- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 9999;
    transition: width 0.1s;
}

/* ----- Cookie Consent ----- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9998;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.cookie-consent .btn {
    font-size: 0.813rem;
    padding: 0.5rem 1.25rem;
}
