/* MedAssure - Main Stylesheet */

/* Form Status Styles */
.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.form-status .loading {
    color: var(--primary-color);
}

.form-status .success {
    color: #2e7d32;
}

.form-status .error {
    color: #d32f2f;
}

/* Base Styles */
:root {
    /* Purple Theme */
    --primary-color: #6d28d9; /* Purple 700 */
    --primary-light: #8b5cf6; /* Purple 500 */
    --primary-dark: #4c1d95; /* Purple 900 */
    --primary-rgb: 109, 40, 217;
    
    --secondary-color: #c084fc; /* Purple 400 */
    --secondary-light: #d8b4fe; /* Purple 300 */
    --secondary-rgb: 192, 132, 252;
    
    --accent-color: #f472b6; /* Pink 400 */
    --accent-light: #fbcfe8; /* Pink 200 */
    
    --text-color: #1f2937; /* Gray 800 */
    --text-light: #4b5563; /* Gray 600 */
    --bg-color: #f5f3ff; /* Purple 50 */
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    
    --shadow-sm: 0 1px 2px rgba(109, 40, 217, 0.05);
    --shadow-md: 0 4px 6px rgba(109, 40, 217, 0.1);
    --shadow-lg: 0 10px 15px rgba(109, 40, 217, 0.1);
    --border-radius: 8px;
    --glass-border-radius: 14px;
    --transition: all 0.3s ease;
    
    /* Glass morphism variables */
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(192, 132, 252, 0.3);
    --glass-shadow-1: rgba(109, 40, 217, 0.05);
    --glass-shadow-2: rgba(255, 255, 255, 0.9);
    --glass-blur: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--bg-color) 0%, #ede9fe 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(at top left, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(at top right, rgba(var(--secondary-rgb), 0.1) 0%, transparent 50%),
                radial-gradient(at bottom left, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
                radial-gradient(at bottom right, rgba(214, 188, 250, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-5%, 5%); }
    50% { transform: translate(5%, -5%); }
    75% { transform: translate(-5%, -5%); }
    100% { transform: translate(0, 0); }
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

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

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

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--glass-border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(109, 40, 217, 0.1);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(109, 40, 217, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background: rgba(74, 107, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Card Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--glass-border-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--glass-shadow-1), 
                inset 0 1px 1px var(--glass-shadow-2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: 0.7s;
    z-index: -1;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--glass-shadow-1), 
                inset 0 1px 2px var(--glass-shadow-2);
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(109, 40, 217, 0.1);
    border-bottom: 1px solid rgba(192, 132, 252, 0.2);
    height: 90px; /* Fixed height to prevent jumping */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    position: relative;
    display: inline-block;
    transition: var(--transition);
    text-shadow: 0 2px 10px rgba(109, 40, 217, 0.2);
}

.logo h1:hover {
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.logo h1::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    bottom: 5px;
    right: -10px;
    box-shadow: 0 0 10px var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color), var(--primary-dark));
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
    opacity: 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(109, 40, 217, 0.05);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(109, 40, 217, 0.08);
    font-weight: 600;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
    opacity: 1;
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.has-dropdown > a:after {
    content: ' \25bc';
    font-size: 0.7em;
    margin-left: 5px;
    vertical-align: middle;
    position: static;
    background-color: transparent;
    height: auto;
    width: auto;
    transition: none;
}

.has-dropdown:hover > a:after {
    content: ' \25b2';
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.15);
    border-radius: var(--glass-border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(192, 132, 252, 0.2);
}

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

.dropdown-menu li {
    margin: 0;
    display: block;
}

.dropdown-menu a {
    padding: 8px 20px;
    display: block;
    color: var(--text-color);
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover, 
.dropdown-menu a.active {
    background: linear-gradient(90deg, rgba(109, 40, 217, 0.1), rgba(109, 40, 217, 0.05));
    color: var(--primary-color);
    padding-left: 25px;
    border-left: 3px solid var(--primary-color);
}

.dropdown-menu a::after {
    display: none;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.cta-for-doctors {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed rgba(109, 40, 217, 0.2);
    text-align: center;
}

.cta-for-doctors p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.view-all-doctors {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Fix for any invisible content issues */
.container, .section, .hero * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hero Section */
/* Modern Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 180px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #5b21b6 50%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
    min-height: 800px; /* Increased min-height */
    display: flex;
    align-items: center;
    height: 90vh; /* Make hero take up 90% of viewport height */
}

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0) 70%);
    z-index: 0;
    animation: pulse 15s infinite alternate;
    filter: blur(30px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.4) 0%, rgba(192, 132, 252, 0) 70%);
    z-index: 0;
    animation: pulse 10s infinite alternate-reverse;
    filter: blur(30px);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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.05'%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");
    z-index: 0;
    opacity: 0.3;
}

