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

:root {
    --primary: #002b49;
    --secondary: #0056a6;
    --accent: #0077cc;
    --light: #f5f9ff;
    --dark: #001a2c;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 5px 20px rgba(0, 43, 73, 0.1);
    --transition: all 0.3s ease;
    --font-primary: 'Montserrat', sans-serif;
    --card-bg: #fff;
    --card-border-radius: 15px;
    --card-padding: 30px;
    --card-shadow: 0 10px 30px rgba(0, 43, 73, 0.08);
    --card-shadow-hover: 0 20px 40px rgba(0, 43, 73, 0.15);
    --card-transition: all 0.3s ease;
}

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

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

section {
    padding: 80px 0;
    position: relative;
}

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

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

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

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

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

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 43, 73, 0.2);
}

.btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 43, 73, 0.3);
}

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

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

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

.section-subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
    color: var(--dark);
}

.loading-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite ease-in-out;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid black;
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s infinite linear;
    margin: 0 auto 20px;
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 20px;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 20px auto;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    width: 0;
    background: var(--white);
    border-radius: 4px;
    transition: width 4s ease;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header/Navbar Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 43, 73, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(0, 43, 73, 0.15);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    /* margin-right: 10px; Adjusted in mobile view (original comment) */
}

.logo img {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
}

/* Original mobile logo sizes from user's first CSS are modified in media queries below */

nav#main-nav { /* Desktop: Navigation links container */
    flex: 1;
    display: flex;
    justify-content: center;
}

nav#main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: all 0.3s ease;
}

.nav-link:hover:before,
.nav-link.active:before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/* Desktop Contact Info Styles */
.nav-contact {
    display: flex;
    align-items: center;
    gap: 10px; /* Gap between icon and text block */
    flex-shrink: 1; /* Allow shrinking if space is tight */
    min-width: 0; /* For flex shrinking */
}

.nav-contact-icon-desktop {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 43, 73, 0.2);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    min-width: 0; /* For flex shrinking of text */
}

.contact-info-label-desktop {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.contact-email-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap; /* Prevent email from wrapping on desktop */
}
.contact-email-link:hover {
    color: var(--accent);
}


.nav-cta { /* Desktop "Send Agreement" button */
    margin-left: 15px;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
    margin-left: 10px; /* Default margin, adjusted in smaller breakpoints */
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section with YouTube Video Background */
.hero {
    height: 100vh;
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    background-color: transparent !important;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: none;
}

.youtube-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.youtube-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    /* object-fit: cover; <-- REMOVED as it's not applicable for iframes */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 43, 73, 0.7), rgba(0, 43, 73, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: normal;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    margin: 10px;
    min-width: 180px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInDown 1.2s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease 0.3s;
    animation-fill-mode: both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


/* Mobile-only Send Agreement button (in hero section) */
.mobile-send-agreement {
    display: none; /* Hidden by default, shown in mobile media query */
}


/* Tracking Section */
.tracking {
    background-color: var(--white);
    padding: 60px 0;
    box-shadow: 0 10px 30px rgba(0, 43, 73, 0.1);
    border-radius: 20px;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.tracking-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.tracking h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 700;
}

.tracking-form {
    display: flex;
    max-width: 700px;
    margin: 0 auto 40px;
    box-shadow: 0 5px 20px rgba(0, 43, 73, 0.1);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
}

.tracking-form:hover {
    box-shadow: 0 10px 30px rgba(0, 43, 73, 0.15);
    transform: translateY(-3px);
}

.tracking-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 16px;
    outline: none;
    font-family: var(--font-primary);
}

.tracking-form button {
    padding: 0 35px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tracking-form button:hover {
    background: var(--accent);
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.partners-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 40px auto 0;
}

.partners-slider {
    display: flex;
    animation: partnersScroll 30s linear infinite;
}

.partner-logo {
    flex: 0 0 auto;
    margin: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.partner-logo img {
    max-height: 80px;
    width: auto;
    filter: grayscale(0);
    opacity: 1;
    transition: var(--transition);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

@keyframes partnersScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 3)); /* Adjust based on number and width of logos */
    }
}

