/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    line-height: 1.6;
    color: #333;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('assets/pexels-photomix-company-14953886.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    /* Places it behind other content */
    filter: brightness(0.7);
    /* Optional: Darkens the image */
}


/* Prevent iOS Safari elastic scrolling from showing background */
@supports (-webkit-touch-callout: none) {
    body::before {
        background-attachment: scroll;
        height: 100vh;
    }
}

/* Make sure all sections are positioned relative to the overlay */
section {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 0.8rem 2rem;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .navbar.scrolled {
        padding: 0.8rem 1rem;
    }
}

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


.logo-text:hover {
    color: #ffffff;
    /* Change the core color to white-hot */
    text-shadow:
        0 0 10px #ffdd00,
        0 0 20px #ff8800,
        0 0 30px #ff4400,
        0 0 40px #ff2200,
        0 0 50px #ff1100,
        0 0 60px #ff0000;
    /* More intense outer glow */
}


.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: transparent;
    /* Text color must be transparent for gradient */
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #00aaff, #0077ff, #ff2200, #ff0000);
    background-clip: text;
    -webkit-background-clip: text;
    transition: text-shadow 0.3s ease, filter 0.3s ease;

    /* Soft, blurry flame-like glow before hover */
    text-shadow:
        0 0 15px rgba(0, 170, 255, 0.5),
        /* Subtle blue glow */
        0 0 25px rgba(0, 119, 255, 0.4),
        /* Intense blue */
        0 0 35px rgba(255, 34, 0, 0.3),
        /* Bright red */
        0 0 50px rgba(255, 0, 0, 0.2);
    /* Outer red glow */
    filter: blur(1px);
    /* Adds a slightly blurred effect */
}

.logo-text:hover {
    /* Intense, sharp flame effect with blue and red glow */
    text-shadow:
        0 0 10px #00aaff,
        /* Bright blue core */
        0 0 20px #0077ff,
        /* Vivid blue */
        0 0 30px #ff2200,
        /* Bright red */
        0 0 40px #ff0000,
        /* Intense red */
        0 0 60px rgba(255, 0, 0, 0.8);
    /* Outer red glow */
    filter: none;
    /* Removes blur on hover */
}


/* .logo-text:hover { */
/* color: #00a8ff; */
/* } */

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00a8ff;

}


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

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

/* Mobile Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgb(0, 46, 93);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

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

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

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

    /* Fix content width on mobile */
    .hero,
    section,
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 80px 20px 20px;
        box-sizing: border-box;
    }

    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    text-align: center;
    color: #fff;
    z-index: 1;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(1.3);
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        /* Better for mobile performance */
        filter: brightness(1.4);
    }
}