/* Animation elements */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* Lowered to be behind content */
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-light));
    animation: float 15s infinite ease-in-out;
}

.shape1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 15%;
    animation-delay: 2s;
}

.shape3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 5%;
    animation-delay: 4s;
}

.pulse-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.2) 0%, rgba(192, 132, 252, 0) 70%);
    top: 60%;
    left: 25%;
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite ease-in-out;
}

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

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 0.5; }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 5; /* Much higher to ensure it's above all animations */
    gap: 60px; /* Increased gap between content and visual */
    width: 100%;
    max-width: 1400px; /* Increased max-width for larger hero section */
    margin: 0 auto;
    padding: 0 30px; /* Added padding to avoid edge issues */
}

.hero-content {
    flex: 1;
    max-width: 550px; /* Slightly reduced to give more space to image */
    animation: fadeInUp 1s ease-out;
    padding-right: 20px;
}

.hero-tagline {
    font-size: 1.4rem; /* Increased font size */
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2.5rem; /* Increased margin */
    max-width: 90%;
}

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

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

.hero-content h1 {
    font-size: 4.2rem; /* Increased font size */
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg, white, var(--secondary-light), #f0f4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: textShine 3s infinite alternate;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 550px;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-content p::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    border-radius: 10px;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 1.2; /* Slightly increased for more space */
    display: flex;
    justify-content: flex-end;
    position: relative;
    animation: fadeInRight 1s ease-out;
    align-items: center;
    min-height: 500px; /* Ensure minimum height */
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 650px; /* Increased max-width */
}

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

.hero-main-card {
    padding: 20px;
    max-width: 650px; /* Increased max-width */
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.25), 0 0 20px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    height: 450px; /* Set a specific height */
}

.hero-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.hero-main-card:hover img {
    transform: scale(1.05);
}

.hero-stats-card {
    position: absolute;
    bottom: 40px; /* Moved down a bit */
    left: -40px; /* Moved left more */
    width: 200px; /* Slightly wider */
    padding: 20px; /* More padding */
    border-radius: var(--glass-border-radius);
    display: flex;
    align-items: center;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    animation: float 6s infinite ease-in-out;
}

.hero-feature-card {
    position: absolute;
    top: 40px;
    right: -30px;
    width: 220px;
    padding: 15px;
    border-radius: var(--glass-border-radius);
    display: flex;
    align-items: center;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    animation: float 6s infinite ease-in-out;
    animation-delay: 2s;
}

.stat-icon, .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 1.2rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-text {
    flex: 1;
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
}

.hero-image .glass-card::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: 0.7s;
    z-index: 2;
}

.hero-image .glass-card:hover::before {
    left: 100%;
}

.hero-image .glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-15px);
    box-shadow: 0 25px 50px rgba(31, 38, 135, 0.35), 0 0 30px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image .glass-card img {
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.hero-image .glass-card:hover img {
    transform: scale(1.03);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #ede9fe 0%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    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='%236d28d9' fill-opacity='0.05'%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.8;
    z-index: -1;
}

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

.service-card {
    padding: 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--glass-border-radius);
    backdrop-filter: blur(var(--glass-blur));
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.85);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, white 0%, #f5f3ff 100%);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b5cf6' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    padding: 30px;
    text-align: center;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Doctors Section */
.doctors {
    background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
    position: relative;
    overflow: hidden;
}

.doctors::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0) 70%);
    z-index: 0;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.doctor-card {
    padding: 20px;
    text-align: center;
}

.doctor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(109, 40, 217, 0.15);
    transition: var(--transition);
}

.doctor-card:hover .doctor-image {
    transform: scale(1.05);
    border: 3px solid var(--secondary-color);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.doctor-card h3 {
    margin-bottom: 5px;
}

.specialty {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.experience {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.doctor-rating {
    color: var(--accent-color);
}

.view-all-doctors {
    text-align: center;
    margin-top: 40px;
}

/* Market Section */
.market-section {
    padding: 80px 0;
    background-color: var(--white);
}

.market-stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.market-stat-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.1);
}

.market-stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.market-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.market-stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

.market-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.1) 0%, rgba(109, 40, 217, 0) 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    z-index: 0;
}

.testimonials::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, rgba(192, 132, 252, 0) 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, white 0%, #f5f3ff 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%236d28d9' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info .section-header {
    text-align: left;
}

