/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === NAVBAR HOVER EFFECT (Animated Underline) === */
.nav-menu > li {
    position: relative; /* Essential for dropdown positioning */
}

.nav-menu > li > a {
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-menu > li > a:hover {
    color: #8a191d; /* Your brand red */
}

/* The sliding red underline */
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ee0a0a;
    transition: width 0.3s ease-in-out;
}

.nav-menu > li > a:hover::after {
    width: 100%;
}


/* Dropdown Arrow Animation */
.dropdown > a > i {
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.dropdown:hover > a > i {
    transform: rotate(180deg); /* Flips the arrow upside down on hover */
}


/* === DROPDOWN MENU STYLING === */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 5px;
    border-top: 3px solid #d11f26; /* Sharp industrial accent line */
    
    /* Animation settings */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); /* Starts slightly lower */
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

/* Show the dropdown when hovering over the parent <li> */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slides up into place */
}

/* Individual Dropdown Links */
.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #555;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* Dropdown Link Hover Effect */
.dropdown-menu a:hover {
    background-color: #f8fafd;
    color: #d11f26;
    padding-left: 26px; /* Cool sliding-right effect */
}

/* === HERO SECTION WITH INTERNAL SLIDER === */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden; /* Keeps images inside the hero area */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Container for the sliding images */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlideAnim 25s infinite; /* 3 images x 5 seconds */
}

/* Staggered timing for images */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide:nth-child(5) { animation-delay: 20s; }

/* Dark Gradient Overlay for Maximum Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darkens the background so white text is crystal clear */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

/* Content sits on top of everything */
.hero-content {
    position: relative;
    z-index: 3;
    color: rgb(44, 11, 10);
    max-width: 850px;
}

.hero-content h1 {  
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgb(246, 8, 0);
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 35px;
    text-shadow: 1px 1px 8px rgb(255, 0, 0);
}

/* The Animation */
@keyframes heroSlideAnim {
    0% { opacity: 0; transform: scale(1.1); }
    15% { opacity: 1; }
    33% { opacity: 1; }
    45% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}

/* REMOVE body bg-slider styles to clean up the page */
body {
    background-color: #f8fafd; /* Clean professional light background */
}

a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 32px;
    color: #000000;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
    font-weight: 800;
}
.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #d11f26;
    display: block;
    margin: 10px auto 0;
}

