﻿body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f5f0;
    margin: 0;
    font-size: 15px;
    color: #333;
}

/* HEADER BACKGROUND */
.top-header {
    background: #a40000;
    color: #fff;
    padding: 10px 0;
}

/* LOGO COMMON */
.header-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* LEFT LOGO ALIGN */
.left-logo {
    float: left;
}

/* RIGHT LOGO ALIGN */
.right-logo {
    float: right;
}

/* TITLE */
.header-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

/* SUB TITLE */
.header-sub {
    font-size: 14px;
}

/* PERFECT VERTICAL ALIGN */
.top-header .row {
    display: flex;
    align-items: center;
}
.header-logo {
    height: 80px;  /* try 80 or 90 */
}

/* MENU */
.menu {
    background: #d4af37;
    text-align: center;
    padding: 10px;
}

.menu a {
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.menu a:hover {
    color: white;
}

/* BANNER */
.banner {
    background: #eee;
    text-align: center;
    padding: 10px;
    border-bottom: 2px solid #ccc;
}

/* TABLE */
/* Let Bootstrap handle table styling */
.table {
    width: 100%;
}

/* Optional custom header style */
.table th {
    background-color: #8B0000;
    color: white;
}

.table td {
    border: 1px solid #ccc;
    padding: 8px;
}

/* GALLERY */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* BUTTON */
button {
    background: #d4af37;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

button:hover {
    background: #8B0000;
    color: white;
}

/* FOOTER */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
h2 {
    font-weight: 600;
    letter-spacing: 1px;
}

h3 {
    font-weight: 600;
    margin-top: 15px;
}

h4 {
    font-weight: 500;
    margin-top: 10px;
}
/* SLIDER */
#slider {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.slide {
    width: 100%;
    height: 300px;
    display: none;
}

.slide.active {
    display: block;
}
/* FULL WIDTH SLIDER */
.full-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.full-slider .slide {
    width: 100%;
    height: auto;          /* 🔥 key fix */
    display: none;
}

.full-slider .slide.active {
    display: block;
}
/* FOUNDER */
.founder-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
/* NEWS CARD */
.news-card {
    border: 1px solid #ddd;
    background: white;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    height: 100%;
}

.news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 8px;
}

.news-card h5 {
    font-size: 14px;
    font-weight: 600;
}

.news-card p {
    font-size: 13px;
}


.news-wrapper {
    overflow: hidden;
}

/* GALLERY CARD */
.gallery-card {
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px;
    text-align: center;
    margin-bottom: 15px;
}

.gallery-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.gallery-card p {
    font-size: 13px;
    margin-top: 5px;
}

/* SLIDER WRAPPER */
.gallery-wrapper {
    overflow: hidden;
}
.gallery-card:hover {
    transform: scale(1.05);
    transition: 0.3s;
}
/* MODERN CARD STYLE */
.info-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.info-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 🔥 FIX */
    height: 100%;                /* 🔥 IMPORTANT */
}
/* HOVER EFFECT */
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* HEADINGS */
.info-box h4 {
    color: #8B0000;
    font-weight: 600;
    margin-bottom: 12px;
    border-left: 4px solid #d4af37;
    padding-left: 10px;
}

/* TEXT */
.info-box p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

/* LIST */
.info-box ul {
    padding-left: 18px;
}

.info-box ul li {
    margin-bottom: 6px;
}
h3 {
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
    padding-bottom: 5px;
}
.section-bg {
    background: #f9fafc;
    padding: 20px;
    border-radius: 10px;
}

/* SECTION TITLE */
.section-title {
    font-weight: 600;
    border-bottom: 3px solid #d4af37;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* ABOUT SECTION */
.about-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* IMAGE */
.about-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #d4af37;
}

/* HEADING */
.about-heading {
    color: #8B0000;
    font-weight: 600;
    margin-bottom: 10px;
}

/* LIST */
.about-points {
    margin-top: 10px;
    padding-left: 18px;
}

.about-points li {
    margin-bottom: 6px;
}
/* FOOTER */
.footer {
    background: #222;
    color: #ddd;
    padding: 40px 0 20px;
}

/* TITLES */
.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
}

