* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 90px;
    /* Fixed height for header */
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center logo since no top nav */
    height: 100%;
    /* Fill header height */
}

.logo {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    margin-top: 90px;
    /* Space for fixed header */
    min-height: calc(100vh - 90px - 70px);
    /* Header height + bottom nav height */
    padding-bottom: 70px;
    /* Space for fixed bottom nav */
}

.page {
    display: none;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Home Page */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content p:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content p:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-content p:nth-child(4) {
    animation-delay: 0.6s;
}

.hero-content p:nth-child(5) {
    animation-delay: 0.8s;
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 20px;
    pointer-events: none;
}

/* About Page */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* Services Page */
.services-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.service-list {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-list h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(102, 126, 234, 0.05);
    padding-left: 10px;
    border-radius: 10px;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    font-size: 1.5rem;
    color: #1e3c72;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-methods {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
    min-width: 200px;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #22c55e, #16a085);
}

.contact-button:active {
    transform: translateY(-1px);
}

.call-button {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.call-button:hover {
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
    background: linear-gradient(135deg, #1a3460, #24477a);
}

.phone-number {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-top: 5px;
}

.locations {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.location-button {
    display: block;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.location-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
    background: linear-gradient(135deg, #1a3460, #24477a);
}

.location-button h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.location-button h5 {
    font-size: 0.9rem;
    opacity: 0.8;
}

.promo-banner {
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    color: #333;
    padding: 20px;
    margin: 30px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 15px rgba(249, 202, 36, 0.3);
}

/* Bottom Navigation Bar (now for all devices) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px 0;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.bottom-nav .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #999;
    transition: color 0.3s ease;
}

.bottom-nav .nav-item span {
    transition: color 0.3s ease;
}

.bottom-nav .nav-item.active {
    color: #1e3c72;
}

.bottom-nav .nav-item.active i {
    color: #1e3c72;
}

.bottom-nav .nav-item:hover {
    color: #2a5298;
}

.bottom-nav .nav-item:hover i {
    color: #2a5298;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .main-content {
        margin-top: 100px;
        /* Adjust margin for header */
        min-height: calc(100vh - 100px - 70px);
        /* Header height + bottom nav height */
    }

    .page {
        padding: 30px 15px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        margin: 0 auto;
        max-width: 500px;
    }

    .services-overview,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-list {
        padding: 30px 20px;
    }

    .contact-methods {
        padding: 30px 20px;
    }

    .contact-button {
        display: block;
        text-align: center;
        margin: 10px auto;
        /* Center buttons */
        width: 100%;
        max-width: 300px;
    }

    .locations {
        padding: 30px 20px;
    }

    .location-button {
        margin: 10px 0;
    }

    .promo-banner {
        font-size: 1.1rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px;
    }

    .logo {
        height: 50px;
    }

    .main-content {
        margin-top: 80px;
        /* Adjust margin for header */
        min-height: calc(100vh - 80px - 70px);
        /* Header height + bottom nav height */
    }

    .page {
        padding: 20px 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-content {
        padding: 20px;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-list {
        padding: 20px 15px;
    }

    .service-list h2 {
        font-size: 1.5rem;
    }

    .contact-methods {
        padding: 20px 15px;
    }

    .contact-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: auto;
    }

    .locations {
        padding: 20px 15px;
    }

    .location-button {
        padding: 15px;
    }

    .location-button h4 {
        font-size: 1rem;
    }

    .location-button h5 {
        font-size: 0.8rem;
    }

    .promo-banner {
        font-size: 1rem;
        padding: 12px;
    }

    .bottom-nav .nav-item {
        font-size: 0.7rem;
    }

    .bottom-nav .nav-item i {
        font-size: 1.2rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a3460, #24477a);
}