

:root {
    /* ===== BRAND COLORS (LOGO MATCHING) ===== */
    --primary-color: #f28c1c;        /* Logo Orange */
    --primary-hover: #d97706;

    /* ===== BACKGROUNDS (LIGHT, NOT DARK) ===== */
    --dark-bg: #fff3e0;              /* Main page background */
    --card-bg: #ffffff;              /* Cards */
    --deep-card-bg: #fff8f0;         /* Section backgrounds */

    /* ===== TEXT ===== */
    --light-text: #2b2b2b;           /* Main text */
    --secondary-text: #6b6b6b;       /* Muted text */

    /* ===== BORDERS ===== */
    --border-color: #f1d3a5;

    /* ===== LIGHT MODE (SAME BRANDING) ===== */
    --lm-primary-color: #f28c1c;
    --lm-primary-hover: #d97706;

    --lm-dark-bg: #fff3e0;
    --lm-card-bg: #ffffff;
    --lm-deep-card-bg: #fff8f0;

    --lm-light-text: #2b2b2b;
    --lm-secondary-text: #6b6b6b;
    --lm-border-color: #f1d3a5;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--secondary-text);
}

body.light-mode {
    background-color: var(--lm-dark-bg);
    color: var(--lm-secondary-text);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--light-text);
    font-weight: 600;
}

body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4, body.light-mode h5, body.light-mode h6 {
    color: var(--lm-light-text);
}

.navbar {
    background-color: rgba(20, 20, 20, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid #EB9C5C;
    box-shadow: 0 2px 15px rgba(253, 126, 20, 0.4);
}

body.light-mode .navbar {
    background-color: rgba(255, 255, 255, 0.7) !important;
    border-bottom: 2px solid var(--lm-primary-color);
    box-shadow: 0 2px 15px rgba(13, 110, 253, 0.4);
}

.navbar-brand img {
    border-radius: 4px;
}

.navbar-brand {
    background-color: rgba(20, 20, 20, 0.7);
    padding: 5px;
    border-radius: 4px;
}

body.light-mode .navbar-brand {
    background-color: rgba(255, 255, 255, 0.7);
}

.nav-link {
    color: #FAB972;
}

body.light-mode .nav-link {
    color: var(--lm-primary-color);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

body.light-mode .nav-link:hover, body.light-mode .nav-link.active {
    color: #000000;
}

#heroCarousel .carousel-item {
    height: 60vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#heroCarousel .carousel-item::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

#heroCarousel .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
}

#heroCarousel .display-4 {
    color: var(--light-text);
    font-weight: 700;
}

.section-padding {
    padding: 4rem 0;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-mode .card {
    background-color: var(--lm-card-bg);
    border: 1px solid var(--lm-border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 191, 165, 0.1);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

.card-body {
    text-align: right;
}

.card-title {
    color: var(--primary-color);
}

body.light-mode .card-title {
    color: var(--lm-primary-color);
}

#services .card-title {
    color: #EB9C5C;
}

body.light-mode #services .card-title {
    color: var(--lm-primary-color);
}

#services .card-text {
    color: #ffffff;
}

body.light-mode #services .card-text {
    color: var(--lm-secondary-text);
}

.footer {
    background-color: var(--card-bg);
    color: var(--secondary-text);
    border-top: 1px solid var(--border-color);
}

body.light-mode .footer {
    background-color: var(--lm-card-bg);
    color: var(--lm-secondary-text);
    border-top: 1px solid var(--lm-border-color);
}

.modal-backdrop.show {
    opacity: 0.7;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-header {
    border-bottom: 0 none;
}

.modal-footer {
    border-top: 0 none;
}

.login-button .nav-link {
    background: linear-gradient(45deg, #EB9C5C, #FAB972);
    color: white !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(253, 126, 20, 0.4);
}

.login-button .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(253, 126, 20, 0.6);
}

.social-icon-btn {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.social-icon-btn i {
    font-size: 1.5rem;
}

#googleLogin {
    color: #ea4335;
    border-color: #ea4335;
}

#googleLogin:hover {
    background-color: #ea4335;
    color: white;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #555;
    margin: 0 10px;
}

.separator span {
    padding: 0 10px;
}

.separator span {
    color: var(--light-text);
    font-weight: 600;
}

body.light-mode .separator span {
    color: var(--lm-light-text);
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 99;
    font-size: 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items:center;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

#scrollToTopBtn:hover {
    background-color: #008c7a;
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 191, 165, 0.8);
    filter: drop-shadow(0 0 10px var(--primary-color));
}