/* UNDERLINE EFFECT */
.footer-title::after {
    content: '';
    width: 40px;
    height: 2px;
    background: #d4af37;
    display: block;
    margin-top: 5px;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #d4af37;
    padding-left: 5px;
}

/* LINE */
.footer-line {
    border-color: #444;
    margin: 20px 0;
}

/* BAR */
.announcement-bar {
    background: linear-gradient(to right, #8B0000, #b22222);
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* LABEL */
.label {
    background: #d4af37;
    color: black;
    padding: 0 15px;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* CONTAINER */
.announcement-container {
    overflow: hidden;
    width: 100%;
}

/* TRACK (IMPORTANT FIX) */
.announcement-track {
    display: inline-block;  /* 🔥 change from flex */
    white-space: nowrap;
    min-width: 200%;        /* 🔥 force long width */
    animation: scrollLeft 30s linear infinite;
}

/* TEXT */
.announcement-track span {
    display: inline-block;
    padding: 0 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* LATEST */
.latest {
    font-weight: bold;
    color: #ffd700;
}

/* BADGE */
.badge {
    background: yellow;
    color: red;
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* HOVER */
.announcement-track span:hover {
    text-decoration: underline;
}

/* PAUSE */
.announcement-container:hover .announcement-track {
    animation-play-state: paused;
}

/* 🔥 STRONG ANIMATION */
@keyframes scrollLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* ===== GALLERY PAGE ENHANCEMENT ===== */

/* GALLERY BOX (FULL PAGE) */
.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: 0.3s;
}

/* IMAGE */
.gallery-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}

/* HOVER EFFECT */
.gallery-box:hover img {
    transform: scale(1.1);
}

/* TITLE OVERLAY */
.gallery-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 14px;
    padding: 8px;
    text-align: center;
}

/* POPUP BACKGROUND */
.img-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* POPUP IMAGE */
.img-popup img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* CLOSE HINT */
.img-popup::after {
    content: "Click anywhere to close";
    position: absolute;
    bottom: 20px;
    color: #ccc;
    font-size: 12px;
}

/* CONTACT BOX */
.contact-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* INPUT STYLING */
.contact-box input,
.contact-box textarea {
    border-radius: 5px;
}

/* BUTTON ALIGN */
.contact-box button {
    font-weight: 600;
}
/* CARD */
.founder-card {
    position: relative;
    padding: 12px;
    border-radius: 15px;
    background: #fff;
    border: 2px solid #d4af37;
    text-align: center;
    transition: 0.3s;
}

/* IMAGE BOX */
.founder-img-box {
    border-radius: 12px;
    overflow: hidden;
}

/* IMAGE */
.founder-img-box img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* LABEL BOX */
/* LABEL BOX */
.founder-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);

    background: linear-gradient(to right, #8B0000, #a50000);
    color: #fff;

    padding: 10px 16px;
    border-radius: 25px;
    border: 2px solid #d4af37;

    width: 90%;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* NAME */
.founder-label strong {
    font-size: 14px;
    font-weight: 600;
}

/* DESIGNATION */
.founder-label span {
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
}

/* 🔥 GOLD ICON LEFT */
.founder-label::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #d4af37;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
}

/* 🔥 GOLD ICON RIGHT */
.founder-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #d4af37;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
}

.services-section
{
    margin-top:20px;
}

.service-card
{
    background:#fff;
    border-radius:18px;
    padding:35px 20px;
    transition:0.3s;
    height:100%;
    border:1px solid #ececec;
    box-shadow:0 4px 15px rgba(0,0,0,0.06);
}

.service-card:hover
{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.service-icon
{
    width:90px;
    height:90px;
    margin:0 auto 20px;
    border-radius:50%;
    background:linear-gradient(135deg,#ffb300,#ff7b00);
    display:flex;
    align-items:center;
    justify-content:center;
}

.service-icon i
{
    font-size:40px;
    color:#fff;
}

.service-card h5
{
    font-size:24px;
    font-weight:700;
    margin-bottom:10px;
    color:#222;
}

.service-card p
{
    font-size:16px;
    color:#666;
    margin:0;
}
@media (max-width: 768px) {
    .header-title {
        font-size: 18px;
    }

    .header-logo {
        height: 50px;
    }

    .top-header .col-md-2 {
        margin-bottom: 5px;
    }
}