:root {
    --primary-dark: #0B1C2D;
    --secondary-dark: #102A43;
    --accent-cyan: #1ECBE1;
    --accent-blue: #2F80ED;
    --text-light: #F5F7FA;
    --text-muted: #B0BEC5;
    --font-main: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-light);
    /* font-family: var(--font-main); */
    overflow-x: hidden;
    font-display: swap;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

p {
    color: var(--text-muted);
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilities */
.text-cyan {
    color: var(--accent-cyan) !important;
}

.bg-secondary-dark {
    background-color: var(--secondary-dark) !important;
}

.text-justify {
    text-align: justify;
}

.text-muted {
    color: #cbd5e1 !important;
}

/* Buttons */
.btn-primary-navbar {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

.btn-outline-light {
    border-color: var(--text-light);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

/* Navbar */
.navbar {
    background-color: var(--primary-dark);
    padding: 5px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin-left: 20px;
    font-size: 0.90rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan) !important;
}

/* Hero Section */
.hero-section {
    padding: 90px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(11, 28, 45, 0.85) 0%, rgba(16, 42, 67, 0.95) 100%), url('../images/hero-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-subtitle {
        font-size: 0.8rem !important;
    }
}

/* Sections Common */
.section-padding {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 0px;
    position: relative;
    display: inline-block;
}

/* Cards */
.card-custom {
    background-color: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.card-custom .position-relative img {
    height: 150px !important;
}

@media (max-width: 768px) {
    .card-custom .position-relative img {
        height: 130px !important;
    }
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

/* Form */
.form-control {
    background-color: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px;
}

.form-control:focus {
    background-color: var(--secondary-dark);
    border-color: var(--accent-cyan);
    color: var(--text-light);
    box-shadow: none;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 30px 0 !important;
    }

    .section-padding .col-lg-8 h2 {
        font-size: 1.1rem !important;
    }

    .section-padding .col-lg-8 a {
        font-size: 0.9rem !important;
        padding: 5px 15px !important;
        margin-top: 0px !important;
    }
}


/* Footer */
footer {
    background-color: var(--secondary-dark);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    display: block;
}

.footer-logo span {
    color: var(--accent-cyan);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}

.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-chat:hover {
    transform: scale(1.1);
    color: white;
}

/* New Utilities */
.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.hover-cyan {
    transition: color 0.3s ease;
}

.hover-cyan:hover {
    color: var(--accent-cyan) !important;
}

.hover-white {
    transition: color 0.3s ease;
}

.hover-white:hover {
    color: #fff !important;
}

.status-dot {
    height: 10px;
    width: 10px;
    background-color: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #2ecc71;
}


/* Success Stories Read More */
.story-desc {
    /* Clamping handled by JS now for inline 'Read More' */
    min-height: 3em;
}

.read-more-link {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
}

.read-more-link:hover {
    text-decoration: underline;
    color: #fff;
}

.story-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 203, 225, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 15px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 203, 225, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Gradient Border Wrapper */
.gradient-border-wrapper {
    background: linear-gradient(135deg, #1ECBE1, #0a58ca);
    padding: 1px;
    /* This controls the border thickness */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional shadow */
}

.gradient-border-wrapper img {
    display: block;
    background: #fff;
    border-radius: 50%;
    /* Ensures image is circular */
}