@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,400;0,600;0,700;1,100&display=swap");

:root {
    --headerclr: #030920;
    --mainclr: #f00b0b;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

/* Header and Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.8rem 5%;
    background: linear-gradient(90deg, #000428, #000000);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

#logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff0000;
    text-decoration: none;
    letter-spacing: 1px;
    transition: transform 0.3s ease, color 0.3s ease;
}

#logo:hover {
    transform: translateY(-2px) scale(1.05);
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    color: white;
    font-size: 1.55rem;
    font-weight: 600;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: var(--mainclr);
    color: white;
}

.menu-toggle-nav {
    font-size: 2.2rem;
    color: white;
    cursor: pointer;
    display: none;
}

.menu-toggle-nav.active i {
    color: var(--mainclr);
    transform: rotate(90deg);
    transition: transform 0.4s ease;
}

/* Mobile Navbar */
@media (max-width: 992px) {
    .menu-toggle-nav {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 9, 32, 0.97);
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }
    .nav-links.show {
        max-height: 600px;
    }
    .nav-links li {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .nav-links li a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.85rem;
    }
}

/* Desktop Navbar – fixed version */
@media (min-width: 993px) {
    .menu-toggle-nav {
        display: none !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1.5rem !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        max-height: none !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-links li {
        border: none !important;
    }

    .nav-links li a {
        display: inline-block !important;
        padding: 0.7rem 1.3rem !important;
        font-size: 1.55rem !important;
    }
}

/* Ultimate fallback for desktop visibility */
@media (min-width: 993px) {
    .nav,
    .nav-links,
    .nav-links li,
    .nav-links li a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
        transform: none !important;
        pointer-events: auto !important;
    }
}

/* Prevent fixed header overlap on all content sections */
.about,
.why-choose-us,
.our-services,
.contact-section,
.gallery,
.blog,
.background-image {
    padding-top: 110px;
}

@media (max-width: 992px) {
    .about,
    .why-choose-us,
    .our-services,
    .contact-section,
    .gallery,
    .blog,
    .background-image {
        padding-top: 90px;
    }
}

/* Hero Section */
.background-image {
    background: url('background.jpg') center/cover no-repeat;
    width: 100%;
    height: 100vh;
}

.inner-back-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.inner-back-text h1 {
    font-size: 4rem;
    color: var(--headerclr);
    line-height: 5rem;
    text-transform: uppercase;
}

.inner-back-text h1 span {
    color: var(--mainclr);
}

.inner-back-text p {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Floating Menu */
.floating-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 2rem;
}

.menu-toggle {
    background: linear-gradient(135deg, rgb(255, 5, 5), #08045b);
    color: white;
    border: none;
    padding: 1.4rem 2.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 128, 0.4);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
}

.menu-toggle:hover {
    background: white;
    color: navy;
    border: 0.2rem solid navy;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 128, 0.6);
    transform: scale(1.05);
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: 25rem;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(22, 10, 105, 0.737);
    overflow: hidden;
    flex-direction: column;
    text-align: left;
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease-in-out;
}

.floating-menu.active .menu-dropdown {
    display: flex;
}

.menu-dropdown li {
    border-bottom: 0.1rem solid rgba(86, 10, 10, 0.1);
}

.menu-dropdown li:last-child {
    border-bottom: none;
}

.menu-dropdown li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 2rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: navy;
    background: white;
    transition: all 0.3s ease-in-out;
}

.menu-dropdown li a i {
    font-size: 1.8rem;
    color: navy;
    transition: 0.3s;
}

.menu-dropdown li a:hover {
    background: navy;
    color: white;
}

.menu-dropdown li a:hover i {
    color: white;
    transform: rotate(360deg);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .menu-toggle {
        font-size: 1.4rem;
        padding: 1.2rem 2rem;
    }
    .menu-dropdown {
        width: 23rem;
    }
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    color: white;
    background: linear-gradient(-45deg, black, navy, red, white);
    background-size: 400% 400%;
    animation: glowingBackground 8s infinite alternate ease-in-out;
}

@keyframes glowingBackground {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h1 {
    font-size: 2.8em;
    color: red;
    text-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.5);
    border-bottom: 0.3rem solid white;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    padding-top: 50px;
}

.about-text p {
    font-size: 1.7em;
    color: white;
    line-height: 1.9;
    text-shadow: 0.1rem 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
    max-width: 60rem;
    margin-bottom: 2rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.about-image img {
    width: 22rem;
    height: 32rem;
    border-radius: 2rem;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 0 1.5rem rgba(255, 255, 255, 0.3);
    opacity: 0.95;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-1rem); }
    100% { transform: translateY(0); }
}