@media (max-width: 768px) {
    .login-button .nav-link {
        width: auto;
        height: auto;
        padding: 5px 10px !important;
        border-radius: 5px;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-button {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .login-button .nav-link {
        width: 100%;
        text-align: center;
        padding: 10px !important;
        border-radius: 5px;
    }

    .navbar-collapse .d-flex {
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
    }

    .navbar-collapse .d-flex .form-control {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }

    .navbar-collapse .d-flex .btn {
        width: 100%;
    }
}

.whatsapp-btn {
}

.whatsapp-btn:hover {
}

.whatsapp-contact-btn {
    background-color: #1E8449;
    border-color: #1E8449;
    color: white;
    transition: all 0.3s ease;
}

.whatsapp-contact-btn:hover {
    background-color: #176F3B;
    border-color: #176F3B;
}

.offcanvas-header {
    border-bottom: 1px solid var(--border-color);
}

body.light-mode .offcanvas-header {
    border-bottom: 1px solid var(--lm-border-color);
}

.offcanvas-title {
    color: var(--light-text);
}

body.light-mode .offcanvas-title {
    color: var(--lm-light-text);
}

.offcanvas-body .nav-link {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

body.light-mode .offcanvas-body .nav-link {
    color: var(--lm-secondary-text);
}

.offcanvas-body .nav-link:hover {
    color: var(--primary-color);
}

body.light-mode .offcanvas-body .nav-link:hover {
    color: var(--lm-primary-color);
}

.offcanvas.bg-dark {
    background-color: #fff8f0 !important;   /* Soft light orange */
}

body.light-mode .offcanvas.bg-dark {
    background-color: #fff3e0 !important;   /* Light brand background */
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #fff3e0 !important;
}

.btn-outline-light {
    --bs-btn-color: #f28c1c;            /* Logo orange text */
    --bs-btn-border-color: #f28c1c;

    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #f28c1c;
    --bs-btn-hover-border-color: #f28c1c;

    --bs-btn-focus-shadow-rgb: 242, 140, 28;

    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #d97706;
    --bs-btn-active-border-color: #d97706;

    --bs-btn-disabled-color: #f28c1c;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #f1d3a5;

    --bs-gradient: none;
}


.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

body.light-mode .btn-close {
    filter: none;
}

.whatsapp-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #25D366;
    border: 1px solid #25D366;
    box-shadow: none;
    transform: none;
    text-decoration: none;
}

.whatsapp-link:hover {
    background-color: #0A3D0A;
    color: white;
    border-color: #0A3D0A;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: none;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas-end {
        display: none;
    }

    :root {
        --lm-dark-bg: #fff3e0;          /* Light orange background */
        --lm-secondary-text: #2b2b2b;  /* Dark readable text */
    }


    #about, #services, #contact {
        background-color: var(--card-bg);
        border-radius: 0;
        padding: 4rem;
        /* margin-bottom: 2rem; */
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    }

    body.light-mode #about, body.light-mode #services, body.light-mode #contact {
        background-color: var(--lm-card-bg);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    }
}

.offcanvas-open .navbar {
    display: none;
}

.offcanvas-body .dropdown-menu {
    background-color: #000000;
    border: 1px solid #EB9C5C;
}

body.light-mode .offcanvas-body .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid var(--lm-primary-color);
}

.offcanvas-body .dropdown-item {
    color: #FAB972;
}

body.light-mode .offcanvas-body .dropdown-item {
    color: var(--lm-primary-color);
}

.offcanvas-body .dropdown-item:hover {
    background-color: #EB9C5C;
    color: #ffffff;
}

body.light-mode .offcanvas-body .dropdown-item:hover {
    background-color: var(--lm-primary-color);
    color: #ffffff;
}

.search-container {
    position: relative;
}

#searchIcon {
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
    padding: 10px;
    display: inline-block;
}

body.light-mode #searchIcon {
    color: var(--lm-light-text);
}

#searchForm {
    display: flex;
    margin-top: 10px;
    transition: all 0.3s ease;
}

#contactSubmenu .nav-link {
    font-size: 1rem;
    color: var(--secondary-text);
}

body.light-mode #contactSubmenu .nav-link {
    color: var(--lm-secondary-text);
}

#contactSubmenu .nav-link:hover {
    color: var(--primary-color);
}

body.light-mode #contactSubmenu .nav-link:hover {
    color: var(--lm-primary-color);
}

.nav-link[data-bs-toggle="collapse"] .fa-chevron-down {
    transition: transform 0.3s ease;
}