.hero-content {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 20px;
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ffffff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.cta-container {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
}

.typing-animation {
    display: inline-block;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    text-align: center;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
        padding: 80px 20px 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-content h2 {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    .hero-content .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .hero::before {
        opacity: 0.7;
    }

    .hero-content {
        padding: 70px 15px 15px;
    }

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

    .hero-content h2 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    section {
        padding: 40px 20px;
    }
}

/* iOS-specific fixes */
@supports (-webkit-touch-callout: none) {

    .hero,
    section {
        background-attachment: scroll;
    }
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    position: relative;
    /* background: url('./assets/pexels-photomix-company-14953886.jpg'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%); */
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #00bfff, #1e90ff);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.services-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    width: 100%;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    cursor: pointer;
    margin: 0 auto;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card .card-front {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s;
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card:nth-child(1) .card-front {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/plumbing2.jpg');
}

.service-card:nth-child(2) .card-front {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/heatingrad.jpg');
}

.service-card:nth-child(3) .card-front {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/emerganceplumbing.jpg');
}

.service-card:nth-child(4) .card-front {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/gas-safe-logo_1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1rem;
}

.service-card .card-front i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card .card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: white;
    border-radius: 10px;
    overflow-y: auto;
}

.card-back h3 {
    color: #00a8ff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.card-back p {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.card-back ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    width: 100%;
}

.card-back li {
    margin: 0.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
}

.card-back li:before {
    content: "•";
    color: #ffffff;
    margin-right: 8px;
}

.service-note {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-card i {
    font-size: 3rem;
    color: #1e90ff;
    margin-bottom: 1rem;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgb(0, 46, 93);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    /* Services mobile adjustments */
    .services-grid {
        grid-template-columns: 1fr;
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 1rem 0;
    }

    .service-card {
        width: 100%;
        height: auto;
        min-height: 350px;
        margin: 0 auto;
    }

    .card-front,
    .card-back {
        width: 100%;
        height: 100%;
        padding: 1.5rem;
    }

    .services {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .card-front i {
        font-size: 3rem;
    }

    .card-front h3 {
        font-size: 1.5rem;
    }

    .card-back {
        font-size: 0.9rem;
    }

    .card-back h3 {
        font-size: 1.5rem;
    }

    .card-back ul {
        padding: 0 1rem;
    }
}

/* About Section */
.about {
    position: relative;
    padding: 5rem 2rem;
    /* background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), */
    /* url('/assets/pexels-photomix-company-14953886.jpg') no-repeat center center; */
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.about-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    flex: 1;
    max-width: 650px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
}

.feature-list {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature i {
    color: #00bfff;
    font-size: 1.5rem;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 5rem 2rem;
    /* background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), */
    /* url('assets/pexels-photomix-company-14953886.jpg') no-repeat center center; */
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.contact-container {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form select {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background: #333;
    color: white;
}

.contact-form select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(to right, #00bfff, #1e90ff);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.info-item i {
    color: #00bfff;
    font-size: 1.5rem;
}

.contact-info .info-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .info-item a:hover {
    color: #00a8ff;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgb(0, 46, 93);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem;
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    /* Services mobile adjustments */
    .services-grid {
        grid-template-columns: 1fr;
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 1rem 0;
    }

    .service-card {
        width: 100%;
        height: auto;
        min-height: 350px;
        margin: 0 auto;
    }

    .card-front,
    .card-back {
        width: 100%;
        height: 100%;
        padding: 1.5rem;
    }

    .services {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .card-front i {
        font-size: 3rem;
    }

    .card-front h3 {
        font-size: 1.5rem;
    }

    .card-back {
        font-size: 0.9rem;
    }

    .card-back h3 {
        font-size: 1.5rem;
    }

    .card-back ul {
        padding: 0 1rem;
    }

    /* Contact section mobile adjustments */
    .contact {
        padding: 2rem 1rem;
        display: block;
    }

    .contact-container {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .contact-form,
    .contact-info {
        width: calc(100% - 2rem);
        max-width: 100%;
        margin: 1rem;
        box-sizing: border-box;
    }

    .contact-info {
        background-image: url('images/contact-bg.jpg');
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
        padding: 1.5rem;
        border-radius: 10px;
        margin-top: 2rem;
    }

    .contact-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 1;
    }

    .contact-info>* {
        position: relative;
        z-index: 2;
    }

    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: #fff;
        text-align: center;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .contact-info-item {
        display: flex;
        align-items: center;
        margin-bottom: 1.2rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-info-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .contact-info-item i {
        font-size: 1.4rem;
        margin-right: 1rem;
        color: #00a8ff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    .contact-info-item p,
    .contact-info-item a {
        margin: 0;
        font-size: 1rem;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        text-decoration: none;
    }

    .contact-info-item a:hover {
        color: #00a8ff;
    }
}

/* Why Choose Maximus & Co.? Section */
.why-choose-maximus {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('/assets/pexels-photomix-company-14953886.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.why-choose-maximus-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.why-choose-maximus-text {
    flex: 1;
    max-width: 650px;
    margin: 0 auto;
}

.why-choose-maximus-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-list {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature i {
    color: #00bfff;
    font-size: 1.5rem;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .why-choose-maximus-content {
        max-width: 100%;
        padding: 1rem;
    }

    .why-choose-maximus-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        text-align: center;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .why-choose-maximus-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .why-choose-maximus-item {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        text-align: center;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: transform 0.3s ease;
    }

    .why-choose-maximus-item:hover {
        transform: translateY(-5px);
    }

    .why-choose-maximus-item i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #00a8ff;
        text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
    }

    .why-choose-maximus-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        color: #fff;
    }

    .why-choose-maximus-item p {
        font-size: 1rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
    }
}

/* Alert Messages */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.alert i {
    font-size: 1.2rem;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

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

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Spinner */
.loading-spinner i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
footer {
    position: relative;
    padding: 3rem 2rem;
    background: #1a1a1a;
    color: white;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h3 {
    color: #00bfff;
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00bfff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #00bfff;
}

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