/* Variables */
:root {
    --deep-navy: #0D2553;
    --teal: #0FB0BA;
    --off-white: #E9E8E6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 6px 12px rgba(0, 0, 0, 0.07);
    --border-radius: 12px;
    --border-radius-lg: 16px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--off-white);
    color: var(--deep-navy);
    line-height: 1.6;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* AppBar / Header */
.app-bar {
    background-color: var(--off-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 160px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-navy);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--teal);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--deep-navy);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 64px 24px;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--deep-navy);
}

/* Section Titles */
.section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding: 16px 0;
    margin: 32px 0;
}

/* Services Section */
.services {
    padding: 32px 24px;
}

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

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Card */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: var(--teal);
    stroke-width: 2;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--deep-navy);
    text-align: center;
}

.service-card p {
    font-size: 16px;
    text-align: center;
    color: var(--deep-navy);
    flex-grow: 1;
}

/* Why Section */
.why-section {
    padding: 32px 24px;
    background-color: white;
}

.why-content {
    text-align: center;
}

.why-list {
    list-style: none;
    font-size: 16px;
    line-height: 2;
}

.why-list li {
    padding: 8px 0;
}

/* CTA Section */
.cta-section {
    padding: 48px 24px;
    text-align: center;
}

.divider {
    border: none;
    height: 1px;
    background-color: var(--teal);
    opacity: 0.25;
    margin: 24px 0;
}

.cta-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--deep-navy);
}

/* Buttons */
.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 22px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--deep-navy);
    color: var(--off-white);
}

.btn-primary:hover {
    background-color: #0a1a3d;
    box-shadow: 0 4px 12px rgba(13, 37, 83, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--off-white);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    right: 16px;
    top: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--deep-navy);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    opacity: 1;
}

.modal-content h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.modal-content > p {
    font-size: 16px;
    margin-bottom: 24px;
}

/* Form */
.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--deep-navy);
}

.form-group.checkbox label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    color: var(--deep-navy);
    background-color: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15, 176, 186, 0.1);
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--teal);
}

.form-group button {
    margin-top: 24px;
}

.form-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 24px;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: #22c55e;
    margin: 0 auto 16px;
}

.success-message h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--deep-navy);
    margin-bottom: 12px;
}

.success-message p {
    font-size: 16px;
    color: var(--teal);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
    }

    .logo {
        height: 120px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        gap: 0;
        box-shadow: var(--shadow);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        padding: 16px 24px;
        border-bottom: 1px solid #eee;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .modal-content {
        padding: 20px;
    }

    .services-grid {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo {
        height: 100px;
    }

    .hero {
        padding: 40px 16px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
        margin: 24px 0;
    }

    .cta-text {
        font-size: 18px;
    }

    .modal-content {
        width: 95%;
        padding: 16px;
    }

    .why-list {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* Page-Specific Styles */

/* Logo Link */
.logo-link {
    display: flex;
    align-items: center;
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--deep-navy) 0%, #0a1a3d 100%);
    color: white;
    padding: 80px 24px;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* Services Detail Page */
.services-detail {
    padding: 64px 24px;
}

.service-detail-card {
    display: flex;
    gap: 32px;
    margin-bottom: 64px;
    align-items: flex-start;
}

.service-detail-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.service-detail-icon svg {
    width: 60px;
    height: 60px;
    color: var(--teal);
    stroke-width: 2;
}

.service-detail-content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--deep-navy);
}

.service-detail-content p {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.service-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--teal);
}

.service-list {
    list-style: none;
    margin-bottom: 20px;
}

.service-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

.service-tech {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 16px;
}

/* Why Us Detail Page */
.why-detail {
    padding: 64px 24px;
}

.why-values {
    margin-bottom: 64px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.value-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--deep-navy);
}

.value-card p {
    font-size: 15px;
    line-height: 1.6;
}

.why-choose {
    margin-bottom: 64px;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.choose-item {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.choose-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--teal);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 16px;
}

.choose-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--deep-navy);
}

.choose-item p {
    font-size: 15px;
    line-height: 1.6;
}

.our-process {
    margin-bottom: 32px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.process-step {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--teal);
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--deep-navy);
}

.process-step p {
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: 64px 24px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--deep-navy);
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.info-items {
    margin-bottom: 32px;
}

.info-item {
    margin-bottom: 24px;
}

.info-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--teal);
}

.info-item p {
    font-size: 14px;
    margin: 0;
}

.contact-cta {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-cta p {
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-cta ul {
    list-style: none;
    padding: 0;
}

.contact-cta li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
}

.contact-cta li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

.contact-form-container {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.contact-form .form-group {
    margin-bottom: 0;
}

.form-success {
    text-align: center;
    padding: 40px 24px;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    color: #22c55e;
    margin: 0 auto 16px;
}

.form-success h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 16px;
    color: var(--teal);
}

.form-error {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 16px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

/* Footer */
.footer {
    background-color: var(--deep-navy);
    color: white;
    padding: 32px 24px;
    text-align: center;
    margin-top: 64px;
}

.footer p {
    font-size: 14px;
    margin: 8px 0;
}

/* Responsive for Page Hero */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 24px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .page-hero p {
        font-size: 18px;
    }

    .service-detail-card {
        flex-direction: column !important;
        gap: 24px;
    }

    .service-detail-icon {
        width: 80px;
        height: 80px;
    }

    .service-detail-icon svg {
        width: 48px;
        height: 48px;
    }

    .service-detail-content h2 {
        font-size: 24px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-container {
        padding: 24px;
    }

    .values-grid,
    .choose-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 16px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .service-detail-content h2 {
        font-size: 20px;
    }

    .service-detail-content h3 {
        font-size: 16px;
    }

    .service-list li {
        font-size: 14px;
    }

    .contact-info h2 {
        font-size: 24px;
    }

    .footer p {
        font-size: 12px;
    }
}
