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

:root {
    /* OLA Brand Colors - from your existing theme */
    --primary-orange: hsl(32, 89%, 55%);
    /* Main brand color */
    --primary-orange-light: hsl(28, 94%, 71%);
    --primary-orange-dark: hsl(30, 95%, 25%);
    --primary-orange-lightest: hsl(30, 100%, 96%);
    --bg-light: hsl(36, 100%, 93%);
    --dark: hsl(0, 0%, 12.5%);
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo img {
    height: 80px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-default {
    display: block;
}

.logo-scrolled {
    display: none;
}

.header.scrolled .logo-default {
    display: none;
}

.header.scrolled .logo-scrolled {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.scrolled .nav-link {
    color: var(--gray-dark);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-orange);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header.scrolled .nav-toggle span {
    background-color: var(--gray-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
}

.lang-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header.scrolled .lang-toggle {
    color: var(--gray-dark);
}

.header.scrolled .lang-toggle:hover {
    background-color: var(--primary-orange-lightest);
}

.lang-option {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.lang-option.active {
    opacity: 1;
    color: var(--primary-orange);
    font-weight: 700;
}

.lang-separator {
    opacity: 0.4;
}

.header.scrolled .lang-option.active {
    color: var(--primary-orange);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('images/Box-01.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1200px;
    padding: 40px 20px;
    width: 100%;
}

.hero-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
}

.hero-title-the {
    font-size: 1rem;
    font-weight: 700;
    align-self: flex-start;
}

.hero-title-number {
    display: flex;
    align-items: flex-start;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.hero-title-one {
    line-height: 1;
}

.hero-title-st {
    font-size: 1rem;
    font-weight: 700;
    margin-left: 4px;
    line-height: 1;
}

.hero-title-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title-line1,
.hero-title-line2 {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    line-height: 0;
    display: none;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Raleway', sans-serif;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.btn-primary:hover {
    background-color: var(--primary-orange-light);
    border-color: var(--primary-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 125, 47, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-orange);
}

.btn-light:hover {
    background-color: var(--primary-orange-lightest);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-orange);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-orange);
    display: block;
    margin-top: 10px;
}

.highlight-inline {
    color: var(--primary-orange);
    display: inline;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    margin: 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
}

.service-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-number {
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(232, 125, 47, 0.3);
}

.service-number span {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-item p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Why Choose OLA Section */
.why-choose {
    padding: 100px 0;
    background-color: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 180%;
    height: 180%;
    object-fit: contain;
    display: block;
}

.feature-item h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--gray-medium);
    line-height: 1.6;
}

.why-choose-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Our Services Section */
.our-services {
    padding: 100px 0;
    background-color: var(--gray-light);
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(232, 125, 47, 0.2);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--primary-orange);
}

.service-card-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.how-it-works-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.how-text {
    max-width: 600px;
    text-align: left;
    margin-bottom: 40px;
}

.how-text h3 {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-weight: 700;
}

.how-text p {
    font-size: 1.25rem;
    color: var(--gray-medium);
    line-height: 1.8;
}

.how-video {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.how-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.testimonial-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio (square) */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(232, 125, 47, 0.3);
}

.testimonial-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--primary-orange-light);
}

.footer-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-orange-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (min-width: 992px) {

    /* How It Works - side by side layout for desktop */
    .how-it-works-content {
        flex-direction: row;
        justify-content: center;
    }

    .how-text {
        flex: 0 0 400px;
        margin-right: 60px;
        margin-bottom: 0;
    }

    .how-video {
        flex: 0 1 650px;
    }

    /* Services Section - numbered circles and two columns on desktop */
    .service-number {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
    }

    .service-number span {
        font-size: 0.875rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 40px;
    }

    /* Why Choose OLA - larger icons and two columns on desktop */
    .feature-icon {
        width: 80px;
        height: 80px;
    }

    .features-list {
        grid-template-columns: 1fr 1fr;
        gap: 30px 40px;
        grid-auto-flow: column;
    }

    .feature-item:nth-child(1) {
        grid-row: 1;
        grid-column: 1;
    }

    .feature-item:nth-child(2) {
        grid-row: 2;
        grid-column: 1;
    }

    .feature-item:nth-child(3) {
        grid-row: 1;
        grid-column: 2;
    }

    .feature-item:nth-child(4) {
        grid-row: 2;
        grid-column: 2;
    }
}

@media (max-width: 991px) {

    /* Navigation for tablets */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 40px 0;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .nav-link {
        display: block;
        padding: 16px 24px;
        color: var(--gray-dark);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: var(--primary-orange-lightest);
        color: var(--primary-orange);
    }

    /* Language switcher in mobile menu */
    .language-switcher {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 20px;
        padding-top: 20px;
    }

    .lang-toggle {
        color: var(--gray-dark);
        justify-content: center;
    }

    .hero-title-number {
        font-size: 6rem;
    }

    .hero-title-st {
        font-size: 2rem;
    }

    .hero-title-text {
        font-size: 2.5rem;
    }

    .section-header h2,
    .section-title,
    .cta-content h2 {
        font-size: 2.5rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        background-attachment: scroll;
        background-position: 65% center;
        background-size: cover;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.55));
    }

    .hero-content {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        line-height: 1.1 !important;
        letter-spacing: -1.5px !important;
        margin-bottom: 1rem !important;
    }

    .hero-title-the,
    .hero-title-number {
        display: none;
    }

    .hero-title-st {
        display: none;
    }

    .hero-title-text {
        font-size: 1.5rem;
        font-weight: 800;
        line-height: 1.3;
    }

    .hero-title-text::before {
        content: 'The 1st ';
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        width: 100%;
    }

    .hero-wave {
        display: none;
    }

    .section-header h2,
    .section-title,
    .cta-content h2,
    .why-choose-content h2 {
        font-size: 1.5rem;
    }

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

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .services,
    .why-choose,
    .how-it-works,
    .testimonials,
    .cta {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 425px) {
    /* All styles inherited from 768px breakpoint */
}

@media (max-width: 375px) {
    /* All styles inherited from 425px breakpoint */
}

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

/* Accessibility */
@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;
    }
}