/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    z-index: 2000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #1a365d;
    border-radius: 4px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.logo img {
    display: block;
    width: 150px;
    max-width: 40vw;
    height: auto;
}

:focus-visible {
    outline: 3px solid #2c5282;
    outline-offset: 3px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #1a365d;
}

.section-subtitle {
    text-align: center;
    color: #4a5568;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: #161f93;
    color: white;
}

.btn-primary:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #2d3748;
}

.btn-secondary:hover {
    background-color: #cbd5e0;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #161f93;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    padding: 10px 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #161f93;
}

.nav-link.active {
    color: #161f93;
    font-weight: 600;
}

.nav-link.cta-button {
    background-color: #161f93;
    color: white;
    border-radius: 4px;
    margin-left: 10px;
}

.nav-link.cta-button:hover {
    background-color: #2c5282;
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4a5568;
    cursor: pointer;
}

.about-portrait {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin-inline: auto;
    border-radius: 50%;
}

.form-privacy-note {
    margin-bottom: 1rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.form-honeypot {
    display: none !important;
}

.giveaway-section {
    padding: 5rem 0;
    background: #edf2f7;
}

.giveaway-card {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(26 54 93 / 8%);
}

.giveaway-eyebrow {
    margin-bottom: 0.5rem;
    color: #2c5282;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.giveaway-card h2 {
    margin-bottom: 0.75rem;
    color: #1a365d;
}

.giveaway-description,
.giveaway-privacy-note {
    color: #4a5568;
}

.giveaway-email-field {
    margin: 1.5rem 0 1rem;
}

.giveaway-email-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 600;
}

.giveaway-email-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font: inherit;
}

.giveaway-email-field input:focus-visible,
.giveaway-consent input:focus-visible {
    outline: 3px solid #2c5282;
    outline-offset: 2px;
}

.giveaway-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 1rem 0;
}

.giveaway-consent input {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    accent-color: #1a365d;
}

.giveaway-consent label {
    color: #2d3748;
    line-height: 1.5;
}

.giveaway-privacy-note {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.turnstile-widget {
    min-height: 65px;
    margin: 1rem 0;
}

.giveaway-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    width: min(92vw, 600px);
    max-width: none;
    max-height: min(90vh, 48rem);
    margin: 0;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 12px;
    color: #2d3748;
    box-shadow: 0 24px 70px rgb(15 23 42 / 30%);
    transform: translate(-50%, -50%);
}

.giveaway-dialog::backdrop {
    background: rgb(15 23 42 / 62%);
    backdrop-filter: blur(3px);
}

.giveaway-dialog-content {
    position: relative;
    padding: clamp(1.5rem, 5vw, 2.5rem);
}

.giveaway-dialog-content h2 {
    max-width: 24ch;
    padding-right: 1.5rem;
    color: #1a365d;
    font-size: clamp(1.6rem, 4vw, 2rem);
    line-height: 1.2;
}

.giveaway-dialog-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #edf2f7;
    color: #1a365d;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.giveaway-dialog-close:hover {
    background: #e2e8f0;
}

.giveaway-dialog-close:focus-visible {
    outline: 3px solid #2c5282;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-title {
    font-size: 3rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.image-placeholder {
    border-radius: 8px;
}

.image-placeholder.small {
    padding: 30px 10px;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #161f93;
    margin-bottom: 20px;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background-color: #f7fafc;
}

.trust-statement {
    text-align: center;
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 50px;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-item i {
    font-size: 2.5rem;
    color: #161f93;
    margin-bottom: 20px;
}

.testimonial {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.testimonial-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.testimonial-content i.fa-quote-left {
    font-size: 2rem;
    color: #161f93;
    margin-bottom: 20px;
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author strong {
    display: block;
    color: #1a365d;
}

.testimonial-author span {
    color: #718096;
    font-size: 0.9rem;
}

.testimonial-image {
    flex: 1;
    min-width: 300px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: #161f93;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background-color: white;
    color: #161f93;
}

.cta .btn-primary:hover {
    background-color: #f7fafc;
    color: #2c5282;
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-col i {
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Additional styles for services, about, and contact pages */

/* Services Detail */
.services-detail {
    padding: 80px 0;
}

.service-detail-card {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.service-detail-card.reverse {
    flex-direction: row-reverse;
}

.service-detail-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.service-detail-card.reverse .service-detail-content {
    padding-right: 0;
    padding-left: 40px;
}

.service-detail-image {
    flex: 1;
    min-width: 300px;
}

.service-detail-content h2 {
    color: #1a365d;
    margin-bottom: 20px;
}

.service-detail-content h3 {
    color: #2d3748;
    margin-top: 20px;
    margin-bottom: 15px;
}

.service-detail-content ul {
    list-style-position: inside;
    margin-bottom: 20px;
}

.service-detail-content li {
    margin-bottom: 8px;
    color: #4a5568;
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-story h2 {
    color: #1a365d;
    margin-bottom: 20px;
}

.about-story p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-statement {
    background-color: #f7fafc;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    border-left: 4px solid #161f93;
}

.mission-statement h3 {
    color: #1a365d;
    margin-bottom: 15px;
}

.values {
    margin-top: 60px;
}

.values h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #1a365d;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: #161f93;
    margin-bottom: 20px;
}

.value-item h4 {
    color: #2d3748;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-main {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.contact-form-container h2,
.contact-info-container h2 {
    color: #1a365d;
    margin-bottom: 15px;
}

.contact-form-container p,
.contact-info-container p {
    margin-bottom: 30px;
    color: #4a5568;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #161f93;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid #2c5282;
    outline-offset: 2px;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method i {
    font-size: 2rem;
    color: #161f93;
    margin-bottom: 15px;
}

.contact-method h3 {
    color: #2d3748;
    margin-bottom: 10px;
}

.map-placeholder {
    margin-top: 40px;
}

.map-placeholder h3 {
    color: #1a365d;
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #161f93;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-1rem);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
        transition-delay: 0s;
    }
    
    .nav-link {
        padding: 15px;
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .testimonial {
        flex-direction: column;
    }
    
    .testimonial-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .service-detail-content,
    .service-detail-card.reverse .service-detail-content {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 30px;
    }
    
    .contact-wrapper {
        gap: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
