/* Sadacnet Brand Color Overrides */
:root {
    --primary: #EE1C25;    /* Sadacnet Red */
    --secondary: #000000;  /* Sadacnet Black */
    --light: #F8F9FA;
    --dark: #1A1A1A;
}

/* Force Buttons to Sadacnet Red */
.btn-primary {
    background-color: #EE1C25 !important;
    border-color: #EE1C25 !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #c41017 !important; /* Darker red for hover */
    border-color: #c41017 !important;
}

/* Force Icons and Text to Sadacnet Red */
.text-primary, 
.fa, 
.bi {
    color: #EE1C25 !important;
}

/* Navbar and Footer (Black Theme) */
.navbar-dark, 
.footer {
    background-color: #000000 !important;
}

/* Topbar or Small Accents */
.bg-primary {
    background-color: #EE1C25 !important;
}
/* Footer Text Visibility Fix */
.footer, 
.container-fluid.footer {
    background-color: #000000 !important; /* The Black background */
    color: #ffffff !important;           /* Forces all text to White */
}

/* Fix for footer links (Home, About, etc.) */
.footer a {
    color: rgba(255, 255, 255, 0.7) !important; /* Slightly faded white for links */
    transition: 0.3s;
}

.footer a:hover {
    color: #EE1C25 !important; /* Sadacnet Red on hover */
}

/* Fix for footer headings */
.footer h4, .footer h1 {
    color: #ffffff !important;
}

/* Fix for contact icons (phone, email, etc.) */
.footer i {
    color: #EE1C25 !important; /* Sadacnet Red for icons to pop */
}

/* Copyright section at the very bottom */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #111111 !important;
    color: #ffffff !important;
}
/* Fix Footer Social Media Icons Visibility */
.footer .btn-md-square {
    background-color: #ffffff !important; /* White circle background */
    color: #EE1C25 !important;            /* Sadacnet Red icon color */
    border: none;
    transition: 0.5s;
}

/* Hover effect: Flip colors */
.footer .btn-md-square:hover {
    background-color: #EE1C25 !important; /* Red background on hover */
    color: #ffffff !important;            /* White icon on hover */
}

/* Ensure the icons inside the circles are visible */
.footer .btn-md-square i {
    color: inherit !important; 
}
/* Make Footer Social Icons White and Visible */
.footer .btn-md-square {
    color: #ffffff !important;            /* White Icon */
    border: 1px solid #ffffff !important; /* White Border */
    background: transparent !important;   /* Transparent background */
}

/* Hover Effect: Turn Red when mouse is over them */
.footer .btn-md-square:hover {
    background-color: #EE1C25 !important; /* Sadacnet Red */
    color: #ffffff !important;
    border-color: #EE1C25 !important;
}

/* Ensure the footer brand name "The office canteen" is white */
.footer .text-dark {
    color: #ffffff !important;
}
/* GLOBAL BRAND COLOR OVERRIDE */
:root {
    --bs-primary: #EE1C25 !important; /* Sadacnet Red */
    --primary: #EE1C25 !important;
}

/* Force change all Red elements to Sadacnet Red */
.text-primary, .btn-primary, .bg-primary, .fa, .fas, .bi {
    color: #EE1C25 !important;
}

/* Force change all Backgrounds (Buttons, Badges) to Sadacnet Red */
.btn-primary, .bg-primary, .faqt-item.bg-primary {
    background-color: #EE1C25 !important;
    border-color: #EE1C25 !important;
}

/* FIX: Footer Social Media Icons Visibility */
/* This makes them White by default so they pop against the black footer */
.footer .btn-md-square {
    color: #ffffff !important;            /* White Icon */
    border: 1px solid #ffffff !important; /* White Border */
    background: transparent !important;   /* Transparent background */
}

/* Hover Effect: Turn them Red when you point at them */
.footer .btn-md-square:hover {
    background-color: #EE1C25 !important; 
    color: #ffffff !important;
    border-color: #EE1C25 !important;
}
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 400 !important;
    font-family: 'Playball', cursive !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif !important;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.wow,
.animated {
    animation-duration: 2s !important;
}


/*** Button Start ***/
/*** UPDATED BUTTON STYLES ***/

/* 1. Base Button Styles */
.btn {
    font-weight: 700;             /* Bold text like the image */
    font-family: 'Open Sans', sans-serif; /* Clean sans-serif font */
    text-transform: capitalize;   /* Matches "Get Started" casing */
    padding: 12px 35px;           /* Provides the long, pill-like stretch */
    border-radius: 50px !important; /* Forces the "Pill" shape from the image */
    transition: .5s;
    border: none !important;
}

