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

:root {
    --primary-color: #259bc3;
    --secondary-color: #1e7a96;
    --accent-color: #42db2a;
    --tertiary-color: #32c366;
    --quaternary-color: #27c486;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient: linear-gradient(135deg, #259bc3 0%, #32c366 100%);
    --gradient-secondary: linear-gradient(135deg, #42db2a 0%, #27c486 100%);
    --gradient-tertiary: linear-gradient(135deg, #259bc3 0%, #42db2a 100%);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(37, 155, 195, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 1800px;
    /* Slightly increased base opacity for better readability on mobile */
    background: rgba(31, 41, 55, 0.92);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    border: 1px solid rgba(37, 155, 195, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    top: 5px;
    width: calc(100% - 40px);
    max-width: 1600px;
    /* Keep scrolled state consistent and slightly darker for contrast */
    background: rgba(31, 41, 55, 0.94);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(37, 155, 195, 0.4);
}

.navbar.scrolled .nav-menu {
    /* Keep desktop dropdown hover container consistent if future dropdowns added */
    background: rgba(55, 65, 81, 0.75);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-logo-img:hover {
    filter: brightness(120%);
    transform: scale(1.05);
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.6rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    /* Unified nav menu background (desktop) */
    background: rgba(55, 65, 81, 0.82);
    padding: 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

.nav-link span {
    position: relative;
    z-index: 2;
}

.nav-link:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 155, 195, 0.3);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: rgba(55, 65, 81, 0.8);
    padding: 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 155, 195, 0.3);
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(37, 155, 195, 0.1);
    transform: scale(1.05);
}

.bar {
    width: 20px;
    height: 2px;
    /* Improve contrast on dark blurred backgrounds */
    background: rgba(255, 255, 255, 0.9);
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(37, 155, 195, 0.1), rgba(66, 219, 42, 0.1));
    animation: float-shapes 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 70%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes float-shapes {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: slideInFromLeft 1s ease-out;
}

.badge-text {
    background: linear-gradient(135deg, rgba(37, 155, 195, 0.1), rgba(66, 219, 42, 0.2));
    border: 1px solid rgba(37, 155, 195, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.title-line {
    display: block;
    animation: slideInFromLeft 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    animation-fill-mode: backwards;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    opacity: 0.4;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

@keyframes expandWidth {
    0% { width: 0; }
    100% { width: 100%; }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInFromLeft 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: slideInFromLeft 1s ease-out 0.6s both;
    justify-content: center; /* Center stats horizontally */
    flex-wrap: wrap; /* Allow wrap on smaller widths */
}

.stat-item {
    text-align: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(37, 155, 195, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: rgba(37, 155, 195, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInFromRight 1s ease-out 0.5s both;
}

.hero-graphic-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero-graphic {
    width: 250px;
    height: 250px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
}

.graphic-inner {
    position: relative;
    z-index: 3;
}

.hero-graphic i {
    font-size: 4rem;
    color: white;
}

.graphic-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    animation: pulse-ring 3s ease-in-out infinite;
}

.ring-1 {
    width: 280px;
    height: 280px;
    animation-delay: 0s;
}

.ring-2 {
    width: 320px;
    height: 320px;
    animation-delay: 1s;
}

.ring-3 {
    width: 360px;
    height: 360px;
    animation-delay: 2s;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(31, 41, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    animation: float-icons 8s ease-in-out infinite;
    border: 1px solid rgba(37, 155, 195, 0.3);
    backdrop-filter: blur(10px);
}

.floating-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 5%;
    animation-delay: 2s;
}

.icon-3 {
    bottom: 10%;
    left: 5%;
    animation-delay: 4s;
}

.icon-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
}

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

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Sections */
.section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
    max-width: 900px; /* constrain width so long lines appear centered consistently */
    padding: 0 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(37, 155, 195, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(66, 219, 42, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.services .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(37, 155, 195, 0.06), rgba(66, 219, 42, 0.04));
    animation: float-shapes 22s infinite linear;
}

.services .shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.services .shape-2 {
    width: 80px;
    height: 80px;
    top: 65%;
    right: 12%;
    animation-delay: -7s;
}

.services .shape-3 {
    width: 100px;
    height: 100px;
    top: 75%;
    left: 75%;
    animation-delay: -14s;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(37, 155, 195, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

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

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

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover), 0 0 30px rgba(37, 155, 195, 0.2);
    border: 1px solid rgba(37, 155, 195, 0.3);
}

.service-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-hover), 0 0 25px rgba(37, 155, 195, 0.25);
}

.service-card:active {
    transform: translateY(-8px) scale(1.01);
}

.service-card:nth-child(1):hover {
    box-shadow: var(--shadow-hover), 0 0 30px rgba(37, 155, 195, 0.25);
    border: 1px solid rgba(37, 155, 195, 0.4);
}

.service-card:nth-child(2):hover {
    box-shadow: var(--shadow-hover), 0 0 30px rgba(76, 175, 80, 0.25);
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.service-card:nth-child(3):hover {
    box-shadow: var(--shadow-hover), 0 0 30px rgba(156, 39, 176, 0.25);
    border: 1px solid rgba(156, 39, 176, 0.4);
}

.service-card:nth-child(1) .service-icon {
    background: var(--gradient);
}

.service-card:nth-child(2) .service-icon {
    background: var(--gradient-secondary);
}

.service-card:nth-child(3) .service-icon {
    background: var(--gradient-tertiary);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.service-card:hover .service-icon::before {
    left: 100%;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: inherit;
    border-radius: inherit;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.service-card:hover .icon-glow {
    opacity: 0.3;
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card li {
    padding: 0.6rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.8rem;
    transition: all 0.3s ease;
}

.service-card li:last-child {
    padding-bottom: 1rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tertiary-color);
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.service-card:hover li {
    color: var(--text-dark);
    transform: translateX(5px);
}

.service-card:hover li::before {
    transform: scale(1.2);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(37, 155, 195, 0.95), rgba(50, 195, 102, 0.95));
    padding: 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:nth-child(1) .service-overlay {
    background: linear-gradient(135deg, rgba(37, 155, 195, 0.95), rgba(31, 131, 165, 0.95));
}

.service-card:nth-child(2) .service-overlay {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(56, 142, 60, 0.95));
}

.service-card:nth-child(3) .service-overlay {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.95), rgba(123, 31, 162, 0.95));
}

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

.overlay-content {
    color: white;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.overlay-content i {
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

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

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 30%, rgba(66, 219, 42, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(37, 155, 195, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.about .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(66, 219, 42, 0.05), rgba(50, 195, 102, 0.03));
    animation: float-shapes 24s infinite linear;
}

.about .shape-1 {
    width: 140px;
    height: 140px;
    top: 20%;
    right: 10%;
    animation-delay: -2s;
}

.about .shape-2 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 15%;
    animation-delay: -12s;
}

.about .shape-3 {
    width: 110px;
    height: 110px;
    top: 80%;
    right: 25%;
    animation-delay: -18s;
}

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

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(37, 155, 195, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    min-width: 24px;
    display: flex;
    justify-content: center;
}

.feature h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    word-wrap: break-word;
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
    word-wrap: break-word;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 155, 195, 0.1);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
}

/* Service Popup Styles */
.popup-card {
    background: var(--bg-white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.popup-header h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    transform: scale(1.1);
}

.popup-content {
    padding: 2rem;
}

.popup-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-section {
    margin-bottom: 2rem;
}

.popup-section h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-section h3 i {
    color: var(--primary-color);
}

.popup-features,
.popup-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-features li,
.popup-benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.popup-features li:last-child,
.popup-benefits li:last-child {
    border-bottom: none;
}

.popup-features li:hover,
.popup-benefits li:hover {
    padding-left: 0.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-bottom: 1px solid transparent;
}

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

.popup-benefits li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.popup-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.popup-cta {
    flex: 1;
    text-align: center;
    text-decoration: none;
}

.popup-close-btn {
    flex: 1;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.popup-close-btn:hover {
    background: var(--border-color);
}

/* Responsive popup */
@media (max-width: 768px) {
    .popup-card {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .popup-header,
    .popup-content {
        padding: 1.5rem;
    }
    
    .popup-header h2 {
        font-size: 1.3rem;
    }
    
    .popup-actions {
        flex-direction: column;
    }
}

/* Keyboard navigation */
.service-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling for popup content */
.popup-card {
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

/* Hide webkit scrollbar but keep functionality */
.popup-card::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.popup-card::-webkit-scrollbar-track {
    background: transparent;
}

.popup-card::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Show subtle scrollbar on hover */
.popup-card:hover {
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 155, 195, 0.2) transparent;
}

.popup-card:hover::-webkit-scrollbar {
    width: 2px;
}

.popup-card:hover::-webkit-scrollbar-thumb {
    background: rgba(37, 155, 195, 0.2);
    border-radius: 1px;
}

.popup-card:hover::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 155, 195, 0.4);
}

/* Service Cards Enhancement */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(50, 195, 102, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(39, 196, 134, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.why-choose .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.why-choose .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(50, 195, 102, 0.04), rgba(39, 196, 134, 0.03));
    animation: float-shapes 26s infinite linear;
}

.why-choose .shape-1 {
    width: 130px;
    height: 130px;
    top: 10%;
    left: 12%;
    animation-delay: -3s;
}

.why-choose .shape-2 {
    width: 95px;
    height: 95px;
    top: 55%;
    right: 8%;
    animation-delay: -15s;
}

.why-choose .shape-3 {
    width: 115px;
    height: 115px;
    top: 75%;
    left: 70%;
    animation-delay: -21s;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 155, 195, 0.1);
    backdrop-filter: blur(10px);
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gradient), var(--gradient-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit:hover::before {
    opacity: 0.03;
}

.benefit:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.benefit-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.benefit:hover .benefit-icon::before {
    transform: translateX(100%) rotate(45deg);
}

.benefit:nth-child(2) .benefit-icon {
    background: var(--gradient-secondary);
}

.benefit:nth-child(3) .benefit-icon {
    background: var(--gradient-tertiary);
}

.benefit:nth-child(4) .benefit-icon {
    background: linear-gradient(135deg, var(--quaternary-color), var(--tertiary-color));
}

.benefit-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.benefit:hover .benefit-icon {
    transform: scale(1.1) rotateY(360deg);
}

.benefit h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.benefit p {
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(39, 196, 134, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(37, 155, 195, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.contact .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(39, 196, 134, 0.04), rgba(37, 155, 195, 0.03));
    animation: float-shapes 28s infinite linear;
}

.contact .shape-1 {
    width: 150px;
    height: 150px;
    top: 5%;
    right: 5%;
    animation-delay: -4s;
}

.contact .shape-2 {
    width: 100px;
    height: 100px;
    top: 65%;
    left: 10%;
    animation-delay: -16s;
}

.contact .shape-3 {
    width: 120px;
    height: 120px;
    top: 80%;
    right: 20%;
    animation-delay: -22s;
}

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

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 155, 195, 0.1);
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 155, 195, 0.1);
    max-width: 600px;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(37, 155, 195, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group select {
    padding-right: 35px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23259bc3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(37, 155, 195, 0.2);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Form Submit Button */
.form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
}

.contact-form button[type="submit"] {
    margin: 0;
    flex-shrink: 0;
}

.contact-form button[type="button"] {
    margin: 0;
    flex-shrink: 0;
}

/* Clear Form Button - Reddish hover effect */
.contact-form button[type="button"].btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #6b7280;
    border-color: rgba(107, 114, 128, 0.3);
    transition: all 0.3s ease;
}

.contact-form button[type="button"].btn-secondary:hover {
    background: #ef4444;
    color: white;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.contact-form button[type="button"].btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

/* Form Labels */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Required Field Asterisk */
.required {
    color: #ef4444;
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Form Validation Errors */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}

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

/* Error Message */
.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: fadeIn 0.3s ease-in-out;
}

.error-message i {
    font-size: 0.8rem;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer Contact Info */
.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-item-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
}

.contact-item-footer i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    background: var(--text-dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        top: 15px;
        width: calc(100% - 30px);
        max-width: none;
        /* Slightly higher opacity for mobile readability */
        background: rgba(31, 41, 55, 0.94);
        border: 1px solid rgba(37, 155, 195, 0.45);
    }
    
    .navbar.scrolled {
        top: 10px;
        width: calc(100% - 20px);
        /* Maintain consistent look when scrolled on mobile */
        background: rgba(31, 41, 55, 0.95);
        border: 1px solid rgba(37, 155, 195, 0.5);
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: 15px;
        right: 15px;
        top: 80px;
        flex-direction: column;
        /* Switch to dark translucent panel for consistency with desktop style */
        background: rgba(31, 41, 55, 0.93);
        backdrop-filter: blur(24px) saturate(140%);
        border-radius: 20px;
        padding: 1.25rem 1.15rem 1.35rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(37, 155, 195, 0.25);
        border: 1px solid rgba(37, 155, 195, 0.35);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.35rem;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link {
        padding: 0.85rem 1.25rem;
        margin: 0.15rem 0;
        border-radius: 14px;
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.1;
        color: rgba(255, 255, 255, 0.95);
        background: rgba(55, 65, 81, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.07);
        backdrop-filter: blur(6px);
    }

    .nav-link:focus-visible {
        outline: 2px solid var(--accent-color);
        outline-offset: 4px;
    }

    .nav-link.active {
        background: var(--gradient);
        color: #fff;
        box-shadow: 0 4px 20px rgba(37, 155, 195, 0.35);
        border: 1px solid rgba(255,255,255,0.15);
    }

    .nav-link:hover {
        background: rgba(55,65,81,0.6);
    }

    .navbar {
        top: 10px; /* Slightly lower position on mobile */
        width: calc(100% - 15px); /* Less margin on mobile */
    }

    .nav-container {
        padding: 0.2rem 1rem; /* Slightly more compact padding */
    }

    .nav-logo-img {
        height: 60px; /* Slightly smaller logo on mobile */
    }

    .nav-toggle {
        display: flex;
        background: rgba(31, 41, 55, 0.85);
        border: 1px solid rgba(37, 155, 195, 0.4);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
        background: var(--accent-color);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
        background: var(--accent-color);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.75rem;
    }

    .hero-title {
        font-size: 2.35rem;
        line-height: 1.15;
        margin-bottom: 1.1rem;
    }

    .hero-graphic {
        width: 200px;
        height: 200px;
    }

    .hero-graphic i {
        font-size: 4rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.75rem 1.5rem 2rem;
        max-width: 100%;
    }

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

    .form-row .form-group {
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 0.75rem;
        margin-top: 0.25rem;
    }

    .btn {
        padding: 11px 24px;
        font-size: 0.9rem;
        border-radius: 10px;
    }
}

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

    .hero {
        padding: 160px 0 60px; /* Significantly increased top padding to prevent navbar overlap */
        padding-top: 180px !important; /* Force even more space on small screens */
    }
    
    .hero-badge {
        margin-top: 25px; /* Increased margin to move badge further down */
        margin-bottom: 2rem; /* Added bottom margin for better spacing */
    }
    
    .feature {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .feature i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    /* Further reduce hero graphic footprint for very small devices to avoid overflow */
    .hero-graphic-container { width: 300px; height: 300px; }
    .hero-graphic { width: 170px; height: 170px; }
    .ring-1 { width: 210px; height: 210px; }
    .ring-2 { width: 240px; height: 240px; }
    .ring-3 { width: 270px; height: 270px; }

    .contact-form {
        padding: 1.5rem;
    }

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

    .checkbox-label {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Ensure section header container centers precisely on very small screens */
    .section-header { max-width: 100%; padding: 0 5px; }

    .services,
    .about,
    .why-choose,
    .contact {
        padding: 60px 0;
    }

    .service-card {
        padding: 1.75rem 1.35rem 1.9rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

    /* Mobile fade-in staging for sections (specifically services) */
    .fade-section {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    .fade-section.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .hero {
        padding-top: 200px !important; /* Even more space for very small screens */
    }
    
    .hero-badge {
        margin-top: 30px;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .benefit,
    .stat {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .service-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .service-card:nth-child(3) {
        animation-delay: 0.2s;
    }

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

/* Privacy Policy Page Styles */
.privacy-policy {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.95) 0%, 
        rgba(241, 245, 249, 0.95) 50%, 
        rgba(248, 250, 252, 0.95) 100%
    );
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.privacy-policy .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.privacy-policy .shape {
    background: linear-gradient(45deg, 
        rgba(37, 155, 195, 0.06), 
        rgba(66, 219, 42, 0.06)
    );
    border: 1px solid rgba(37, 155, 195, 0.1);
}

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

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.privacy-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.last-updated {
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
}

.privacy-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.privacy-section h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 500;
    margin: 25px 0 15px 0;
}

.privacy-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.privacy-section ul {
    margin: 15px 0 15px 20px;
}

.privacy-section li {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-details {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.8) 0%, 
        rgba(241, 245, 249, 0.8) 100%
    );
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-details p {
    margin-bottom: 8px;
}

.privacy-footer {
    text-align: center;
    padding-top: 20px;
    position: relative;
    z-index: 2;
}

.privacy-footer .btn {
    box-shadow: 0 8px 20px rgba(37, 155, 195, 0.3);
    transition: all 0.3s ease;
}

.privacy-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 155, 195, 0.4);
}

/* Add subtle animations for privacy policy sections */
.privacy-section {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.privacy-section:nth-child(1) { animation-delay: 0.1s; }
.privacy-section:nth-child(2) { animation-delay: 0.2s; }
.privacy-section:nth-child(3) { animation-delay: 0.3s; }
.privacy-section:nth-child(4) { animation-delay: 0.4s; }
.privacy-section:nth-child(5) { animation-delay: 0.5s; }
.privacy-section:nth-child(6) { animation-delay: 0.6s; }
.privacy-section:nth-child(7) { animation-delay: 0.7s; }
.privacy-section:nth-child(8) { animation-delay: 0.8s; }
.privacy-section:nth-child(9) { animation-delay: 0.9s; }
.privacy-section:nth-child(10) { animation-delay: 1.0s; }
.privacy-section:nth-child(11) { animation-delay: 1.1s; }
.privacy-section:nth-child(12) { animation-delay: 1.2s; }
.privacy-section:nth-child(13) { animation-delay: 1.3s; }
.privacy-section:nth-child(14) { animation-delay: 1.4s; }

/* Enhanced Checkbox Styles for Privacy Compliance */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light);
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    background-color: var(--bg-white);
    display: inline-block;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
    box-shadow: 0 0 0 3px rgba(37, 155, 195, 0.2);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Form validation styles for required privacy checkbox */
.checkbox-label input[type="checkbox"]:required + .checkmark {
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:invalid + .checkmark {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

/* Mobile Responsive Privacy Page */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 100px 0 60px 0;
    }
    
    .privacy-header h1 {
        font-size: 2.2rem;
    }
    
    .privacy-content {
        padding: 25px;
        border-radius: 15px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section p,
    .privacy-section li {
        font-size: 1rem;
    }
    
    .contact-details {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-header h1 {
        font-size: 1.8rem;
    }
    
    .privacy-content {
        padding: 20px;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
    }
}
