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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f9ff;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0077b6;
}

a {
    text-decoration: none;
    color: #0077b6;
    transition: color 0.3s ease;
}

a:hover {
    color: #00b4d8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section shared heading styles */
.section-subtitle {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    max-width: 650px;
    margin: -1.5rem auto 3rem;
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
    display: inline-block;
    background-color: #0077b6;
    color: white;
    padding: 13px 28px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #0077b6;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #023e8a;
    border-color: #023e8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 119, 182, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 12px;
}

.btn-outline:hover {
    background-color: white;
    color: #0077b6;
    border-color: white;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

/* =============================================================
   Header
   ============================================================= */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

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

.logo-text {
    color: #0077b6;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.logo-text i {
    color: #00b4d8;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

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

nav ul li a {
    color: #023e8a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00b4d8;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #0077b6;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #0077b6;
    padding: 4px;
}

/* =============================================================
   Hero Section
   ============================================================= */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(0, 55, 109, 0.75) 0%, rgba(0, 180, 216, 0.55) 100%),
        url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 68px;
    padding: 60px 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    color: white;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

/* =============================================================
   About Section
   ============================================================= */
.about {
    padding: 90px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.4rem;
}

.about-text p {
    color: #555;
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.15);
    width: 100%;
    object-fit: cover;
}

/* About values row */
.about-values {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f0f9ff;
    padding: 12px 20px;
    border-radius: 30px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: #0077b6;
    font-size: 0.95rem;
}

.value-item i {
    color: #00b4d8;
    font-size: 1.1rem;
}

/* =============================================================
   Services Section
   ============================================================= */
.services {
    padding: 90px 0;
    background-color: #f0f9ff;
}

.services h2 {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background-color: white;
    padding: 36px 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 119, 182, 0.18);
    border-top-color: #00b4d8;
}

.service-card i {
    font-size: 3rem;
    color: #0077b6;
    margin-bottom: 20px;
    background-color: #f0f9ff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover i {
    background-color: #0077b6;
    color: white;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #023e8a;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* =============================================================
   Testimonials Section
   ============================================================= */
.testimonials {
    padding: 90px 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background-color: #f0f9ff;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.07);
    position: relative;
    border-left: 4px solid #90e0ef;
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 28px rgba(0, 119, 182, 0.14);
}

.testimonial-card::before {
    content: "\201C";
    font-size: 6rem;
    position: absolute;
    top: -10px;
    left: 16px;
    color: #00b4d8;
    opacity: 0.18;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.stars {
    color: #f9a825;
    font-size: 1rem;
    margin-bottom: 14px;
    display: flex;
    gap: 3px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

.testimonial-author h4 {
    color: #0077b6;
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: #888;
}

/* =============================================================
   Location Section
   ============================================================= */
.location {
    padding: 90px 0;
    background-color: #f0f9ff;
}

.location h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.15);
}

.location-map iframe {
    display: block;
    border-radius: 12px;
}

.location-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.location-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #555;
    font-size: 0.95rem;
}

.location-info p i {
    color: #0077b6;
    width: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.location-info p a {
    color: #555;
}

.location-info p a:hover {
    color: #0077b6;
}

.social-media {
    margin-top: 28px;
}

.social-media h4 {
    font-size: 1rem;
    margin-bottom: 14px;
    color: #023e8a;
}

.social-media a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    background-color: #0077b6;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-media a:hover {
    background-color: #00b4d8;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.4);
}

/* =============================================================
   Contact Section
   ============================================================= */
.contact {
    padding: 90px 0;
    background-color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background-color: #f0f9ff;
    padding: 36px 30px;
    border-radius: 12px;
}

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

.contact-info > p {
    color: #555;
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item i {
    color: #0077b6;
    width: 20px;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item p {
    color: #555;
    font-size: 0.95rem;
}

.contact-item p a {
    color: #555;
}

.contact-item p a:hover {
    color: #0077b6;
}

.contact-form {
    background-color: white;
    padding: 36px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 119, 182, 0.1);
}

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

.form-group label {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #023e8a;
    margin-bottom: 6px;
}

.form-group label span {
    color: #e63946;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #caf0f8;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #333;
    background-color: #f8fdff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0077b6;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
    background-color: white;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230077b6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =============================================================
   Footer
   ============================================================= */
footer {
    background: linear-gradient(135deg, #023e8a 0%, #0077b6 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo h2 i {
    color: #90e0ef;
}

.footer-logo p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background-color: #00b4d8;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: #90e0ef;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-contact p i {
    color: #90e0ef;
    width: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-contact p a:hover {
    color: #90e0ef;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 6px;
}

.security-indicator {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #90e0ef;
}

/* =============================================================
   Responsive Design — Tablet (max-width: 992px)
   ============================================================= */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image img {
        max-height: 380px;
        width: 100%;
        object-fit: cover;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }
}

/* =============================================================
   Responsive Design — Mobile (max-width: 768px)
   ============================================================= */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 68px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 119, 182, 0.1);
        padding: 20px 0;
        z-index: 999;
        gap: 0;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
    }

    nav ul li a::after {
        display: none;
    }

    .hero {
        background-attachment: scroll;
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 12px;
        display: block;
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }

    .services h2,
    .testimonials h2,
    .contact h2,
    .location h2 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

/* =============================================================
   Responsive Design — Small Mobile (max-width: 576px)
   ============================================================= */
@media screen and (max-width: 576px) {
    .container {
        width: 95%;
    }

    .hero {
        margin-top: 60px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 11px 22px;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        flex-direction: column;
        gap: 10px;
    }

    .value-item {
        justify-content: center;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* =============================================================
   Accessibility — Reduced Motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero {
        background-attachment: scroll;
    }
}

/* =============================================================
   Accessibility — High Contrast Mode
   ============================================================= */
@media (prefers-contrast: high) {
    body {
        background-color: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }

    .btn {
        border: 2px solid #000;
    }

    .service-card,
    .testimonial-card {
        border: 1px solid #000;
    }
}

/* =============================================================
   Accessibility — Skip Link & Visually Hidden
   ============================================================= */
.skip-link {
    position: absolute;
    top: -48px;
    left: 0;
    background: #023e8a;
    color: white;
    padding: 10px 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    border-radius: 0 0 6px 0;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================================
   Focus Styles — Keyboard Navigation
   ============================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #00b4d8;
    outline-offset: 3px;
    border-radius: 3px;
}