.contact-info .section-header h2::after {
    left: 0;
    transform: none;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 30px;
    position: relative;
    transition: var(--transition);
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(139, 92, 246, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: width 0.3s ease, height 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.contact-item:hover .contact-icon::before {
    width: 45px;
    height: 45px;
}

.contact-form .glass-card {
    padding: 30px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-form .glass-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.3) 0%, rgba(192, 132, 252, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-form .glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(109, 40, 217, 0.15);
}

/* Contact Summary Styles */
.contact-summary {
    padding: 40px;
    border-radius: var(--glass-border-radius);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.contact-summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(109, 40, 217, 0.15);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.contact-cta {
    text-align: center;
    padding: 25px;
    background: rgba(109, 40, 217, 0.05);
    border-radius: var(--border-radius);
    border: 1px dashed rgba(109, 40, 217, 0.2);
    transition: var(--transition);
}

.contact-cta:hover {
    background: rgba(109, 40, 217, 0.08);
    border-color: rgba(109, 40, 217, 0.3);
}

.contact-cta h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.contact-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-cta .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 20px;
    }
}

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

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #4c1d95 100%);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%238b5cf6' fill-opacity='0.1'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 20v-1.41l2.83-2.83 1.41 1.41L1.41 20H0zm20 0v-1.41l2.83-2.83 1.41 1.41L21.41 20H20zM0 0v-1.41l2.83-2.83 1.41 1.41L1.41 0H0zm20 0v-1.41l2.83-2.83 1.41 1.41L21.41 0H20zm0 20L20 0h-1.41l-2.83 2.83 1.41 1.41L20 1.41V20h1.41zM0 1.41L0 20h1.41l2.83-2.83-1.41-1.41L0 18.59V1.41z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about .logo h1 {
    color: var(--white);
}

.footer-about p {
    color: var(--gray-300);
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-300);
}

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

.footer-contact p {
    color: var(--gray-300);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

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

.footer-newsletter p {
    color: var(--gray-300);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form .form-control {
    border-radius: 30px 0 0 30px;
    border: none;
}

.newsletter-form .btn {
    border-radius: 0 30px 30px 0;
    padding: 12px 20px;
    margin: 0;
}

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

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

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: var(--gray-300);
    margin: 0;
}

/* Page Header */
.page-header {
    background: transparent;
    position: relative;
    padding: 120px 0 50px;
    text-align: center;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.07) 0%, rgba(192, 132, 252, 0.05) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    z-index: -1;
}

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

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 25px auto 0;
    color: var(--text-light);
}

/* Page header tabs and buttons */
.legal-tabs, .faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
}

.legal-tab {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-dark);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(109, 40, 217, 0.1);
    backdrop-filter: blur(5px);
}

.legal-tab:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.1);
}

.legal-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* FAQ category buttons in header */
.page-header .faq-categories {
    margin-bottom: 0;
}

.page-header .faq-category-btn {
    border: none;
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(109, 40, 217, 0.1);
    backdrop-filter: blur(5px);
}

.page-header .faq-category-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.1);
}

.page-header .faq-category-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Services Detail Page */
.services-detail {
    padding: 80px 0;
    background-color: var(--white);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse .service-content {
    direction: ltr;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.service-content h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.service-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.service-content ul li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.service-content .service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-content .btn {
    margin-top: 20px;
}

/* How It Works Page - Timeline */
.process-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.process-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 3px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 100px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 1;
}

.timeline-content {
    padding: 30px;
}

.timeline-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.timeline-details {
    margin-top: 20px;
}

.timeline-details h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.timeline-details ul, 
.timeline-details ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.timeline-details li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f7ff 100%);
}

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

.faq-item {
    padding: 30px;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a6bff 0%, #34d399 100%);
    color: var(--white);
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-content .btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Legal Page Styles */
.legal-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.legal-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
}

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

.legal-item {
    padding: 30px;
    margin-bottom: 30px;
}

.legal-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.legal-item h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.legal-item h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--text-color);
}

.legal-item ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.legal-item ul li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.legal-faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f7ff 100%);
}

.compliance-certifications {
    padding: 80px 0;
    background-color: var(--white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certification-item {
    padding: 30px;
    text-align: center;
}

.certification-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.certification-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Health Profile Form Section */
.health-profile-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #f9f9ff 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.privacy-consent {
    margin-top: 30px;
}

.privacy-consent label {
    display: flex;
    align-items: flex-start;
}

.privacy-consent input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

#form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
}

#form-status .loading {
    color: var(--primary-color);
}

#form-status .success {
    color: #28a745;
}

#form-status .error {
    color: #dc3545;
}