/* 2. Primary Button (Sadacnet Red) */
.btn-primary {
    background-color: #EE1C25 !important; /* Sadacnet Red */
    color: #ffffff !important;           /* Pure white text */
    box-shadow: 0 4px 15px rgba(238, 28, 37, 0.3); /* Optional: adds subtle depth */
}

/* 3. Hover State */
.btn-primary:hover {
    background-color: #000000 !important; /* Flips to black on hover */
    color: #ffffff !important;
    transform: translateY(-2px);          /* Slight lift effect */
}

/* Fix for small square buttons (Social Icons) so they stay circles */
.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square {
    padding: 0 !important;
    border-radius: 50% !important; 
}
/*** Button End ***/


/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-light);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

#searchModal .modal-content {
    background-color: rgba(255, 255, 255, .95);
}
/*** Navbar End ***/


/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(212, 167, 98, 0.7);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}
/*** Events End ***/


/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important;
}

.service-item:hover .service-content-icon p {
    color: var(--bs-white);
}

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}
/*** Services End ***/


/*** Menu Start ***/
.menu .nav-item a.active {
    background: var(--bs-primary) !important;
}

.menu .menu-item .border-bottom {
    border-bottom-style: dashed !important;
}
/*** Menu End ***/


/*** Youtube Video start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(254, 218, 154, 0.1), rgba(254, 218, 154, 0.1)), url(../img/fact.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-white);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background:#FF0000  ;
    opacity: 1;
}
/*** Youtube Video End ***/


/*** Blog Start ***/
.blog-item {
    position: relative;
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.3)
}

.blog-item .blog-content {
    position: relative;
    transform: translateY(-50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item .blog-content a.btn h5 {
    transition: 0.5s;
}

.blog-item:hover .blog-content a.btn h5 {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/


/*** Team Start ***/
.team-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-item .team-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.team-item .team-icon .share-link {
    opacity: 0;
    transition: 0.9s;
}

.team-item:hover .share-link {
    opacity: 1;
}

.team-item .team-content {
    transition: 0.9s;
}

.team-item:hover .team-content {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.team-item .team-content h4,
.team-item .team-content p {
    transition: 0.5s;
}

.team-item:hover .team-content h4 {
    color: var(--bs-dark) !important;
}

.team-item:hover .team-content p {
    color: var(--bs-white);
}
/* Forces all team images to be the same height */
.team-item img {
    width: 100%;
    height: 350px; /* Adjust this height to your liking */
    object-fit: cover; /* This crops the image to fit the box perfectly */
    object-position: top; /* Ensures heads aren't accidentally cut off */
}

/* Ensures the black name boxes are the same height too */
.team-content {
    min-height: 100px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.team-icon {
    top: 15px;
    right: 15px;
}

.team-icon a {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
/* Uniform sizing for menu images */
.menu-item img {
    width: 80px !important;  /* Adjust size as needed */
    height: 80px !important; /* Must match width for a perfect circle */
    object-fit: cover;       /* Crops the image to fill the area without distortion */
}
/* ===== Home Page Enhancement (NO color or image change) ===== */

/* Smooth transitions everywhere */
* {
    transition: all 0.3s ease-in-out;
}

/* Buttons – subtle premium feel */
.btn {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Section spacing for breathing room */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Card hover effect (menu, blog, team, testimonials) */
.card,
.service-item,
.team-item,
.blog-item,
.testimonial-item {
    border-radius: 12px;
}

.card:hover,
.service-item:hover,
.team-item:hover,
.blog-item:hover,
.testimonial-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Images stay same – just smoother */
img {
    object-fit: cover;
}

/* Navbar improvement (no color change) */
.navbar-nav .nav-link {
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    letter-spacing: 0.8px;
}

/* Footer image hover (subtle) */
footer img:hover {
    transform: scale(1.05);
}

/* Optional: Uniform sizing for footer gallery images */
.footer-item .col-4 img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial-item {
    border: 1px solid var(--bs-primary);
    padding: 20px 20px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel.owl-rtl .testimonial-item {
    direction: ltr !important;
}
/*** testimonial End ***/


/*** Contact start ***/
.contact-form {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

/*** Contact End ***/


/*** Footer Start ***/
.footer .footer-item a.text-body:hover {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    padding: 14px 16px;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.whatsapp-float:hover {
    color: #fff;
}






