/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #fff;
    color: #fff;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(14px, 2vw, 16px);
    color: #007bff;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff0000;
}

nav {
    position: sticky;
    top: 0;
    transition: top 0.4s ease;
}


/* ================= NAVBAR SCROLL HIDE ================= */
nav {
    transition: top 0.4s ease;
}


/* ================= HOME ================= */
.home {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

.home-content {
    padding: 20px;
    animation: fadeUp 1.2s ease forwards;
}

.animated-text {
    font-size: clamp(28px, 5vw, 56px);
    margin-bottom: 15px;
}

.animated-subtext {
    font-size: clamp(16px, 3vw, 22px);
    margin-bottom: 25px;
}

.animated-btn {
    padding: 14px 34px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    background: linear-gradient(135deg,#ff0000,#007bff);
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.animated-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* ================= PROJECTS ================= */
.project {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transition: transform 0.35s;
}

.project:hover {
    transform: translateY(-8px);
}

.project img {
    max-width: 140px;
    width: 100%;
    height: auto;
}

.project-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 5% 80px;
}

/* ================= ABOUT ================= */
.about-hero {
    min-height: 60vh;
    padding: 60px 20px;
    background: linear-gradient(135deg,#501000,#000);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    animation: fadeDown 1.2s ease;
}

/* 🔥 ABOUT PARAGRAPH – RED & BLUE BLUR LIGHT ANIMATION */
.about-hero p {
    position: relative;
    font-size: 14px;
    line-height: 1.8;
    font-weight: bold;
    color: #000;                /* ✅ BLACK TEXT */
    color: #111;
    background: #ffffff;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto 35px auto;
    border-radius: 14px;
    z-index: 1;
}

/* glowing blur effect */
.about-hero p::before {
    content: "";
    position: absolute;
    inset: -8px;
    background: linear-gradient(
        120deg,
        rgba(255,0,0,0.8),
        rgba(0,123,255,0.8),
        rgba(255,0,0,0.8)
    );
    filter: blur(22px);
    border-radius: 20px;
    z-index: -1;
    background-size: 300% 300%;
    animation: aboutGlow 6s ease-in-out infinite;
}

/* animation */
@keyframes aboutGlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ABOUT US TITLE – CENTER & BOTTOM */
.about-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: 3px;
    color: #ffffff;
}


/* ABOUT CONTENT BOXES */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
    padding: 70px 5%;
    background: #ffffff;
}

.about-box {
    background: #f5f5f5;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    color: #000;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transition: transform 0.35s;
}

.about-box:hover {
    transform: translateY(-10px);
}

.about-box h2 {
    margin-bottom: 15px;
    color: #007bff;
}

.about-box ul {
    list-style: none;
}

.about-box li {
    padding: 5px 0;
    font-weight: bold;
}

/* ================= WHY CHOOSE US ================= */
.about-why {
    background: #ffffff;
    padding: 70px 5%;
    text-align: center;
}

.about-why h2 {
    color: #000;           /* BLACK */
    margin-bottom: 30px;
    font-size: 28px;
}

.about-why p {
    color: #000;           /* BLACK TEXT */
    font-size: 15px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 20px auto;
    font-weight: bold;
}

.about-why strong {
    color: #000;           /* BLACK HEADINGS */
}

/* ================= MANAGING DIRECTOR PROFILE ================= */
.about-director {
    background: #ffffff;
    padding: 70px 5%;
    text-align: center;
}

.about-director h2 {
    font-size: 28px;
    color: #000;
    margin-bottom: 15px;
}

.about-director h3 {
    font-size: 22px;
    color: #000;
    margin-bottom: 5px;
}

.about-director h4 {
    font-size: 16px;
    color: #444;
    font-weight: normal;
    margin-bottom: 30px;
}

.about-director p {
    max-width: 900px;
    margin: 0 auto 20px auto;
    font-size: 15px;
    line-height: 1.8;
    color: #000;          /* ✅ BLACK TEXT */
    font-weight: bold;
}

/* ================= DIRECTOR IMAGE WITH ANIMATED CIRCLE ================= */

.director-image {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px auto;
    border-radius: 50%;
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background: #fff;
}

/* animated circle */
.director-image::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(
        120deg,
        rgba(255,0,0,0.9),
        rgba(0,123,255,0.9),
        rgba(255,0,0,0.9)
    );
    filter: blur(10px);
    z-index: 1;
    animation: circleSpin 6s linear infinite;
}

@keyframes circleSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================= DIRECTORS LINE ================= */
.directors-line {
    text-align: center;
    font-size: 48px;      /* VERY BIG */
    font-weight: 900;     /* EXTRA BOLD */
    letter-spacing: 6px;
    color: #000;          /* BLACK TEXT */
    margin: 90px 0 50px;
}


/* ================= CONTACT ================= */
.contact-page {
    min-height: 100vh;
    padding: 80px 20px;
    background: linear-gradient(135deg,#ff0000,#007bff);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
    width: 100%;
    max-width: 1100px;
}

.contact-card {
    background: #ffffff;
    color: #333;
    padding: 35px 25px;
    border-radius: 22px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.35s, background 0.35s;
}

.contact-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg,#007bff,#ff0000);
    color: #fff;
}

.contact-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* ================= GALLERY ================= */
.gallery-page {
    min-height: 100vh;
    padding: 80px 5%;
    background: linear-gradient(135deg,#007bff,#ff0000);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 18px;
}

.gallery-item img {
    width: 100%;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 15px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}


/* ================= FOOTER ================= */
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 70px 20px;
}

footer p {
    margin: 8px 0;
    font-size: 15px;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }

    .about-hero p {
        font-size: 13px;
        padding: 20px;
    }
}