.nav-link[data-bs-toggle="collapse"][aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.offcanvas-body .login-button .nav-link {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 5px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    padding: 10px !important;
}

.offcanvas-body .login-button .nav-link:hover {
    background-color: #00a795;
}

@media (max-width: 767px) {
    #services .card-img-top {
        height: 120px;
    }
}

/* #about {
    margin-top: 2rem;
} */

@media (min-width: 768px) {
    #contact .row {
        gap: 2rem;
        justify-content: center;
    }

    #contact .col-md-4 {
        background-color: var(--deep-card-bg);
        padding: 2rem;
        border-radius: 15px;
        flex: 1;
    }

    body.light-mode #contact .col-md-4 {
        background-color: var(--lm-deep-card-bg);
    }
}

#services .card {
    background-color: var(--deep-card-bg);
}

body.light-mode #services .card {
    background-color: var(--lm-deep-card-bg);
}

#contactSubmenu li {
    margin-bottom: 0.5rem;
}

.section-frame {
  border-top: 2px solid darkorange;
  padding: 20px;
  margin-bottom: 20px;
}

body.light-mode .section-frame {
    border-top: 2px solid var(--lm-primary-color);
}

#services .card-title {
    text-align: center;
}

#services .card {
    position: relative;
    overflow: hidden;
}

.card-hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#services .card:hover .card-hover-text {
    opacity: 1;
}

.about-text {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-image {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-image.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.modal-body {
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    background-color: #1a1a1a;
}

body.light-mode .modal-body {
    background-color: #f8f9fa;
}


.modal-header {
    background-color: #f28c1c !important;
    border-bottom: none;
}



.modal-body h4 {
    color: #FAB972;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

body.light-mode .modal-body h4 {
    color: var(--lm-primary-color);
}

.modal-body p {
    color: #e9ecef;
    line-height: 1.6;
}

body.light-mode .modal-body p {
    color: var(--lm-secondary-text);
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

body.light-mode .modal-body ul li {
    color: #000000;
}

.modal-body ul li i {
    margin-right: 0.5rem;
    color: #EB9C5C;
}

body.light-mode .modal-body ul li i {
    color: var(--lm-primary-color);
}

.futuristic-modal .modal-content {
    background-color: #000000;
    border: none;
    border-top: none;
    border-radius: 10px;
    box-shadow: none;
    text-shadow: none;
}

body.light-mode .futuristic-modal .modal-content {
    background-color: #ffffff;
}

.futuristic-modal .modal-header {
    border-bottom: 1px solid #FAB972;
}

body.light-mode .futuristic-modal .modal-header {
    border-bottom: 1px solid var(--lm-primary-color);
}

.futuristic-modal .modal-footer {
    border-top: 1px solid #FAB972;
}

body.light-mode .futuristic-modal .modal-footer {
    border-top: 1px solid var(--lm-primary-color);
}

.futuristic-modal .form-control {
    background-color: #1a1a1a;
    border: 1px solid #555;
    color: var(--light-text);
    border-radius: 5px;
}

body.light-mode .futuristic-modal .form-control {
    background-color: #f8f9fa;
    border: 1px solid var(--lm-border-color);
    color: var(--lm-light-text);
}

.futuristic-modal .form-control:focus {
    background-color: #1a1a1a;
    border-color: #EB9C5C;
    box-shadow: none;
    color: var(--light-text);
}

body.light-mode .futuristic-modal .form-control:focus {
    background-color: #f8f9fa;
    border-color: var(--lm-primary-color);
    color: var(--lm-light-text);
}

.futuristic-modal .btn-primary {
    background-color: #EB9C5C;
    border-color: #EB9C5C;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.futuristic-modal .btn-primary:hover {
    background-color: #FAB972;
    border-color: #FAB972;
    box-shadow: none;
}

body.light-mode .futuristic-modal .btn-primary {
    background-color: var(--lm-primary-color);
    border-color: var(--lm-primary-color);
}

body.light-mode .futuristic-modal .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.futuristic-modal a {
    color: #FAB972;
    text-decoration: none;
}

body.light-mode .futuristic-modal a {
    color: var(--lm-primary-color);
}

.futistic-modal a:hover {
    color: #EB9C5C;
    text-decoration: underline;
}

body.light-mode .futistic-modal a:hover {
    color: #0b5ed7;
}

.futuristic-modal .modal-footer p {
    margin-bottom: 0.5rem;
}

.modal-title {
    color: #153937 !important;
}

body.light-mode .modal-title {
    color: #ffffff !important;
}

.form-check-label {
    color: var(--light-text);
}

body.light-mode .form-check-label {
    color: var(--lm-light-text);
}

body.light-mode .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.light-mode #contact {
    color: var(--lm-light-text);
}
