/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #1e3a8a;
    color: white;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: scale(1.05);
}

.btn-outline {
    border: 1px solid #1e3a8a;
    color: #1e3a8a;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #eff6ff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Top Bar */
.top-bar {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.contact-info,
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3a8a;
}

.social-links i {
    color: #1e3a8a;
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-links i:hover {
    color: #1e40af;
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
        padding: 0.5rem 0;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .social-links {
        display: inline;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
    }

    .social-links i {
        font-size: 1.25rem;
    }
}


/* Header */
.header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    background-color: #1e3a8a;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-quarter {
    color: #3b82f6;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3a8a;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: hidden;
    z-index: -1;
}

/* Multiple images stacked absolutely and fading with animation */

.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlide 15s infinite;
}

/* Delay each image animation so they fade in/out one by one */
.hero-background img:nth-child(1) {
    animation-delay: 0s;
}

.hero-background img:nth-child(2) {
    animation-delay: 5s;
}

.hero-background img:nth-child(3) {
    animation-delay: 10s;
}

/* Fade in and fade out animation */
@keyframes fadeSlide {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    35% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
}

.text-content {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-image img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: white;
    margin-top: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    background-color: #dbeafe;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background-color 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: #bfdbfe;
}

.feature-icon i {
    font-size: 2.5rem;
    color: #1e3a8a;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.feature-text {
    color: #4b5563;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a, #2563eb, #3b82f6);
    /*background: linear-gradient(135deg, #007bff, #00bcd4, #20c997);*/
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' ...");
    opacity: 0.2;
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

.cta-title {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.125rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #1e3a8a;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #bfdbfe;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: #bfdbfe;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social i {
    color: #bfdbfe;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1.5rem;
}

.footer-social i:hover {
    color: white;
}

.footer-copyright p {
    color: #9ca3af;
    margin-top: 1rem;
    font-size: 0.875rem;
}


/* Responsive */
@media (max-width: 768px) {

    .nav,
    .header-buttons .btn-outline {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

  

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-text {
        font-size: clamp(1rem, 4vw, 1.125rem);
    }

    .btn-large {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-text {
        font-size: clamp(0.875rem, 4vw, 1rem);
    }
}