/* Global Styles */
html, body {
    scroll-behavior: smooth; /* Enable smooth scrolling */
    height: 100%;
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}


header {
    font-size: 2rem;
    color: #004e92;
    margin-bottom: 30px;
    text-align: center;
}


.main-container {
    scroll-snap-type: y mandatory; /* Enables snapping */
    overflow-y: scroll; /*  Makes sections scrollable */
    min-height: 100vh; /* Each section takes full viewport height */
}


section {
    scroll-snap-align: start; /* Align sections at the top of the viewport */
    min-height: 100vh;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9; /* Add distinct section backgrounds */
    border-bottom: 1px solid #ddd; /* Optional: Visual separator */
}


/* Down Arrow Button */
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}


.scroll-down:hover {
    opacity: 1;
}


@media (max-width: 768px) {
    section {
        min-height: 90vh; /* Slightly shorter sections */
    }


    .scroll-down {
        font-size: 1.5rem;
        bottom: 10px;
    }
}


/* Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    background: url('images/hero-banner.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Add this new div inside the hero-banner */
.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-banner.png') no-repeat center center;
    background-size: cover;
    animation: heroAnimation 20s ease-in-out infinite;
    z-index: 0;
}

/* Animation for the background */
@keyframes heroAnimation {
    0% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.05) translate(-1%, 0);
    }
    50% {
        transform: scale(1.1) translate(1%, 0);
    }
    75% {
        transform: scale(1.05) translate(0, 1%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 78, 146, 0.45), rgba(0, 4, 40, 0.65)); /* Semi-transparent gradient overlay */
    z-index: 1;
}

.hero-banner .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}


.hero-banner .logo {
    max-width: 150px;
    margin-bottom: 20px;
    animation: logoRotate 20s linear infinite;
    transform-origin: center;
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}


.hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-banner {
        background-position: 70% center; /* Adjust as needed to focus on important parts */
    }
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}


.cta-buttons .btn {
    padding: 10px 20px;
    color: white;
    background: #0069d9;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}


.cta-buttons .btn:hover {
    background: #004e92;
}

/* Enhanced Services Section Styles */
.services-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.services-section h2 {
    font-size: 2.2rem;
    color: #004e92;
    margin-bottom: 20px;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px; /* Increased gap to prevent overlap */
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: white;
    border-radius: 12px;
    padding: 20px 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Add margin to prevent hover overlap */
    margin-bottom: 10px;
    /* Make sure content doesn't overflow the card */
    overflow: hidden;
    /* Ensure the item maintains its position in the grid flow */
    position: relative;
    z-index: 1;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 2; /* Bring hovered item to front */
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 78, 146, 0.1);
    border-radius: 50%;
}

.service-icon img {
    width: 70px;
    height: 70px;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #0069d9;
    margin-bottom: 15px;
    position: relative;
}

.service-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    color: #0069d9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-right: 22px;
    align-self: flex-start;
}

.service-link:after {
    content: "→";
    position: absolute;
    right: 0;
    transition: transform 0.2s ease;
}

.service-link:hover:after {
    transform: translateX(5px);
}

.services-section .cta {
    margin-top: 70px; /* Increased to provide more space after grid */
    font-size: 1.1rem;
    color: #333;
}

.services-section .cta a {
    color: #0069d9;
    text-decoration: none;
    font-weight: bold;
}

.services-section .cta a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 25px 20px;
    }
    
    .services-section h2 {
        font-size: 1.8rem;
    }
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #f9f9f9, #e0e0e0);
    text-align: center;
}


.why-choose-us-section h2 {
    font-size: 2rem;
    color: #004e92;
    margin-bottom: 30px;
}


.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.why-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.why-item h3 {
    font-size: 1.5rem;
    color: #0069d9;
    margin-bottom: 10px;
}


.why-item p,
.why-item ul {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
}


.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}


.why-choose-us-section .cta {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #333;
}


.why-choose-us-section .cta a {
    color: #0069d9;
    text-decoration: none;
    font-weight: bold;
}


.why-choose-us-section .cta a:hover {
    text-decoration: underline;
}


/* Contact Section */
.contact-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
}


.contact-section h2 {
    font-size: 2rem;
    color: #004e92;
    margin-bottom: 20px;
}


.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}


.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* Prevent overflow and align neatly */
}


.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #0069d9;
}


.contact-form button {
    background: #0069d9;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}


.contact-form button:hover {
    background: #004e92;
}


.contact-section a {
    color: #0069d9;
    text-decoration: none;
}


.contact-section a:hover {
    text-decoration: underline;
}


.container {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #f9f9f9;
}


.container h1 {
    font-size: 2rem;
    color: #004e92;
    margin-bottom: 20px;
}


.container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}


.container .btn {
    padding: 10px 20px;
    color: white;
    background: #0069d9;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}


.container .btn:hover {
    background: #004e92;
}


/* Footer Styles */
.site-footer {
    position: relative;
    background-color: #333;
    color: #f9f9f9;
    padding: 10px 20px;
    text-align: center;
    margin-top: 30px;
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.footer-links {
    margin-bottom: 15px;
}


.footer-links a {
    color: #f9f9f9;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}


.footer-links a:hover {
    color: #0069d9;
    text-decoration: underline;
}


.footer-note {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 10px;
}


/* Pricing Section */
.about-us-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}


.about-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}


.about-us-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #004e92;
    margin-bottom: 30px;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.team-member {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}


.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}


.team-member h3 {
    font-size: 1.5rem;
    color: #004e92;
    margin-bottom: 10px;
}


.team-member p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Solutions & Pricing Page Styles */

/* General Container */
.solutions-container {
    padding: 0;
    background-color: #f9f9f9;
}

/* Section Styles */
.featured-packages-section,
.solutions-tabs-section,
.custom-cta-section {
    padding: 80px 20px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

/* Featured Packages */
.featured-packages-section {
    background-color: #fff;
    text-align: center;
}

.featured-packages-section h2 {
    font-size: 2.2rem;
    color: #004e92;
    margin-bottom: 20px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

.package-card.featured {
    border: 2px solid #0069d9;
    transform: scale(1.02);
    z-index: 1;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.package-card.featured:hover {
    transform: translateY(-5px) scale(1.02);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: #0069d9;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.package-card h3 {
    font-size: 1.6rem;
    color: #004e92;
    margin-bottom: 15px;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0069d9;
    margin-bottom: 20px;
}

.package-desc {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.package-features {
    list-style-type: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.package-features li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.package-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0069d9;
    font-weight: bold;
}

.package-btn {
    background-color: #0069d9;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: auto;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
}

.package-btn:hover {
    background-color: #004e92;
}

/* Tabs Section */
.solutions-tabs-section {
    background-color: #f5f7fa;
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 40px;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #0069d9;
}

.tab-btn.active {
    background: #0069d9;
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
    font-size: 1.8rem;
    color: #004e92;
    margin-bottom: 15px;
}

.tab-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.solution-item {
    padding: 25px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.solution-item h4 {
    font-size: 1.3rem;
    color: #0069d9;
    margin-bottom: 10px;
}

.solution-item .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004e92;
    margin-bottom: 15px;
}

.solution-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Custom CTA Section */
.custom-cta-section {
    background: linear-gradient(135deg, #004e92, #0069d9);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.custom-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.custom-cta-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.custom-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #0069d9;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .tabs {
        flex-direction: column;
        padding: 10px;
    }
    
    .tab-content {
        padding: 25px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}