/* ============================================
   AURAVENT HEALTHCARE SOLUTIONS - MAIN STYLES
   Theme: Professional Healthcare - Teal/Navy
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #0d7377;
    --primary-dark: #095456;
    --primary-light: #14a3a8;
    --secondary: #1b2a4a;
    --secondary-light: #2d4373;
    --accent: #32d9cb;
    --accent-glow: rgba(50, 217, 203, 0.3);
    --white: #ffffff;
    --off-white: #f7f9fc;
    --light-gray: #e8edf3;
    --gray: #8896a7;
    --dark-gray: #4a5568;
    --text: #2d3748;
    --text-light: #6b7c93;
    --success: #38a169;
    --danger: #e53e3e;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13, 115, 119, 0.92) 0%, rgba(27, 42, 74, 0.95) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 32px var(--accent-glow);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.3;
    color: var(--secondary);
}

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

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

ul { list-style: none; }

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

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav-logo:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 1px;
    transition: var(--transition);
}

.navbar.scrolled .logo-text strong {
    color: var(--secondary);
}

.logo-text small {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.navbar.scrolled .logo-text small {
    color: var(--gray);
}

/* Navbar Tagline */
.nav-tagline {
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.75;
    margin-top: 2px;
    white-space: nowrap;
    line-height: 1.4;
}

.tagline-dot {
    display: inline-block;
    margin: 0 4px;
    opacity: 0.5;
    font-size: 0.45rem;
    vertical-align: middle;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--text);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(13, 115, 119, 0.08);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--secondary) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
}

.nav-cta:hover {
    background: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.navbar.scrolled .nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.navbar.scrolled .nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--secondary);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    transform: translateY(-3px);
}

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

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

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

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

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(50, 217, 203, 0.15);
    border: 1px solid rgba(50, 217, 203, 0.3);
    border-radius: var(--radius-xl);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 0.7rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 48px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-dot 2s infinite;
}

@keyframes scroll-dot {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* --- Section Styles --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: var(--off-white);
}

.section-dark {
    background: var(--secondary);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.section-dark .section-label {
    color: var(--accent);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

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

.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-image-badge .badge-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.about-image-badge .badge-text strong {
    display: block;
    font-size: 1.4rem;
    color: var(--secondary);
}

.about-image-badge .badge-text span {
    font-size: 0.8rem;
    color: var(--gray);
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.about-feature i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(50, 217, 203, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    margin-bottom: 20px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.service-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 0.7rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Service card number badge (Home page) */
.service-card-number {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.08) 0%, rgba(50, 217, 203, 0.12) 100%);
    border: 1px solid rgba(13, 115, 119, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-card-number {
    background: var(--accent);
    color: var(--secondary);
    border-color: var(--accent);
    transform: scale(1.1);
}

/* Service number badge (Services detail page) */
.service-detail-icon {
    position: relative;
}

.service-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    box-shadow: 0 2px 8px rgba(50, 217, 203, 0.4);
    z-index: 1;
}

/* Consulting sub-section A-D labels */
.sub-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 8px;
    flex-shrink: 0;
    letter-spacing: 0;
}

.consulting-sub:hover .sub-label {
    background: var(--gradient-accent);
    color: var(--secondary);
    transform: scale(1.1);
    transition: var(--transition);
}

/* --- Why Choose Us --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    border-color: rgba(50, 217, 203, 0.3);
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(50, 217, 203, 0.15) 0%, rgba(50, 217, 203, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.15);
    background: var(--accent);
    color: var(--secondary);
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.why-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(50, 217, 203, 0.1);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(50, 217, 203, 0.08);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-banner .btn {
    position: relative;
    z-index: 1;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(50, 217, 203, 0.1) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

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

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

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(13, 115, 119, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(56, 161, 105, 0.1);
    color: var(--success);
    border: 1px solid rgba(56, 161, 105, 0.2);
}

.alert-danger {
    background: rgba(229, 62, 62, 0.1);
    color: var(--danger);
    border: 1px solid rgba(229, 62, 62, 0.2);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.88) 0%, rgba(27, 42, 74, 0.92) 100%);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 600px;
    position: relative;
}

.page-hero .breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 20px;
    font-size: 0.88rem;
    position: relative;
}

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

.page-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Services Detail Page --- */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 40px;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
    align-items: flex-start;
}

.service-detail-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 115, 119, 0.2);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
}

.service-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.service-detail-card > div > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    padding: 8px 0;
}

.service-detail-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.service-summary {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(13, 115, 119, 0.04);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.7;
}

/* Consulting sub-sections */
.consulting-subsections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.consulting-sub {
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.consulting-sub:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.consulting-sub h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.consulting-sub li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.consulting-sub li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

/* --- Testimonial / Trust Section --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trust-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.trust-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.trust-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    color: var(--white);
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.section-light + .footer .footer-wave {
    color: var(--off-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-logo strong {
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-about .footer-desc {
    margin-top: 12px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

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

.footer-social a:hover {
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.85rem;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-4px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .service-detail-list { grid-template-columns: 1fr; }
    .consulting-subsections { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-tagline { display: none; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.8);
        width: 100%;
        padding: 14px 20px;
        border-radius: var(--radius-sm);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .hero-content { padding-top: 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 24px; margin-top: 40px; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-features { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }

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

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

    .cta-banner { padding: 40px 24px; }
    .cta-banner h2 { font-size: 1.6rem; }

    .service-detail-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    .section { padding: 70px 0; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .stat-number { font-size: 2rem; }
}

/* --- Utility animations --- */
/* Fade-in: CSS-only animation, always ends visible */
.fade-in {
    animation: fadeInUp 0.7s ease both;
}

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

/* Stagger service cards */
.service-card.fade-in:nth-child(1) { animation-delay: 0s; }
.service-card.fade-in:nth-child(2) { animation-delay: 0.1s; }
.service-card.fade-in:nth-child(3) { animation-delay: 0.2s; }
.service-card.fade-in:nth-child(4) { animation-delay: 0.3s; }
.service-card.fade-in:nth-child(5) { animation-delay: 0.4s; }
.service-card.fade-in:nth-child(6) { animation-delay: 0.5s; }

/* Stagger service detail cards */
.service-detail-card.fade-in:nth-child(1) { animation-delay: 0s; }
.service-detail-card.fade-in:nth-child(2) { animation-delay: 0.1s; }
.service-detail-card.fade-in:nth-child(3) { animation-delay: 0.15s; }
.service-detail-card.fade-in:nth-child(4) { animation-delay: 0.2s; }
.service-detail-card.fade-in:nth-child(5) { animation-delay: 0.25s; }
.service-detail-card.fade-in:nth-child(6) { animation-delay: 0.3s; }

/* Shimmer effect for service icons */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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