/* Custom Variables */
:root {
    --teal: #20c9a6;
    --teal-dark: #1aa58c;
    --navy: #1a365d;
    --navy-light: #2c5282;
    --gray: #6c757d;
    --light: #f8f9fa;
    --dark: #212529;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

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

.btn-teal:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(32, 201, 166, 0.3);
}

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

.btn-outline-navy:hover {
    background-color: var(--navy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: white !important;
}

.navbar-logo {
    height: 110px;
    width: auto;
}

.navbar-brand .text-teal {
    color: var(--teal);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

/* Hero Section */
/* Hero / Video */
.hero {
    position: relative;
    min-height: 70vh;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

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

/* When using image carousel as hero */
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel .hero-img {
    height: 70vh;
}

.hero-carousel .hero-img {
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 16, 32, 0.75) 0%, rgba(5, 16, 32, 0.35) 50%, rgba(5, 16, 32, 0.1) 100%);
    z-index: 1;
}

.hero-video-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #e9ecef;
    margin-bottom: 2rem;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(32, 201, 166, 0.1);
    border-radius: 50%;
}

/* Steps */
.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal);
}

/* Cards */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Background Colors */
.bg-teal {
    background-color: var(--teal) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

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

/* Text Colors */
.text-teal {
    color: var(--teal) !important;
}

.text-navy {
    color: var(--navy) !important;
}

/* Contact Icons */
.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(32, 201, 166, 0.1);
    border-radius: 50%;
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: var(--navy);
    color: white;
}

footer a {
    color: var(--teal);
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-video-wrapper {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        text-align: center;
    }

    .hero-video-wrapper {
        height: 55vh;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .step {
        margin-bottom: 2rem;
    }
    
    .step:last-child {
        margin-bottom: 0;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}
