/* --- VARIABLES --- */
:root {
    /* Color Palette: Calming Blues & Professional Teals */
    --primary: #0f5e68;
    --primary-dark: #0b3c44;
    --primary-light: #e0f2f4;
    --secondary: #2563eb;
    --accent: #15a3b5;

    --text-main: #1e293b;
    --text-muted: #475569;
    --text-light: #94a3b8;

    --bg-body: #f8fafb;
    --bg-surface: #ffffff;
    --bg-light-blue: #f0f7f9;

    --warning: #f59e0b;
    /* For stars */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 94, 104, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 94, 104, 0.1), 0 2px 4px -1px rgba(15, 94, 104, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 94, 104, 0.1), 0 4px 6px -2px rgba(15, 94, 104, 0.05);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- LAYOUT UTILS --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

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

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

/* --- COMPONENTS --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(15, 94, 104, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 94, 104, 0.23);
    color: white;
}

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

.btn-secondary:hover {
    background-color: #c9e5e9;
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: var(--bg-surface);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.lgbtq-badge {
    background: linear-gradient(to right, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1), rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lgbtq-badge i {
    color: #eab308;
    background: -webkit-linear-gradient(45deg, #ef4444, #f59e0b, #10b981, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards */
.card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(15, 94, 104, 0.05);
    height: 100%;
}

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

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.shadow-main {
    box-shadow: var(--shadow-lg);
}

/* --- HEADER & NAVIGATION --- */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar i {
    color: var(--accent);
    margin-right: 0.25rem;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo-mark {
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(15, 94, 104, 0.2);
}

.logo-text h1 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin: 0;
}

.logo-light .logo-text h1,
.logo-light .logo-text p {
    color: white;
}

.logo-light .logo-mark {
    background-color: white;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-light-blue) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin: 1.5rem 0;
    line-height: 1.1;
    color: var(--text-main);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    gap: 2rem;
    background-color: var(--bg-surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 94, 104, 0.08);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trust-item.location {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 2rem;
}

.stars {
    color: var(--warning);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

.trust-item span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-backdrop {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background-color: var(--primary);
    opacity: 0.1;
    z-index: -1;
}

.hero-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 500px;
    object-position: top;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-text strong {
    display: block;
    font-size: 0.875rem;
    color: var(--primary-dark);
}

.floating-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- BIO SECTION --- */
.bio-section {
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.bio-inner {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 3rem 4rem;
    border: 1px solid rgba(15, 94, 104, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.bio-text {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.bio-text:last-child {
    margin-bottom: 0;
}

.text-primary {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* --- SERVICES --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image-wrapper {
    overflow: hidden;
    width: 100%;
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.5s ease;
}

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

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.service-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--accent);
}

/* --- INFRASTRUCTURE --- */
.infrastructure-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.infrastructure-image {
    position: relative;
}

.rounded-image {
    border-radius: var(--radius-lg);
    width: 100%;
}

.image-overlay-box {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.image-overlay-box i {
    color: var(--accent);
    font-size: 1.5rem;
}

.feature-list {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-body);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.feature-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: var(--bg-light-blue);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    position: relative;
    padding: 2.5rem;
    z-index: 1;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3rem;
    color: rgba(15, 94, 104, 0.05);
    z-index: -1;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.author-info strong {
    display: block;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --- CTA SECTION --- */
.cta-section {
    padding-top: 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.cta-inner {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.cta-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding-top: 5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0 2rem;
    max-width: 400px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-item span {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.contact-item strong {
    display: block;
    font-size: 1.125rem;
}

.footer-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    background-color: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-inner {
        padding-top: 2rem;
    }

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

    .trust-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-item.location {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 1rem;
    }
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infrastructure-inner,
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .image-overlay-box {
        right: 1rem;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links,
    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

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

    .service-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}