/* === TOP BAR === */
.top-bar {
    background-color: #0b4b8a;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 0;
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar i {
    margin-right: 8px;
    color: #ffcc00;
}
.top-bar .contact-info span {
    margin-right: 20px;
}

/* === HEADER & NAVIGATION === */
header {
    background-color: #d9f0ebf8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.logo-link {
    display: flex;
    align-items: center;
}
.logo-image {
    max-height: 65px;
    width: auto;
    display: block;
}
.nav-menu {
    display: flex;
    gap: 25px;
}
.nav-menu a {
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}
.nav-menu a:hover {
    color: #d11f26;
}
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #0b4b8a;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: url('img/img1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(14, 14, 14, 0.7);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(254, 254, 254, 0.847);
}
.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}
.btn-main, .btn-whatsapp {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
    transition: 0.3s;
}
.btn-main { background: #ff0000; color: #fff; }
.btn-whatsapp { background: #26cc63; color: #fff; }
.btn-main:hover, .btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* === ABOUT SECTION === */
.about-text {
    text-align: justify;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

/* === SERVICES ACCURATE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.service-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    height: 100%;
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
}
.service-img-container {
    width: 100%;
    height: 240px; 
    position: relative;
    border-bottom: 5px solid #d11f26;
}
.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-details {
    padding: 30px 20px;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-icon {
    color: #d11f26;
    font-size: 28px;
    margin-bottom: 15px;
}
.service-card h3 {
    color: #0b4b8a;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}
.service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}
.btn-secondary {
    margin-top: auto;
    background: #0b4b8a;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s ease;
    cursor: pointer;
}
.btn-secondary:hover {
    background: #d11f26;
}

/* === GALLERY SECTION === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 75, 138, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}
.gallery-overlay span {
    color: #fff; font-size: 18px; font-weight: 600;
    border-bottom: 2px solid #d11f26; padding-bottom: 5px;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }


/* === ELEGANT REVIEW STYLES === */
.elegant-reviews {
    padding: 80px 0;
    background-color: #fcfcfc;
    overflow: hidden;
}

.review-slider-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.review-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth elegant slide */
    gap: 20px;
}

.review-card {
    min-width: calc(33.333% - 14px); /* Show 3 cards on desktop */
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

/* Hover Effect: Lifts up and adds a subtle red accent */
.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom: 3px solid #d11f26; 
}

.stars {
    color: #f1c40f;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.review-card h5 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.review-card span {
    font-size: 13px;
    color: #999;
}

/* Pagination Dots */
.dot-container {
    text-align: center;
    margin-top: 30px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
}

.dot.active {
    background-color: #d11f26;
    width: 25px; /* Pill shape for active dot */
    border-radius: 5px;
}

/* Mobile Adjustments */
@media (max-width: 992px) { .review-card { min-width: calc(50% - 10px); } }
@media (max-width: 600px) { .review-card { min-width: 100%; } }







/* === GOOGLE REVIEW BADGE === */
.google-review-badge {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    border: 1px solid #eee;
    flex-wrap: wrap;
    gap: 20px;
}

.google-logo img {
    width: 100px;
    height: auto;
}

.rating-info {
    text-align: left;
}

.rating-score {
    display: flex;
    align-items: center;
    gap: 15px;
}

.score-num {
    font-size: 32px;
    font-weight: 800;
    color: #333;
}

.google-stars {
    color: #FBBC05; /* Official Google Star Color */
    font-size: 18px;
}

.review-count {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.btn-review {
    background-color: #f8f9fa;
    color: #3c4043;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #dadce0;
    transition: all 0.2s ease;
}

.btn-review:hover {
    background-color: #f1f3f4;
    border-color: #d2d4d7;
    box-shadow: 0 1px 3px rgba(60,64,67, 0.3);
    transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .google-review-badge {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .rating-info { text-align: center; }
    .rating-score { justify-content: center; }
}


/* === QUICK ENQUIRY SECTION === */
.quick-enquiry {
    padding: 80px 0;
    background: linear-gradient(135deg, #0b4b8a 50%, #f4f7f9 50%);
}
.enquiry-wrapper {
    display: flex; align-items: center; justify-content: space-between; gap: 50px;
}
.enquiry-text { flex: 1; color: #fff; }
.enquiry-text h2 { font-size: 36px; margin-bottom: 20px; }
.enquiry-benefits { margin-top: 30px; }
.enquiry-benefits li {
    margin-bottom: 15px; font-size: 18px;
    display: flex; align-items: center; gap: 10px;
}
.enquiry-benefits i { color: #25d366; }
.enquiry-form-card {
    flex: 1; background: #fff; padding: 40px;
    border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.enquiry-form-card h3 {
    color: #0b4b8a; margin-bottom: 25px; font-size: 24px;
    text-align: center; border-bottom: 2px solid #eee; padding-bottom: 10px;
}
.input-group { position: relative; margin-bottom: 20px; }
.input-group i {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #0b4b8a;
}
.input-group textarea + i { top: 20px; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 12px 15px 12px 45px;
    border: 1px solid #ddd; border-radius: 5px; font-size: 15px; outline: none; transition: 0.3s;
}
.input-group input:focus, .input-group textarea:focus { border-color: #d11f26; }
.btn-submit {
    width: 100%; padding: 15px; background: #d11f26; color: #fff;
    border: none; border-radius: 5px; font-size: 18px; font-weight: bold;
    cursor: pointer; transition: 0.3s;
}
.btn-submit:hover { background: #a8161d; }

/* === LOCATION SECTION === */
.location-wrapper {
    display: flex; gap: 30px; background: #fff; padding: 20px;
    border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.map-container { flex: 2; border-radius: 10px; overflow: hidden; }
.address-card { flex: 1; padding: 30px; background: #0b4b8a; color: #fff; border-radius: 10px; }
.address-card h3 { margin-bottom: 20px; border-bottom: 2px solid rgba(255,255,255,0.2); padding-bottom: 10px; }
.address-card p { margin-bottom: 20px; line-height: 1.6; }
.address-card i { margin-right: 10px; color: #d11f26; }

/* === MEGA FOOTER === */
.main-footer { background-color: #111111; color: #ffffff; padding: 70px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px; padding-bottom: 50px;
}
.footer-title {
    font-size: 20px; margin-bottom: 25px; position: relative;
    padding-bottom: 10px; color: #fff; text-transform: uppercase; letter-spacing: 1px;
}
.footer-title::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background-color: #d11f26;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #bbbbbb; transition: 0.3s; display: flex; align-items: center; gap: 10px; font-size: 15px;
}
.footer-links a i { font-size: 10px; color: #d11f26; }
.footer-links a:hover { color: #ffffff; padding-left: 8px; }
.footer-contact p {
    color: #bbbbbb; margin-bottom: 15px; display: flex; gap: 15px; font-size: 15px;
}
.footer-contact i { color: #d11f26; margin-top: 4px; }
.footer-logo { max-height: 60px; margin-bottom: 20px;
    width: auto;
    display: block;
}
.social-icons { margin-top: 20px; display: flex; gap: 15px; }
.social-icons a {
    width: 40px; height: 40px; background: #222; display: flex;
    align-items: center; justify-content: center; border-radius: 50%;
    transition: 0.3s; color: #fff;
}
.social-icons a:hover { background: #d11f26; transform: translateY(-3px); }
.footer-bottom {
    background: #000; padding: 20px 0; text-align: center;
    border-top: 1px solid #222; font-size: 14px; color: #777;
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
    background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3); }


/* === MODERN FLOATING CALLING SYSTEM === */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999; /* Ensures it stays above reviews and hero */
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

/* WhatsApp Specific Style */
.whatsapp-fab {
    background: #25D366;
    overflow: hidden;
    width: 60px;
}

.fab-text {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-fab:hover .fab-text {
    opacity: 1;
    transform: translateX(0);
}



/* === FIXED LEFT SIDE CALLING BUTTON === */
.left-sticky-call {
    position: fixed;
    left: 0;           /* Locks it to the left edge */
    top: 50%;          /* Centers it vertically */
    transform: translateY(-50%); /* Perfectly aligns the center */
    z-index: 10000;    /* Stays on top of all sections */
}

.call-tab {
    display: flex;
    align-items: center;
    background: #d11f26; /* Your brand red */
    color: white;
    text-decoration: none;
    padding: 12px 20px 12px 15px;
    border-radius: 0 50px 50px 0; /* Rounded on the right side only */
    box-shadow: 4px 0 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    gap: 12px;
}

.call-tab i {
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.call-label {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Hover Effect: Slides out slightly */
.call-tab:hover {
    padding-left: 25px;
    background: #0b4b8a; /* Changes to brand blue on hover */
}

/* Pulse Animation for the Phone Icon */
.pulse-ring {
    position: absolute;
    left: 12px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: left-pulse 2s infinite;
}

@keyframes left-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Mobile: Slightly smaller so it doesn't block text */
@media (max-width: 600px) {
    .call-label { display: none; } /* Show only icon on small phones */
    .call-tab { padding: 15px; }
}



/* === RESPONSIVE MEDIA QUERIES === */
@media (max-width: 992px) {
    .quick-enquiry { background: #0b4b8a; }
    .enquiry-wrapper { flex-direction: column; text-align: center; }
    .enquiry-benefits li { justify-content: center; }
    .location-wrapper { flex-direction: column; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; flex-direction: column; width: 100%;
        position: absolute; top: 100%; left: 0; background: #ffffff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); padding: 20px 0; text-align: center;
    }
    .nav-menu.active { display: flex; }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-section { height: 60vh; }
    .top-bar-flex { justify-content: center; text-align: center; gap: 10px; }
    .footer-grid { text-align: center; }
    .footer-title::after { left: 50%; transform: translateX(-50%); }
    .footer-links a { justify-content: center; }
    .social-icons { justify-content: center; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}


/* === GALLERY PAGE SPECIFIC STYLES === */
.gallery-header {
    background: linear-gradient(rgba(11, 75, 138, 0.9), rgba(11, 75, 138, 0.9)), url('hero-bg.jpg');
    background-size: cover;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.back-home {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 50px;
    transition: 0.3s;
}

.back-home:hover {
    background: #fff;
    color: #0b4b8a;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Responsive grid */
    gap: 25px;
    padding: 60px 0;
}

.image-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.image-card img {
    width: 100%;
    height: 300px; /* Fixed height for a clean uniform look */
    object-fit: cover; /* Keeps images from looking stretched */
    display: block;
}

.image-info {
    padding: 20px;
    text-align: center;
}

.image-info h3 {
    font-size: 18px;
    color: #0b4b8a;
    margin-bottom: 5px;
}

.image-info p {
    font-size: 14px;
    color: #777;
}

/* Modern Hover Effect */
.image-card:hover {
    transform: translateY(-10px);
}

.image-card:hover img {
    filter: brightness(0.8);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .image-grid { grid-template-columns: 1fr; }
    .gallery-header { padding: 50px 20px; }
}


/* === THE IMAGE CONTAINER === */
.img-container {
    width: 100%;
    aspect-ratio: 4 / 3; /* Keeps all containers the same shape */
    border-radius: 12px;
    overflow: hidden; /* Clips the image to the rounded corners */
    position: relative;
    border: 1px solid #eee;
    background-color: #f8f9fa;
    cursor: pointer;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the container without stretching */
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Hover Effect */
.img-container:hover img {
    transform: scale(1.1); /* Subtle zoom */
}

/* Optional Glassmorphism Overlay */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 75, 138, 0.4); /* Brand Blue with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.img-overlay i {
    color: #fff;
    font-size: 24px;
}

.img-container:hover .img-overlay {
    opacity: 1;
}


/* === CONTACT PAGE STYLES === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.info-item i {
    font-size: 24px;
    color: #d11f26; /* Brand Red */
    background: #fdf2f2;
    padding: 15px;
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, 
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #0b4b8a; /* Brand Blue */
    box-shadow: 0 0 8px rgba(11, 75, 138, 0.1);
}

.btn-primary {
    background: #0b4b8a;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #d11f26;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}



/* === BACK TO HOME SECTION === */
.back-home-cta {
    padding: 80px 0;
    background-color: #f4f7fa; /* Soft light blue/grey */
    text-align: center;
    border-top: 1px solid #e1e8ed;
}

.cta-content h2 {
    font-size: 32px;
    color: #0b4b8a; /* Brand Blue */
    margin-bottom: 15px;
}

.cta-content p {
    color: #666;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === THE ELEGANT BUTTON === */
.elegant-home-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background-color: #d11f26; /* Brand Red */
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    overflow: hidden; /* Important for the shine effect */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(209, 31, 38, 0.2);
}

.elegant-home-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* --- HOVER EFFECTS --- */
.elegant-home-btn:hover {
    transform: translateY(-5px); /* Lifts the button up */
    background-color: #b01a20;   /* Darkens red slightly */
    box-shadow: 0 15px 30px rgba(209, 31, 38, 0.4);
}

.elegant-home-btn:hover i {
    transform: rotate(-10deg) scale(1.2); /* Wiggles the house icon */
}

/* Subtle Shine Animation */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}

.elegant-home-btn:hover .btn-shine {
    left: 150%;
    transition: 0.6s;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .cta-content h2 { font-size: 26px; }
    .elegant-home-btn { width: 90%; justify-content: center; }
}


/* Gallery Container */
.gallery-section { padding: 80px 0; background: #fdfdfd; }
.section-heading { text-align: center; margin-bottom: 40px; color: #0b4b8a; font-size: 36px; }

/* Filter Buttons */
.filter-menu { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn {
    padding: 10px 25px;
    border: 2px solid #0b4b8a;
    background: transparent;
    color: #0b4b8a;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover { background: #0b4b8a; color: #fff; }

/* The Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Image Box & Glassmorphism Overlay */
.image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1); /* Transparent layer */
    backdrop-filter: blur(8px); /* The "Frosted" effect */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
    padding: 20px;
}

.overlay-content { text-align: center; transform: translateY(20px); transition: 0.5s; }
.overlay-content span { color: #d11f26; font-weight: 700; text-transform: uppercase; font-size: 12px; }
.overlay-content h4 { color: #0b4b8a; font-size: 22px; margin: 10px 0; }

/* Hover States */
.image-box:hover img { transform: scale(1.1); }
.image-box:hover .overlay { opacity: 1; }
.image-box:hover .overlay-content { transform: translateY(0); }

@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr; } }



/* === MODERN RUNNING TEXT === */
.marquee-wrapper {
    width: 100%;
    background: #0b4b8a; /* Your Brand Blue */
    color: #ffffff;
    padding: 20px 0;
    overflow: hidden; /* Hides the text that goes off-screen */
    display: flex;
    white-space: nowrap;
    border-top: 4px solid #d11f26; /* Brand Red accent line */
    border-bottom: 4px solid #d11f26;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.marquee-content {
    display: flex;
    animation: runText 25s linear infinite; /* Adjust speed here (higher = slower) */
}

.marquee-content span {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 2px;
}

.marquee-content i {
    color: #d11f26; /* Makes icons stand out in Red */
}

/* THE ANIMATION MATH */
@keyframes runText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves exactly half the width to loop seamlessly */
    }
}

/* Pause on hover so people can read it clearly */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
    cursor: default;
}

/* Mobile responsive font size */
@media (max-width: 768px) {
    .marquee-content span {
        font-size: 18px;
        padding: 0 20px;
    }
    .marquee-wrapper {
        padding: 15px 0;
    }
}
