:root {
    --primary-blue: #2A4494;
    --primary-red: #C81D25;
    --accent-dark: #3A3A3A;
    --secondary-gray: #f0f2f5;
    --off-white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--accent-dark);
    background-color: var(--off-white);
    line-height: 1.6;
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--off-white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 80px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Increased logo size by 20% */
.logo-image {
    height: 60px;
    width: auto;
}

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

.nav-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    /* Added transform to transition for lift effect */
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
}

/* Added slight lift effect */
.nav-links a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.phone-cta {
    background-color: var(--primary-red);
    color: var(--off-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Lift on phone CTA as well */
.phone-cta:hover {
    background-color: var(--accent-dark);
    color: var(--off-white);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: var(--off-white);
    overflow: hidden;
    background: #08111c;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.92) contrast(1.02) brightness(0.9);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at center, rgba(11, 18, 32, 0.06) 0%, rgba(11, 18, 32, 0.16) 36%, rgba(6, 11, 22, 0.58) 78%, rgba(4, 8, 16, 0.9) 100%),
        linear-gradient(115deg, rgba(3, 8, 18, 0.82) 8%, rgba(12, 24, 45, 0.42) 45%, rgba(8, 18, 34, 0.76) 100%),
        linear-gradient(180deg, rgba(4, 8, 16, 0.28) 0%, rgba(4, 8, 16, 0.08) 30%, rgba(4, 8, 16, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 16% 82%, rgba(200, 29, 37, 0.14) 0%, rgba(200, 29, 37, 0) 26%);
    opacity: 0.65;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.hero-copy {
    max-width: 760px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(4rem, 8vw, 6.6rem);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    line-height: 0.92;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.42);
    text-wrap: balance;
}

.hero h1 span {
    display: block;
}

.hero .highlight {
    color: var(--off-white);
}

.hero-accent {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.92);
    text-transform: none;
    letter-spacing: 0.04em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
    font-weight: 700;
    line-height: 1.45;
    text-wrap: balance;
}

.hero-accent span {
    display: block;
}

.hero-description {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.15rem;
    line-height: 1.7;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
    text-wrap: pretty;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--off-white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 29, 37, 0.3);
}

.cta-button:hover {
    background-color: var(--accent-dark);
    color: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 58, 58, 0.4);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    text-transform: uppercase;
}

/* Intro Section */
.intro-section {
    background-color: var(--off-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-text {
    text-align: center;
    padding: 0 2rem;
}

.intro-text h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* About Section */
.about {
    background-color: var(--primary-blue);
    color: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch; 
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Added align-items flex-start so the button does not stretch */
    align-items: flex-start;
}

.about-text h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--off-white);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    height: 100%; 
    min-height: 350px;
}

/* Used absolute positioning inside relative container to exactly match grid height */
.about-image video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
.services {
    background-color: var(--secondary-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-card-content p {
    flex-grow: 1;
}

/* Why Choose Us Section */
.why-choose-us {
    position: relative;
    background-image: linear-gradient(rgba(42, 68, 148, 0.85), rgba(42, 68, 148, 0.85)), url('images/specialised.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.why-choose-us .section-title {
    color: var(--off-white);
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.reason-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.reason-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.reason-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.4;
}

/* Technology Section */
.technology {
    background-color: var(--secondary-gray);
}

.technology-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.technology-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

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

.technology-content .intro-p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--accent-dark);
}

.tech-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.tech-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tech-list i {
    color: var(--primary-red);
    margin-right: 1rem;
    font-size: 1.4rem;
}

.technology-content .outro-p {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

/* Gallery Section */
.gallery {
    background-color: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-image:hover img {
    transform: scale(1.1);
}

/* Our History Section */
.history {
    background-color: var(--off-white);
}

.history-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    color: var(--accent-dark);
}

.history-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Marquee Section */
.marquee {
    padding: 3rem 0;
    background-color: var(--secondary-gray);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    width: fit-content;
    animation: scroll 60s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 350px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-item img {
    width: 100%;
    height: auto;
    max-height: 220px;
    border-radius: 8px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.marquee-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent-dark);
}

.stars {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background-color: var(--primary-blue);
    color: var(--off-white);
}

.contact .section-title {
    color: var(--off-white);
}

.contact .section-subtitle {
    max-width: 700px;
    margin: -2rem auto 3rem;
    color: #d1d1d1;
    font-size: 1.1rem;
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-info, .contact-form {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--off-white);
}

.contact-info h4 {
    margin-bottom: 1rem;
opacity: 0.8;
}


.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: var(--primary-red);
    width: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--off-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--secondary-gray);
    border-radius: 4px;
    background-color: var(--off-white);
    color: var(--primary-blue);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

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

.submit-button {
    background-color: var(--primary-red);
    color: var(--off-white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: var(--accent-dark);
    color: var(--off-white);
}

.map-container {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: #d1d1d1;
    padding: 5rem 0 2rem;
    text-align: left;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col.about-col {
    flex-grow: 1.5;
}

.footer-logo {
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo .logo-image {
    height: 100px;
}

.footer-description {
    line-height: 1.7;
}

.footer-col h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--off-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--off-white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
}

.footer-powered-by {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-powered-by-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-powered-by a {
    color: inherit;
    text-decoration: none;
}

.footer-powered-by p {
    margin: 0;
    padding: 0;
}

.footer-powered-by img {
    height: 1rem;
    object-fit: contain;
}

.footer-powered-by a:hover {
    color: inherit;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }

    .why-choose-us-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid, .technology-grid {
        grid-template-columns: 1fr;
    }

    .intro-image, .technology-image {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--off-white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--secondary-gray);
    }

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

    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding-top: 6.5rem;
        padding-bottom: 2.5rem;
    }

    .hero-copy {
        max-width: 100%;
        padding: 1.5rem;
    }

    .hero-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }

    .hero h1 {
        font-size: clamp(3rem, 13vw, 4.2rem);
    }
    
    .hero-accent {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        min-height: 300px;
    }

    .why-choose-us-grid,
    .testimonials-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .intro-text {
        padding: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    footer {
        text-align: center;
    }

    .footer-main {
        flex-direction: column;
        gap: 2.5rem;
    }
}