.partners-title {
    text-align: center;
    margin-bottom: 40px;
}

.partners-title p {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-title h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Services Section */
.services {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.services:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(0, 119, 204, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.services:after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(0, 119, 204, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title .subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}


.decorative-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.decorative-line.center {
    margin: 0 auto 20px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.platform-info {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
}

.platform-content {
    flex: 1;
}

.platform-image {
    flex: 1;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    position: relative;
}

.platform-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.platform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.image-badge {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: none;
}

.image-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

.image-badge span {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    white-space: nowrap;
}

.safety-badge {
    top: 20px;
    right: 20px;
}

.protection-badge {
    bottom: 20px;
    left: 20px;
}

.image-badge:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}


.service-list {
    margin-top: 40px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: var(--card-bg);
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    overflow: hidden;
    position: relative;
}

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

.service-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: var(--card-border-radius) 0 0 var(--card-border-radius);
}

.service-icon {
    margin-right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 43, 73, 0.2);
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(0, 43, 73, 0.3);
}

.service-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--primary);
}

.service-content p {
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* Fee Section */
.fee-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.fee-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 119, 204, 0.1) 0%, rgba(0, 43, 73, 0.1) 100%);
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.fee-section:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 119, 204, 0.1) 0%, rgba(0, 43, 73, 0.1) 100%);
    border-radius: 0 100% 0 0;
    z-index: 0;
}

.fee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.fee-content.reversed {
    flex-direction: row-reverse;
}

.fee-text {
    flex: 1.5;
}

.fee-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.fee-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 43, 73, 0.2);
}

.fee-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary);
}

.fee-content-text {
    margin-bottom: 30px;
}

.fee-content-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.fee-content-text p:last-child {
    margin-bottom: 0;
}

.fee-content-text strong {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.15rem;
}

.fee-content-text .highlight {
    color: var(--accent);
    font-weight: 700;
    font-style: italic;
}

.fee-features {
    margin-bottom: 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--primary);
}

.feature-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.fee-image {
    flex: 1;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--card-transition);
    max-height: 500px;
}

.fee-image.enlarged {
    flex: 1.5;
    max-height: 600px;
}

.fee-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.fee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.fee-badges {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 43, 73, 0.9), transparent);
    padding: 30px 20px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.fee-badge {
    display: flex;
    align-items: center;
    color: var(--white);
    gap: 10px;
}

.fee-badge i {
    font-size: 1.2rem;
}