.form-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Technology Section */
.technology-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.1) 0%, rgba(233, 213, 255, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.technology-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.1) 0%, rgba(109, 40, 217, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.technology-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.15) 0%, rgba(192, 132, 252, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.technology-card {
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--glass-border-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(109, 40, 217, 0.08);
    backdrop-filter: blur(var(--glass-blur));
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.technology-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, rgba(192, 132, 252, 0) 70%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.technology-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(109, 40, 217, 0.12);
    border-color: rgba(192, 132, 252, 0.3);
}

.technology-card:hover::before {
    opacity: 1;
}

.technology-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(109, 40, 217, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.technology-card:hover .technology-icon {
    background: rgba(109, 40, 217, 0.15);
    transform: scale(1.1);
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 5px 15px rgba(109, 40, 217, 0.15);
    color: var(--primary-dark);
}

.technology-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

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

.technology-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.technology-card:hover h3::after {
    width: 70%;
}

.technology-card p {
    color: var(--text-light);
    transition: all 0.3s ease;
    line-height: 1.6;
}

.technology-card:hover p {
    color: var(--text-color);
}

/* Responsive Styles */
/* Added responsive adjustments for larger screens */
@media (min-width: 1600px) {
    .hero {
        min-height: 900px;
    }
    
    .hero-main-card {
        height: 500px;
        max-width: 750px;
    }
    
    .hero-content h1 {
        font-size: 5rem;
    }
    
    .hero .container {
        max-width: 1600px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 120px;
        min-height: auto;
        height: auto;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-content {
        margin-bottom: 40px;
        max-width: 100%;
        padding-right: 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
        margin: 0 auto 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
        justify-content: center;
    }
    
    .hero-card-stack {
        margin-top: 40px;
    }
    
    .hero-main-card {
        height: 350px;
        max-width: 100%;
    }

    .contact-info .section-header {
        text-align: center;
    }

    .contact-info .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Services Page Responsive */
    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-item.reverse {
        direction: ltr;
    }
    
    .service-image {
        order: 1;
    }
    
    .service-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Dropdown Styles */
    .has-dropdown {
        position: relative;
    }
    
    .has-dropdown > a {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .has-dropdown > a:after {
        content: ' \25bc';
        margin-left: 5px;
        font-size: 0.7em;
    }
    
    .dropdown-open > a:after {
        content: ' \25b2';
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        height: 0;
        overflow: hidden;
        box-shadow: none;
        transform: none;
        padding: 0;
        margin-top: 0;
        background: rgba(var(--primary-rgb), 0.05);
        transition: all 0.3s ease;
    }
    
    .dropdown-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        height: auto;
        padding: 10px 0;
    }
    
    .dropdown-menu li {
        margin: 5px 0;
    }
    
    .dropdown-menu a {
        padding: 8px 15px;
    }

    .cta-buttons {
        display: none;
    }

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

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    /* Page Header Responsive */
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .page-header h1::after {
        width: 60px;
    }
    
    .legal-tabs,
    .page-header .faq-categories {
        margin-top: 30px;
        gap: 8px;
    }
    
    .legal-tab,
    .page-header .faq-category-btn {
        padding: 7px 15px;
        font-size: 0.9rem;
    }
    
    /* Timeline Responsive */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* FAQ Responsive */
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 30px;
    }

    .newsletter-form .btn {
        margin-top: 10px;
    }
    
    /* Page Header Responsive */
    .page-header {
        padding: 100px 0 40px;
        margin-bottom: 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.95rem;
        margin-top: 20px;
    }
    
    .page-header h1::after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }
    
    .legal-tabs,
    .page-header .faq-categories {
        margin-top: 25px;
        gap: 5px;
    }
    
    .legal-tab,
    .page-header .faq-category-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    /* Services Content Responsive */
    .service-content h2 {
        font-size: 1.6rem;
    }
    
    /* Timeline Responsive */
    .timeline-content h2 {
        font-size: 1.5rem;
    }
    
    /* CTA Section Responsive */
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Trust Logos Section */
.trust-logos {
    padding: 50px 0;
    background-color: rgba(255, 255, 255, 0.7);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-width: 200px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    max-width: 180px;
    max-height: 60px;
    object-fit: contain;
    border-radius: 0;
}

.logo-text {
    text-align: center;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.logo-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* HTML-based logos */
.html-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 180px;
}

.html-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.html-logo small {
    font-size: 0.8rem;
    color: var(--text-light);
}

.racchabanda-logo span {
    color: #6d28d9;
}

.aidos-logo span {
    color: #4c1d95;
}

@media (max-width: 768px) {
    .logo-container {
        gap: 20px;
    }
    
    .partner-logo {
        padding: 10px 15px;
    }
    
    .partner-logo img {
        max-width: 150px;
        max-height: 50px;
    }
}
