:root {
    --primary: #ffcc00;
    --primary-dark: #FFA62F;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
}

@font-face {
    font-family: 'gilroy';
    src: url("../gilroy/") format("truetype");
    font-display: swap;
}

body {
    font-family: gilroy, 'Poppins', sans-serif;
    /* overflow-x: hidden; */
    color: var(--dark);
    background-color: #f9f9f9;
}


/* --------------------------------------------------NAVBAR -------------------------------------------------- */
.navbar {
    /* padding: 20px 0; */
    transition: all 0.3s;
    background-color: #fbfbfb;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: white !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
}

.navbar-brand span {
    color: var(--dark);
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    transition: color .25s;
}

.nav-link:is(:hover, :focus) {
    color: #ffcc00;
}

.login-btn img {
    height: 1rem;
}

.login-btn button {
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    /* background: var(--light); */
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s;
}

.login-btn button:is(:hover, :focus-visible) {
    background: #f1f1f1;
}



/* -------------------------------------------------- SERVICES SECTION -------------------------------------------------- */
/* Modern Service Cards */
.services-section {
    margin: 50px 0 0 0;
}
.modern-service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform .18s cubic-bezier(.42,.16,.57,.99), box-shadow .18s;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 350px;
}

.highlight {
    color: var(--primary-dark);
}

.modern-service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 6px 32px rgba(0,0,0,0.13);
}

.modern-service-card .service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.5s cubic-bezier(.42,.16,.57,.99);
}

.modern-service-card:hover .service-img {
    transform: scale(1.10);
}

.modern-service-card .card-body {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.icon-circle, .feature-list li i{
    transition: color 0.3s;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-dark, #ffcc00);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(255,204,0,0.15);
  transition: background 0.3s, color 0.3s;
}

.modern-service-card h5 {
  font-weight: 700;
  margin-bottom: .35rem;
  color: #212529;
  font-size: 1.28rem;
}

.modern-service-card p {
  color: #4B5563;
  margin-bottom: 1.1rem;
  font-size: 1.01rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #212529;
  margin-bottom: .6rem;
  gap: 7px;
}

.feature-list li i {
  color: var(--primary-dark, #ffcc00);
  font-size: 1.2rem;
  transition: none;
}

/* On card hover, icon colors become black */
.modern-service-card:hover .icon-circle,
.modern-service-card:focus-within .icon-circle {
  background: #111 !important; /* Background turns black */
  color: #fff !important;      /* Icon stays white */
}

.service-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.65rem 1.7rem;
  background: var(--primary-dark, #FFA62F);
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  font-size: 0.8rem;
  /*letter-spacing: 0.01em;*/
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(255,166,47,0.09);
  transition: background 0.23s, color 0.2s, box-shadow 0.23s, transform 0.15s;
}

.service-btn:hover,
.service-btn:focus {
  background: #111;
  /*color: #ffcc00 !important;*/
  box-shadow: 0 4px 20px rgba(17,17,17,0.11);
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 767.98px) {
  .modern-service-card .service-img { height: 130px; }
  .modern-service-card .card-body { padding: 1rem 1rem 0.7rem 1rem; }
  .modern-service-card h5 { font-size: 1rem; }
  .modern-service-card p { font-size: 0.8rem; }
  
  .card-2, .card-3 {
      margin: 3rem 0 0 0;
  }
}



















/* -------------------------------------------------- FOOTER -------------------------------------------------- */

.footer-section {
    position: relative;
    overflow: hidden;
    background-color: #212529;
    /* Ensures dark background */
}

/* Animated background effect */
.footer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    animation: footer-bg-animation 15s infinite linear;
    z-index: 0;
}

@keyframes footer-bg-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Main content container */
.footer-section .container {
    position: relative;
    z-index: 1;
}

/* Column spacing fixes */
.footer-section .row.g-4>[class^="col-"] {
    padding-right: 1rem;
    padding-left: 1rem;
}

/* Brand logo alignment */
.footer-brand {
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand img {
    width: 40px;
    height: auto;
}

/* Section headings */
.footer-section h5 {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #FFA62F;
}

/* Links styling */
.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #adb5bd !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white !important;
    transform: translateX(5px);
}

/* Contact info alignment */
.contact-info li {
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-info i {
    font-size: 1.1rem;
    margin-top: 0.2rem;
    color: #ADB5BD;
}

.contact-info span {
    font-size: 0.95rem;
    color: #ADB5BD;
}

/* Newsletter form */
.newsletter .input-group {
    border-radius: 0.25rem;
    overflow: hidden;
}

.newsletter .form-control {
    border-right: none;
    font-size: 0.9rem;
}

.newsletter .btn {
    border-left: none;
    padding: 0.5rem 1rem;
    background-color: var(--gray);
}

.newsletter p {
    color: #ADB5BD;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #FFA62F;
    transform: translateY(-3px);
}

/* Copyright section */
.border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}

.footer-bottom-links .list-inline-item:not(:last-child) {
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .footer-section [class^="col-"] {
        margin-bottom: 2rem;
    }

    .footer-section h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .footer-section {
        text-align: center;
    }

    .footer-brand,
    .social-icons,
    .contact-info li {
        justify-content: center;
    }

    .footer-section h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .newsletter .input-group {
        max-width: 100%;
    }

    .footer-bottom-links {
        justify-content: center !important;
    }

    .footer-bottom-links .list-inline-item {
        margin: 0 0.5rem 0.5rem 0;
    }
}

/* -------------------------------------------------- Fixed Icons Lower Left --------------------------------------------------*/
.fixed-contact-icons {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  color: #FFA62F;
  font-size: 2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.contact-icon.call-icon:hover {
  background: #FFA62F;
  color: #fff;
}
.contact-icon.whatsapp-icon {
  color: #25D366;
}
.contact-icon.whatsapp-icon:hover {
  background: #25D366;
  color: #fff;
}

/* Responsive adjustments for mobile */
@media (max-width: 576px) {
  .fixed-contact-icons {
    bottom: 15px;
    left: 10px;
  }
  .contact-icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}

/*-------------------------------------------------- Up Arrow fixed lower right --------------------------------------------------*/
.fixed-up-arrow {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: #FFA62F;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  outline: none;
}
.fixed-up-arrow:hover {
  background: #ff8200;
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
}

/* Hide button by default on small screens (optional, you can show always if you like) */
@media (max-width: 576px) {
  .fixed-up-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    bottom: 15px;
    right: 10px;
  }
}