.fee-badge span {
    font-weight: 500;
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.payment-methods.improved-alignment {
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.payment-method {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
}

.payment-method:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.payment-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
}

.payment-method span {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.cta-container {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.cta-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-info i {
    color: var(--accent);
    font-size: 1.2rem;
}

.cta-info p {
    margin: 0;
    font-weight: 500;
    color: var(--text-light);
}

/* Stats Container */
.fee-stats-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

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

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 43, 73, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

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

/* Offerings Section */
.offerings {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.offerings:before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(0, 119, 204, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.offering-card {
    background: var(--white);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.offering-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 43, 73, 0.2);
    transition: var(--transition);
}

.offering-card:hover .offering-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(0, 43, 73, 0.3);
}

.offering-image {
    height: 200px;
    overflow: hidden;
    width: 100%;
}

.offering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.offering-card:hover .offering-image img {
    transform: scale(1.1);
}

.offering-content {
    padding: 25px;
    border-top: 5px solid var(--accent);
    background: var(--white);
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.offering-content h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary);
}

.offering-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(0, 119, 204, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    display: flex;
    gap: 30px;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    position: relative;
    overflow: hidden;
}

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

.testimonial-card:before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: rgba(0, 119, 204, 0.1);
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-rating {
    margin-bottom: 15px;
    display: flex;
    gap: 5px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.8;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
}

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

.author-image i {
    font-size: 1.8rem;
    color: var(--primary);
}

.author-info h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.author-info p {
    margin: 5px 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: normal;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.prev-btn,
.next-btn {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    color: var(--primary);
    font-size: 1.2rem;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 43, 73, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('footer-bg.jpg') center center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 25px;
    border-radius: 0;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

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

.footer-heading {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.footer-links ul li a i {
    margin-right: 10px;
    font-size: 14px;
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 43, 73, 0.3);
    transition: var(--transition);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 43, 73, 0.4);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .platform-info,
    .fee-content {
        gap: 40px;
    }

    .offerings-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 10px 0; /* Navbar padding */
    }

    .logo {
        margin-right: 0; /* Let space-between handle it */
    }
    .logo img {
        height: 40px; /* MODIFIED: Logo size for tablet/mobile nav */
    }

    nav#main-nav {
        position: fixed;
        top: 0;
        left: -100%; /* Hidden off-screen */
        width: 80%;
        max-width: 300px; /* Max width for the side nav */
        height: 100vh; /* Full viewport height */
        background-color: var(--white);
        padding: 20px;
        padding-top: 70px; /* Space for header height */
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 999; 
        overflow-y: auto; 
        flex: none; 
        justify-content: flex-start; 
    }

    nav#main-nav.active {
        left: 0; /* Slide in */
    }

    nav#main-nav ul {
        flex-direction: column; /* Stack nav links vertically in panel */
        gap: 15px;
        width: 100%;
    }

    .nav-link {
        padding: 10px 15px;
        display: block;
        font-size: 1rem;
    }
    .nav-link:before {
        left: 15px;
        width: calc(100% - 30px);
        transform: scaleX(0);
        transform-origin: left;
    }
    .nav-link:hover:before,
    .nav-link.active:before {
        transform: scaleX(1);
    }

    /* Styles for .nav-contact on mobile navbar */
    .nav-contact {
        display: flex; 
        align-items: center;
        flex-shrink: 0; 
        gap: 6px; /* MODIFIED: Space between icon and email text */
    }

    .nav-contact-icon-desktop {
        display: flex !important; /* MODIFIED: Show the icon */
        width: 32px;  /* MODIFIED: Adjusted size for mobile */
        height: 32px; /* MODIFIED: Adjusted size for mobile */
        font-size: 0.9rem; /* MODIFIED: Adjusted icon content size */
    }
    
    .contact-info-label-desktop {
        display: none !important; /* MODIFIED: Keep this hidden */
    }
    
    .contact-email-link {
        font-size: 0.85rem; /* MODIFIED: Show actual email, adjust size */
        font-weight: 600; /* MODIFIED: Retain weight */
        color: var(--primary); /* MODIFIED: Make text visible */
        white-space: normal; /* MODIFIED: Allow wrapping */
        word-break: break-all; /* MODIFIED: Crucial for long emails */
        text-decoration: none; 
        padding: 0; 
        line-height: 1.2; /* MODIFIED: Adjust for vertical alignment */
        display: inline-block; 
        vertical-align: middle;
        position: static; 
    }

    .contact-email-link::before {
       display: none; /* MODIFIED: Remove the "Email" text override */
    }


    .mobile-toggle {
        display: flex; /* Show hamburger icon */
        margin-left: 8px; /* MODIFIED: Space between email group and toggle */
    }

    .nav-cta { /* Hide desktop "Send Agreement" button */
        display: none;
    }


    .platform-info,
    .fee-content {
        flex-direction: column;
    }

    .fee-content.reversed {
        flex-direction: column;
    }

    .platform-image,
    .fee-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto 30px auto;
    }

    .platform-content,
    .fee-text {
        width: 100%;
        text-align: center;
    }
    .platform-content .service-list, .fee-text .fee-features, .fee-text .payment-methods {
        text-align: left;
    }
    .fee-features .feature-grid {
        justify-items: center;
    }


    .services,
    .fee-section,
    .offerings,
    .testimonials {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn { 
        width: 100%;
        max-width: 300px;
        margin: 10px 0;
    }

    .mobile-send-agreement { 
        display: inline-flex; 
        align-items: center; 
        justify-content: center; 
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 15px;
    }
    .container {
        padding: 0 15px;
    }
    .navbar {
        padding: 10px 0;
    }

    .logo img { /* Original rule from user's first CSS was height: 55px; */
        height: 38px; /* MODIFIED: Adjusted logo size for smaller tablets/large phones */
    }

    /* MODIFIED FOR YOUTUBE IFRAME ON MOBILE - Cover Effect */
    .youtube-container iframe {
        width: 300%;  /* Make iframe much larger than parent */
        height: 300%; /* Make iframe much larger than parent */
        /* transform: translate(-50%, -50%); is inherited from base and will center it */
    }
    /* END OF MODIFIED FOR YOUTUBE IFRAME */


    .testimonial {
        flex-direction: column;
        padding: 0;
    }

    .testimonial-card {
        margin-bottom: 30px;
        min-width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }
    .testimonial:last-child .testimonial-card:last-child {
        margin-bottom: 0;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .services,
    .fee-section,
    .offerings,
    .testimonials {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    .section-title h2:after {
        width: 60px;
    }


    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-about, .footer-links {
        margin: 0 auto;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links ul li a {
        justify-content: center;
    }


    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 70px;
        padding-bottom: 50px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        margin-top: 30px;
    }
}

@media (max-width: 480px) { /* User's original had @media (max-width: 480px) for .logo img */
    .navbar {
        padding: 8px 0;
    }
    nav#main-nav { 
        padding-top: 60px; 
    }
    .logo img { /* Original rule from user's first CSS was height: 45px; */
        height: 35px; /* MODIFIED: Adjusted logo size for small phones */
    }

    .contact-email-link { /* MODIFIED: Slightly smaller email text for very small screens */
        font-size: 0.8rem; 
    }
    .nav-contact-icon-desktop { /* MODIFIED: Slightly smaller icon */
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .nav-contact {
        gap: 5px; /* MODIFIED: Tighter gap */
    }
    .mobile-toggle {
        margin-left: 5px; /* MODIFIED: Tighter margin */
    }

    .mobile-toggle {
        width: 28px;
        height: 19px;
        /* margin-left: 4px; (from original, now 5px above) */
    }
    .mobile-toggle span { height: 2.5px; }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(8.25px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-8.25px) rotate(-45deg); }


    .service-item,
    .offering-card {
        padding: 20px;
    }
    .offering-content {
        padding: 20px;
    }


    .service-icon,
    .fee-icon,
    .offering-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-content h4,
    .fee-header h3,
    .offering-content h3 {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-title h2:after {
        width: 50px;
    }


    .section-description {
        font-size: 1rem;
    }

    .image-badge,
    .fee-badge {
        padding: 8px 15px;
        gap: 8px;
    }

    .image-badge i,
    .fee-badge i {
        font-size: 1rem;
    }

    .image-badge span,
    .fee-badge span {
        font-size: 0.8rem;
    }
    .fee-badges {
        padding: 20px 15px 15px;
    }


    .payment-methods {
        justify-content: center;
        gap: 10px;
    }
    .payment-method {
        padding: 8px 12px;
    }
    .payment-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    .payment-method span {
        font-size: 0.8rem;
    }

    .tracking-form {
        flex-direction: column;
        border-radius: 15px;
        box-shadow: var(--card-shadow);
    }

    .tracking-form input {
        width: 100%;
        border-radius: 15px 15px 0 0;
        text-align: center;
        padding: 15px 20px;
    }

    .tracking-form button {
        width: 100%;
        padding: 15px;
        border-radius: 0 0 15px 15px;
    }

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

    .stat-card {
        min-width: 100%;
        margin-bottom: 20px;
        padding: 25px 15px;
    }
    .stat-card:last-child {
        margin-bottom: 0;
    }
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.9rem;
    }


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

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 12px 20px;
        min-width: auto;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}

