/* Global Styles */
:root {
    --primary-color: #0a1a2f;
    --secondary-color: #1a6e8e;
    --accent-color: #3ca2b8;
    --text-color: #444444;
    --text-secondary: #777777;
    --light-bg: #f7f7f7;
    --white: #ffffff;
    --dark-gray: #555;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --section-bg: #f8f9fa;
    --border-color: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

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

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: -10px;
    left: calc(50% - 25px);
}

.section-title p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 16px;
}

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

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

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

ul {
    list-style: none;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

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

.btn-secondary {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 3px;
    padding: 3px;
    background-color: #0a1a2f; /* Dark blue background to match the logo */
    object-fit: contain;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 0;
}

.tagline {
    font-size: 14px;
    font-style: italic;
    color: #666;
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    width: 100%;
    height: 80vh;
    background-color: var(--white);
    padding-top: 82px;
}

#hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: var(--primary-color);
}

#hero h2 {
    color: var(--text-secondary);
    margin: 10px 0 30px 0;
    font-size: 20px;
    font-weight: 500;
}

#hero .btn-get-started {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 36px;
    border-radius: 50px;
    transition: 0.5s;
    color: var(--white);
    background: var(--secondary-color);
    box-shadow: 0 8px 28px rgba(26, 110, 142, 0.2);
}

#hero .btn-get-started:hover {
    background: var(--accent-color);
    box-shadow: 0 8px 28px rgba(60, 162, 184, 0.45);
}

#hero .btn-watch-video {
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: 0.5s;
    margin: 10px 0 0 25px;
    color: var(--primary-color);
    line-height: 1;
}

#hero .btn-watch-video i {
    color: var(--secondary-color);
    font-size: 32px;
    transition: 0.3s;
    line-height: 0;
    margin-right: 8px;
}

#hero .btn-watch-video:hover {
    color: var(--secondary-color);
}

#hero .btn-watch-video:hover i {
    color: var(--accent-color);
}

#hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}

@media (max-width: 991px) {
    #hero {
        height: 100vh;
        text-align: center;
    }
    
    #hero .animated {
        animation: none;
    }
    
    #hero .hero-img {
        text-align: center;
        margin-top: 50px;
    }
    
    #hero .hero-img img {
        width: 50%;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }
    
    #hero h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }
    
    #hero .hero-img img {
        width: 70%;
    }
}

@media (max-width: 575px) {
    #hero .hero-img img {
        width: 80%;
    }
    
    #hero .btn-get-started {
        font-size: 16px;
        padding: 10px 24px;
    }
}

/* Services Section */
.services {
    padding: 20px 0 80px; /* Reduced top padding to 20px for a more compact layout */
    background-color: var(--light-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.services .icon-box {
    padding: 60px 30px;
    transition: all ease-in-out 0.3s;
    background: var(--white);
    box-shadow: 0 5px 90px 0 rgba(110, 123, 131, 0.1);
    border-radius: 18px;
    border-bottom: 5px solid var(--white);
}

.services .icon-box:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.services .icon-box .icon {
    width: 64px;
    height: 64px;
    background: var(--secondary-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: ease-in-out 0.3s;
    color: var(--white);
}

.services .icon-box .icon i {
    font-size: 28px;
}

.services .icon-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.services .icon-box h4 a {
    color: var(--primary-color);
    transition: ease-in-out 0.3s;
}

.services .icon-box h4 a:hover {
    color: var(--secondary-color);
}

.services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .icon-box:hover .icon {
    background: var(--white);
    border: 2px solid var(--secondary-color);
}

.services .icon-box:hover .icon i {
    color: var(--secondary-color);
}

.btn-learn-more {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    transition: 0.3s;
    line-height: 1;
    color: var(--secondary-color);
    animation-delay: 0.8s;
    margin-top: 6px;
    border: 2px solid var(--secondary-color);
}

.btn-learn-more:hover {
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
}

.center-button {
    text-align: center;
    margin-top: 30px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: #fff;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.feature {
    margin-bottom: 30px;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.lets-help {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--accent-color);
    border-radius: 5px;
}

.lets-help p {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Resources Section */
.resources {
    padding: 80px 0;
    background-color: var(--light-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.resources-column h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.resources-column ul li {
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

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

/* Topbar */
#topbar {
    background: var(--primary-color);
    height: 40px;
    font-size: 14px;
    transition: all 0.5s;
    color: var(--white);
    padding: 0;
}

#topbar .contact-info a {
    line-height: 40px;
    color: var(--white);
    transition: 0.3s;
    margin-left: 6px;
}

#topbar .contact-info a:hover {
    color: var(--accent-color);
}

#topbar .contact-info i {
    color: var(--accent-color);
    padding-right: 4px;
}

#topbar .social-links a {
    color: var(--white);
    padding: 0 8px;
    display: inline-block;
    line-height: 1px;
    transition: 0.3s;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#topbar .social-links a:hover {
    color: var(--accent-color);
}

#topbar .social-links a:first-child {
    border-left: 0;
}

/* Header */
#header {
    background: var(--white);
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
}

#header.fixed-top {
    top: 40px;
}

#header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.8px;
}

#header .logo a {
    color: var(--primary-color);
}

#header .logo img {
    max-height: 40px;
}

#header h1 {
    font-size: 24px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 600;
}

/* Navigation Menu */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a, 
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a i, 
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover, 
.navbar .active, 
.navbar .active:focus, 
.navbar li:hover > a {
    color: var(--secondary-color);
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--white);
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    text-transform: none;
    font-weight: 500;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover, 
.navbar .dropdown ul .active:hover, 
.navbar .dropdown ul li:hover > a {
    color: var(--secondary-color);
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .get-started-btn {
    margin-left: 25px;
    color: var(--white);
    background: var(--secondary-color);
    padding: 8px 25px 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.navbar .get-started-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    color: var(--primary-color);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
}

.footer-social {
    display: flex;
}

.footer-social a {
    color: #fff;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* About Page Styles */
.page-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-header h2 {
    margin: 0;
    font-size: 32px;
}

.about-intro {
    padding: 60px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.team-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    margin: 20px 20px 10px;
}

.member-title {
    color: #666;
    font-style: italic;
    margin: 0 20px 10px;
}

.team-member p:last-child {
    margin: 0 20px 20px;
}

.approach-section, .values-section {
    padding: 60px 0;
}

.approach-section {
    background-color: #fff;
}

.values-section {
    background-color: var(--light-color);
}

.approach-grid, .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-item, .value-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.values-section .value-item {
    background-color: #fff;
}

.approach-item:hover, .value-item:hover {
    transform: translateY(-5px);
}

.approach-icon, .value-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.approach-item h3, .value-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-section {
    background: linear-gradient(rgba(26, 110, 142, 0.9), rgba(26, 110, 142, 0.9));
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
}

.cta-section .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 20px;
        text-align: center;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .btn-primary, .btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}