.about-image img:hover {
    animation: bounce 0.6s ease-in-out;
    box-shadow: 0 0 2.5rem rgba(255, 255, 255, 0.7);
    opacity: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1.5rem); }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        text-align: center;
    }
    .about-text p {
        max-width: 100%;
    }
    .about-image {
        justify-content: center;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    text-align: center;
    padding: 8rem 5%;
    background: black;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-choose-us h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--mainclr);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    position: relative;
    padding-bottom: 1rem;
    margin-top: 2rem;
    text-shadow: 0 0 1rem rgba(255, 0, 0, 0.8), 0 0 2rem rgba(255, 0, 0, 0.6);
}

.why-choose-us h2::after {
    content: "";
    width: 8rem;
    height: 0.4rem;
    background: white;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.2rem;
    box-shadow: 0 0 1rem rgba(255, 0, 0, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4rem;
    width: 100%;
    max-width: 1100px;
    margin: auto;
    height: 100%;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

.feature {
    background: linear-gradient(135deg, rgb(19, 8, 47) 30%, black 100%);
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 1.5rem rgba(255, 0, 0, 0.3);
    border: 0.2rem solid rgba(255, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.feature:hover {
    transform: translateY(-1rem) scale(1.05);
    box-shadow: 0 0 3rem rgba(255, 0, 0, 0.7);
    background: linear-gradient(135deg, rgb(25, 10, 70) 40%, black 100%);
}

.feature::before {
    content: "";
    position: absolute;
    top: -0.2rem;
    left: -0.2rem;
    width: calc(100% + 0.4rem);
    height: calc(100% + 0.4rem);
    border-radius: 1.5rem;
    border: 0.2rem solid transparent;
    background: linear-gradient(90deg, red, transparent) border-box;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature .icon {
    font-size: 2rem;
    color: red;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.feature:hover .icon {
    transform: scale(1.2);
    text-shadow: 0 0 2rem red;
}

.feature h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.2rem;
}

.feature p {
    font-size: 1.5rem;
    color: #ddd;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature h3 {
        font-size: 1.5rem;
    }
    .feature p {
        font-size: 1.1rem;
    }
}

/* Services Section */
.our-services {
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(140deg, black 30%, navy 60%, rgb(192, 0, 0) 40%, white 80%);
    background-size: 200% 200%;
    animation: splitGlowing 6s infinite alternate;
    box-shadow: 0 0 2.5rem rgba(24, 1, 1, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: -8rem;
}

@keyframes splitGlowing {
    0% { background-position: 100% 50%; }
    50% { background-position: 50% 50%; }
    100% { background-position: 0% 50%; }
}

.our-services h2 {
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    position: relative;
    color: white;
    text-shadow: 0 0 1.5rem rgba(255, 0, 0, 0.8);
}

.red-text {
    color: red;
}

.our-services h2::after {
    content: "";
    width: 12rem;
    height: 0.4rem;
    background: red;
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.2rem;
    box-shadow: 0 0 1.5rem red;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: auto;
}

.service {
    background: white;
    padding: 2.5rem;
    border-radius: 1.2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 1.5rem rgba(255, 0, 0, 0.4);
    position: relative;
    border: 0.1rem solid rgba(255, 0, 0, 0.5);
}

.service:hover {
    transform: translateY(-0.8rem);
    box-shadow: 0 0 2.5rem white;
}

.service i {
    font-size: 9rem;
    color: red;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.service:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 1.5rem red;
}

.service h3 {
    font-size: 1.7rem;
    color: rgb(255, 0, 0);
    margin-bottom: 1rem;
}

.service p {
    font-size: 1.5rem;
    color: #000;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .our-services h2 {
        font-size: 2.5rem;
    }
    .service i {
        font-size: 2.5rem;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(125deg, rgb(2, 2, 45), red);
    background-size: 400% 400%;
    animation: glowingBackground 8s infinite alternate ease-in-out;
    color: white;
    text-align: center;
    padding: 10rem 2rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes glowingBackground {
    0% { background: linear-gradient(125deg, rgb(12, 12, 143), rgb(255, 255, 255)); }
    25% { background: linear-gradient(125deg, rgb(255, 255, 255), rgb(2, 2, 45)); }
    50% { background: linear-gradient(125deg, rgb(0, 0, 0), rgb(5, 0, 155)); }
    75% { background: linear-gradient(125deg, rgb(14, 5, 54), rgb(3, 3, 7)); }
    100% { background: linear-gradient(125deg, rgb(2, 2, 123), red); }
}

.contact-container {
    width: 90%;
    max-width: 80rem;
    margin-top: 1rem;
}

.contact-title {
    font-size: 2.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: red;
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 0.3rem;
    text-underline-offset: 0.5rem;
}

.contact-description {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.contact-form {
    width: 100%;
    max-width: 45rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.4rem 1.5rem rgba(255, 0, 0, 0.3);
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    border: 0.2rem solid transparent;
    border-radius: 0.5rem;
    background: #000;
    color: rgb(255, 0, 0);
    outline: none;
    transition: 0.3s;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1rem;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.3rem;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: 0.3s;
}

.submit-btn:hover {
    background: white;
    color: red;
    box-shadow: 0 0 1rem red;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 3rem 0;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.3);
    position: relative;
    animation: floatIcons 3s infinite ease-in-out;
}

.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }
.twitter { background: #1DA1F2; }
.linkedin { background: #0A66C2; }
.instagram { background: #E4405F; }

.social-media a:hover {
    transform: scale(1.3);
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

@keyframes floatIcons {
    0% { transform: translateY(0); }
    50% { transform: translateY(-1rem); }
    100% { transform: translateY(0); }
}

.social-media a:hover::before {
    content: "";
    position: absolute;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    animation: glow 0.5s ease-in-out;
}

@keyframes glow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .social-media {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .social-media a {
        width: 5.5rem;
        height: 5.5rem;
        font-size: 1.8rem;
    }
}

/* Gallery Section */
.gallery {
    text-align: center;
    padding: 10rem 2rem;
    background: #f4f4f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gallery-heading {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    margin-top: 4rem;
}

.gallery-heading::after {
    content: "";
    width: 15rem;
    height: 0.4rem;
    background: red;
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.2rem;
    box-shadow: 0 0 1rem red;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0.4rem 1.5rem rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item:hover {
    transform: translateY(-0.6rem);
    box-shadow: 0 1.2rem 3rem rgba(0,0,0,0.18);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item img {
        height: 18rem;
    }
}

@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Section */
.blog {
    text-align: center;
    padding: 10rem 4rem;
    background: #f4f4f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blog-heading {
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    margin-top: 3rem;
}

.blog-heading::after {
    content: "";
    width: 13rem;
    height: 0.4rem;
    background: red;
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.2rem;
    box-shadow: 0 0 1rem red;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding: 2rem;
}

.blog-card {
    background: white;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.4);
}

.blog-card img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
}

.blog-content {
    padding: 2.5rem;
    text-align: left;
    flex-grow: 1;
}

.blog-content h3 {
    font-size: 2rem;
    color: navy;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.blog-content p {
    font-size: 1.4rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.extra-content {
    display: none;
    margin-top: 1rem;
    font-size: 1rem;
    color: #555;
}

.read-more-btn {
    background: red;
    color: white;
    border: none;
    padding: 1rem 1.8rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 0.6rem;
    margin-top: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
    background: darkred;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .blog-heading {
        font-size: 2.2rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .blog-content h3 {
        font-size: 1.8rem;
    }
    .blog-content p {
        font-size: 1.3rem;
    }
}


/* Featured Projects – improved visibility & contrast */
.featured-projects {
    padding: 8rem 5%;
    background: #0f0f23; /* Slightly lighter dark tone for better contrast */
    color: #ffffff;
}

.featured-projects h2 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 5rem;
    color: var(--mainclr);
}

.projects-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.project-teaser {
    background: rgba(30, 30, 60, 0.7); /* Dark semi-transparent card */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 0, 0.18);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.project-teaser:hover {
    transform: translateY(-10px);
    border-color: var(--mainclr);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.18);
}

.project-image-wrapper {
    width: 100%;
    height: 240px; /* Fixed height for uniformity */
    overflow: hidden;
    background: #000; /* Fallback if image fails */
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-teaser:hover .project-image-wrapper img {
    transform: scale(1.08);
}

.project-teaser p {
    padding: 1.6rem 1.2rem;
    font-size: 1.65rem;
    margin: 0;
    color: #e0e0ff;
    font-weight: 500;
    line-height: 1.4;
}

/* Ensure container is centered and wide enough */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}



/* Index Page Enhancements */
.brand-promise {
    padding: 4rem 5% 6rem;
    background: #0a0a1f;
    color: #e0e0ff;
    text-align: center;
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 500;
}

.signature-strengths {
    padding: 8rem 5%;
    background: linear-gradient(135deg, #000428, #1a0000);
    color: white;
}

.signature-strengths h2 {
    text-align: center;
    margin-bottom: 5rem;
    color: var(--mainclr);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.strength i {
    font-size: 4.2rem;
    color: var(--mainclr);
    margin-bottom: 1.5rem;
}

.strength p {
    font-size: 1.9rem;
    font-weight: 600;
}

.featured-projects {
    padding: 8rem 5%;
    background: #000;
}

.projects-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.project-teaser img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

.project-teaser p {
    font-size: 1.7rem;
    text-align: center;
    color: #ddd;
}

.final-cta {
    padding: 10rem 5%;
    background: var(--mainclr);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.final-cta p {
    font-size: 2.1rem;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: var(--mainclr);
    padding: 1.4rem 3.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,0.4);
}

.btn-large {
    padding: 1.8rem 4.5rem;
    font-size: 2rem;
}

.site-footer {
    background: #000428;
    color: #aaa;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 1.45rem;
    border-top: 1px solid rgba(255,0,0,0.15);
}

.site-footer p {
    margin: 0;
}

/* Footer / Copyright */
.site-footer {
    background: #000428;
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1.4rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.site-footer p {
    margin: 0;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--mainclr); /* red from your theme */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background: #d00;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}


