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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f1c2e;
    color: #fff;
    line-height: 1.5;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #0f1c2e;
    color: #fff;
    padding: 2px 30px;
    border-radius: 15px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a2d47;
}

.btn-secondary {
    display: inline-block;
    background-color: #fff;
    color: #0f1c2e;
    padding: 2px 30px;
    border-radius: 15px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e5e5e5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to right, rgba(15, 28, 46, 0.9), rgba(48, 90, 148, 0.9));
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 60px 15px 92px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-links a {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-btn {
    font-size: 22px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding-top: 73px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-illustration {
    position: absolute;
    right: 0;
    top: 285px;
    width: 927px;
    height: 515px;
    z-index: 1;
}

.hero-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px 0 117px;
    max-width: 900px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin-top: 40px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    list-style: none;
    margin-left: 37px;
    margin-bottom: 40px;
}

.hero-content .btn-secondary {
    margin-left: 37px;
    padding: 2px 30px;
}

.hero-features li {
    font-size: 20px;
    font-weight: 300;
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

.hero-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
}

/* Services Section */
.services {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-title {
    font-size: 60px;
    font-weight: 700;
    color: #0f1c2e;
    margin-bottom: 20px;
    text-align: center;
}

.section-title.white {
    color: #fff;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    color: #000;
    max-width: 1200px;
    margin: 0 auto 60px;
    line-height: 1.5;
}

.section-subtitle.center {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-height: 289px;
}

.service-card.featured {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    transform: scale(1.02);
}

.service-icon {
    width: 100px;
    height: 98px;
    margin: 0 auto 15px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.2;
}

.services-note {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

/* Approach Section */
.approach {
    position: relative;
    padding: 60px 0 0;
    min-height: 871px;
    overflow: hidden;
}

.approach .container {
    max-width: none;
    margin: 0;
    padding-left: 117px;
}

.approach .section-title {
    text-align: left;
}

.approach-overlay {
    position: absolute;
    top: -10px;
    right: 0;
    width: 1588px;
    height: 882px;
    z-index: 1;
    pointer-events: none;
}

.approach-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.approach-intro {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    max-width: 718px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.approach-steps {
    max-width: 540px;
    margin-left: 21px;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.step-number {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-right: 5px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    max-width: 425px;
}

.approach-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.approach-footer p {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    max-width: 718px;
}

.approach-footer .btn-secondary {
    white-space: nowrap;
}

/* About Section */
.about {
    background-color: #030511;
    padding: 60px 0 80px;
}

.about .container {
    max-width: none;
    margin: 0;
    padding: 0 0 0 117px;
}

.about .section-title {
    text-align: left;
}

.about-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 100px;
    margin-top: 60px;
}

.about-image {
    width: 522px;
    height: 372px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center top;
}

.about-text {
    color: #d9d9d9;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    padding-left: 30px;
    padding-right: 117px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    font-weight: 700;
    color: #fff;
}

/* When to Contact Section */
.when-contact {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.when-contact .section-title {
    color: #000;
    font-size: 50px;
}

.when-contact .section-subtitle {
    font-size: 25px;
    font-weight: 600;
    max-width: 1200px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.reason-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-height: 266px;
}

.reason-icon {
    width: 100px;
    height: 98px;
    margin: 0 auto 15px;
    border-radius: 50px;
    overflow: hidden;
}

.reason-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reason-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.reason-card p {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.2;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 50px 0;
    min-height: 439px;
    overflow: hidden;
}

.contact .container {
    max-width: none;
    margin: 0;
    padding: 0 117px;
}

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

.contact-form-section {
    background: rgba(15, 28, 46, 0.29);
    padding: 30px 40px;
    box-shadow: 0 4px 14.2px 9px rgba(0, 0, 0, 0.5);
}

.contact-form-section h2 {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 25px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
}

.form-row {
    display: contents;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 5px;
}

.form-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    padding: 8px 0;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: #305a94;
}

.textarea-group {
    grid-row: span 2;
}

.form-group textarea {
    background: transparent;
    border: 1px solid #fff;
    padding: 10px;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    resize: none;
    height: 90px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #305a94;
}

.form-actions {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-submit {
    background: #305a94;
    color: #fff;
    border: none;
    padding: 8px 40px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background: #264a7a;
}

.form-note {
    font-size: 10px;
    color: #fff;
    text-align: center;
    font-weight: initial;
}

.contact-divider {
    width: 1px;
    background: #fff;
    align-self: stretch;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: stretch;
}

.contact-info-section h2 {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #fff;
}

.contact-details {
    margin-bottom: 100px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.contact-item a,
.contact-item span {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

.contact-item a {
    text-decoration: underline;
}

.contact-links {
    display: flex;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.contact-links a {
    color: #fff;
    letter-spacing: -0.16px;
}

.contact-links .divider {
    color: #fff;
}

/* Footer */
.footer {
    background-color: #0f1c2e;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .container {
    max-width: none;
    margin: 0;
    padding-left: 92px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.footer-logo {
    position: absolute;
    left: 0;
}

.footer-logo img {
    height: 37px;
    width: auto;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-info p {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.footer-divider {
    color: #fff;
}

.footer-info p:last-child {
    font-weight: 600;
}

.copyright {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .services-grid,
    .reasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-illustration {
        width: 600px;
        right: -100px;
    }
}

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

    .nav-container {
        padding: 15px 40px;
    }

    .hero-content {
        padding: 0 40px;
    }

    /* Approach Section - Large Tablet */
    .approach .container {
        padding-left: 60px;
        padding-right: 40px;
    }

    .approach-overlay {
        width: 1200px;
        opacity: 0.5;
    }

    .about .container {
        padding: 0 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        width: 100%;
        max-width: 522px;
    }

    .about-text {
        padding-left: 0;
        padding-right: 0;
    }

    .contact .container {
        padding: 0 40px;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-form-section {
        width: 100%;
    }

    .contact-divider {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hero-illustration {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .services-grid,
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Approach Section - Tablet */
    .approach .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .approach-overlay {
        width: 100%;
        height: 100%;
        opacity: 0.3;
    }

    .approach-intro {
        max-width: 100%;
    }

    .approach-steps {
        margin-left: 0;
        max-width: 100%;
    }

    .approach-footer {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .approach-footer p {
        max-width: 100%;
    }

    /* Contact Section - Tablet */
    .contact .container {
        padding: 0 40px;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .contact-divider {
        display: none;
    }

    .contact-details {
        margin-bottom: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-info {
        flex-direction: column;
        text-align: center;
    }

    .footer-divider {
        display: none;
    }
}

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

    .nav-container {
        padding: 15px 20px;
    }

    .nav-btn {
        line-height: 1.1;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 48px;
    }

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

    .hero-description {
        font-size: 18px;
    }

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

    .section-subtitle {
        font-size: 18px;
    }

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

    /* Approach Section - Mobile */
    .approach {
        min-height: auto;
        padding: 40px 0 60px;
    }

    .approach .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .approach .section-title {
        text-align: center;
        font-size: 28px;
        margin-bottom: 20px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    }

    .approach-overlay {
        display: none;
    }

    .approach-intro {
        font-size: 16px;
        text-align: center;
        margin-bottom: 30px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    }

    .approach-intro br {
        display: none;
    }

    .approach-steps {
        margin-left: 0;
        max-width: 100%;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 25px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    .step-number {
        font-size: 32px;
        margin-right: 0;
        margin-bottom: 10px;
        color: #305a94;
        background: #fff;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step-content {
        width: 100%;
    }

    .step-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    }

    .step-content p {
        font-size: 14px;
        max-width: 100%;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    }

    .approach-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        margin-top: 30px;
    }

    .approach-footer p {
        font-size: 16px;
        max-width: 100%;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    }

    .approach-footer .btn-secondary {
        font-size: 18px;
        padding: 10px 30px;
    }

    /* Contact Section - Mobile */
    .contact {
        padding: 40px 0;
        min-height: auto;
    }

    .contact .container {
        padding: 0 20px;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-section {
        padding: 25px 20px;
    }

    .contact-form-section h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .textarea-group {
        grid-row: auto;
    }

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

    .form-actions {
        grid-column: 1;
        margin-top: 10px;
    }

    .btn-submit {
        width: 100%;
        padding: 12px 40px;
    }

    .contact-divider {
        display: none;
    }

    .contact-info-section {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .contact-info-section h2 {
        font-size: 24px;
        width: auto;
        text-align: center;
        display: inline-block;
    }

    .contact-details {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        margin-bottom: 20px;
        text-align: center;
    }

    .contact-label {
        font-size: 18px;
    }

    .contact-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
    }

    .contact-links .divider {
        display: none;
    }

    /* Footer - Mobile */
    .footer {
        padding: 30px 0;
    }

    .footer .container {
        padding: 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-logo {
        position: static;
    }

    .footer-logo img {
        height: 32px;
    }

    .footer-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-info p {
        font-size: 14px;
    }

    .footer-divider {
        display: none;
    }

    .copyright {
        font-size: 12px;
        margin-top: 15px;
    }
}

/* Form Messages */
.form__message {
    display: none;
    padding: 12px 16px;
    margin-top: 16px;
    border-radius: 4px;
    font-size: 14px;
    grid-column: 1 / -1;
    text-align: center;
}

.form__message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form__message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Submit button disabled state */
.btn-submit:disabled {
    background: #6b7a8a;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===== ANIMATIONS ===== */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Hero Animation */
.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-illustration {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-features {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-content .btn-secondary {
    animation: fadeInUp 0.8s ease-out 1s both;
}

/* Scroll Animations - Initial State */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.service-card,
.reason-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease-out;
}

.service-card.animate-on-scroll,
.reason-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

.service-card.animate-on-scroll.visible,
.reason-card.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.featured.animate-on-scroll.visible {
    transform: scale(1.02);
}

/* Card Hover Effects */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.25);
}

/* Icon animations */
.service-icon,
.reason-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon,
.reason-card:hover .reason-icon {
    transform: scale(1.1);
}

/* Steps animation */
.step {
    transition: transform 0.3s ease, background 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

@media (max-width: 768px) {
    .step:hover {
        transform: scale(1.02);
    }
}

/* Button pulse effect on hover */
.btn-primary,
.btn-secondary,
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after,
.btn-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-submit:hover::after {
    width: 300px;
    height: 300px;
}

/* Nav links underline animation */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* About image hover */
.about-image {
    overflow: hidden;
    transition: transform 0.4s ease;
}

.about-image img {
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Form input focus animations */
.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 2px 10px rgba(48, 90, 148, 0.3);
}

/* Section titles animation */
.section-title.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.section-title.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Logo hover effect */
.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Footer logo animation */
.footer-logo img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Smooth appearance for approach section */
.approach-steps .step.animate-on-scroll {
    opacity: 0;
    transform: translateX(-30px);
}

.approach-steps .step.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Contact links hover */
.contact-links a {
    transition: opacity 0.3s ease;
}

.contact-links a:hover {
    opacity: 0.7;
}

/* Contact item hover */
.contact-item a {
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #a0c4ff;
}

/* Legal Pages (Privacy Policy, Terms) */
.legal-page {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #0f1c2e 0%, #1a2d47 100%);
    min-height: calc(100vh - 150px);
}

.legal-page .container {
    max-width: 900px;
}

.legal-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

.legal-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 40px;
}

.legal-intro {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.legal-content p {
    font-size: 16px;
    font-weight: 300;
    color: #d9d9d9;
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content a {
    color: #a0c4ff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #fff;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-top: 35px;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0 20px 25px;
    color: #d9d9d9;
}

.legal-content ul li {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: #305a94;
    border-radius: 50%;
}

.legal-content .contact-email {
    margin-top: 10px;
}

.legal-content .contact-email a {
    font-size: 18px;
    font-weight: 500;
}

.btn-back {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #fff;
    color: #0f1c2e;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .legal-intro {
        font-size: 16px;
    }

    .legal-content h2 {
        font-size: 20px;
        margin-top: 25px;
    }

    .legal-content p,
    .legal-content ul li {
        font-size: 14px;
    }

    .btn-back {
        display: block;
        text-align: center;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
