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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Color Variables based on logo */
:root {
    --primary-navy: #021c49;
    --primary-blue: #0094d5;
    --secondary-blue: #0078bc;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
}

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-container {
    height: 60px;
}

.logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 148, 213, 0.3);
}

.cta-button:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 148, 213, 0.4);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-blue);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    text-align: left;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title::after {
    background: linear-gradient(90deg, var(--primary-blue), var(--white));
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-method {
    font-size: 1.1rem;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
}

.contact-method a {
    color: var(--white);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-logo {
    height: 80px;
}

.footer-logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-text p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-text p:first-child {
    font-weight: 600;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-navy);
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::before {
    content: '+';
    display: inline-block;
    width: 1.5rem;
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.faq-item[open] .faq-question::before {
    content: '\2212';
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 3rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-blue);
}

.faq-answer a:hover {
    color: var(--secondary-blue);
}

/* About section link */
.about-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.about-link:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* Footer link */
.footer-link {
    color: var(--primary-blue);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Address element reset */
address.contact-methods {
    font-style: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .logo-container {
        height: 50px;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-methods {
        gap: 0.75rem;
    }
    
    .contact-method {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.nav-link:focus,
.cta-button:focus,
.contact-method a:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}