/* @import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&family=Roboto+Condensed:wght@300;400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css?family=Muli:300,700&display=swap');
:root {
  --primary-bg: #0f172a;
  /* deep navy / almost black */
  --secondary-bg: #1e293b;
  --card-bg: rgba(32, 43, 56, 0.75);
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --accent-green: #20c997;
  /* bootstrap success green */
  --accent: #0dcaf0;
  --accent-hover: #17a2b8;
  --accent-green-hover: #1baa7d;
  --border-light: rgba(255, 255, 255, 0.08);
  --success: #28a745;
    --success-dark: #218838;
    --danger: #dc3545;
  
}

 body {
    /* font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; */
    font-family: "Muli", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}
h1, h2, h3, h4, h5, h6 {
  /* font-family: "Inter", system-ui, sans-serif; */
    font-family: "Muli", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; }
h2 { font-size: 32px; line-height: 1.1; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }


/* Main Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(6px);
}

/* Brand Logo */
.navbar-brand {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: var(--text-light) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}


.logo-img {
    height: 34px;
    width: auto;
}

/* Nav Links - Desktop */
.navbar-nav .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 1rem;
    transition: all 0.25s ease;
    position: relative;
    margin: 0 14px;
}

/* Hover Effect - Green Underline */
.navbar-nav .nav-link:hover {
    color: var(--accent-green-hover);
    
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-green);
    opacity: 0;                    /* ← start invisible */
    transition: opacity 0.25s ease;
    pointer-events: none;
}

/* Active Link - Desktop */
.navbar-nav .nav-link.active {
    color: var(--accent-green) !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-green);
    border-radius: 3px;
    opacity: 1;
}

/* Dropdown Menu */
.dropdown-menu {
    background: var(--secondary-bg);
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.dropdown-item {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 9px 15px;
    transition: all 0.25s ease;
}


.dropdown-item:hover {
    background: rgba(32,201,151,0.12);
    color: var(--accent-green);
    padding-left: 20px;
}

/* Mega Menu Groups */
.dropdown-item-group h5 {
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 5px;
}

/* ============================
   MEGA MENU - DESKTOP
============================ */

@media (min-width: 992px) {
    .dropdown-mega {
        left: 50%;
        transform: translateX(-50%);
        width: min(1100px, 92vw);
        max-width: 92vw;
        padding: 22px;
        overflow: hidden;
    }

    .dropdown-mega-content {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .dropdown-item-group {
        background: rgba(255,255,255,0.03);
        border: 1px solid var(--border-light);
        border-radius: 14px;
        padding: 14px 14px 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.35);
        transition: all 0.3s ease;
        min-width: 0;
    }

    .dropdown-item-group:hover {
        transform: translateY(-2px);
        border-color: rgba(32,201,151,0.35);
        box-shadow: 
            0 14px 32px rgba(0,0,0,0.45),
            0 0 0 1px rgba(32,201,151,0.35),
            0 0 18px rgba(32,201,151,0.15);
    }
}
@media (min-width: 992px) {
    .dropdown-toggle::after {
        content: " ▼";
        font-size: 0.7em;
        margin-left: 0.4em;
        transition: transform 0.2s ease;
    }

    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);   /* flip arrow up when open */
    }
}

/* ============================
   MEGA MENU - MOBILE/TABLET
============================ */

@media (max-width: 991px) {
    .dropdown-mega {
        min-width: 100%;
        max-height: 55vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-green) transparent;
        padding: 12px;
    }

    .dropdown-mega::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown-mega::-webkit-scrollbar-track {
        background: transparent;
    }

    .dropdown-mega::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, var(--accent-green), var(--accent));
        border-radius: 10px;
    }

    .dropdown-mega::-webkit-scrollbar-thumb:hover {
        background: var(--accent-green-hover);
    }

    .dropdown-mega-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ============================
   MOBILE NAVIGATION
============================ */

@media (max-width: 991px) {
    /* Mobile Collapse Menu */
    .navbar-collapse {
        background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
        margin-top: 12px;
        border-radius: 16px;
        padding: 18px;
        border: 1px solid var(--border-light);
        box-shadow: 0 20px 45px rgba(0,0,0,0.5);
        animation: slideFade 0.35s ease forwards;
    }

    @keyframes slideFade {
        from {
            opacity: 0;
            transform: translateY(-12px) scale(0.98);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* Mobile Nav Items */
    .navbar-nav {
        gap: 6px;
    }

    .navbar-nav .nav-item {
        border-radius: 12px;
        overflow: hidden;
    }

    .navbar-nav .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        background: rgba(255,255,255,0.02);
        border: 1px solid var(--border-light);
        border-radius: 12px;
    }

    /* Remove underline effects on mobile */
    .navbar-nav .nav-link::after {
        display: none !important;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(32,201,151,0.15);
        border-color: rgba(32,201,151,0.35);
        color: var(--accent-green-hover);
    }

    /* Active Link - Mobile */
    .navbar-nav .nav-link.active {
        background: rgba(32,201,151,0.18);
        /* border-left: 4px solid var(--accent-green); */
        color: var(--accent-green) !important;
        padding-left: 12px !important;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 10px;
        border-radius: 12px;
    }

    .dropdown-item {
        padding: 10px 14px;
        border-radius: 10px;
    }
}

/* ============================
   NAVBAR TOGGLER
============================ */

.navbar-toggler {
    border: 1px solid var(--border-light);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-dark .navbar-toggler-icon {
    filter: brightness(1.4);
}

/* hover mega drop down */


/* end navbar styles */

/* carousel styles */
.carousel-item {
  height: 100vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Adjust the overlay to not be too dark */
.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  /* Reduced opacity from 0.5 to 0.4 */
}
/* Ensure captions are visible */
.carousel-caption {
  bottom: 180px;
  z-index: 2;
  background: rgba(32, 43, 56, 0.7);
  backdrop-filter: blur(5px);
  /* Reduced blur from 10px to 5px */
  border-radius: 10px;
  padding: 20px;
  left: 15%;
  right: 15%;
  transform: none;
  /* Removed initial transform */
  opacity: 1;
  /* Always visible */
  transition: all 0.5s ease;
}
/* Animation only on active state */
.carousel-item:not(.active) .carousel-caption {
  opacity: 0;
  transform: translateY(20px);
}

.carousel-item.active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
  .carousel-caption {
    bottom: 100px;
    left: 10%;
    right: 10%;
  }

  .carousel-caption h5 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .carousel-caption {
    bottom: 60px;
    padding: 15px;
  }

  .carousel-caption h5 {
    font-size: 1.3rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* carousel end */

/* client carousel */
/* Client Carousel Section */
.clients-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(32, 201, 151, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(32, 201, 151, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Header */
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Slider Wrapper */
.client-slider-wrapper {
    position: relative;
    padding: 20px 0;
    height: auto;
}

.slider-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.left-overlay {
    left: 0;
    background: linear-gradient(90deg, var(--primary-bg) 0%, transparent 100%);
}

.right-overlay {
    right: 0;
    background: linear-gradient(270deg, var(--primary-bg) 0%, transparent 100%);
}

/* Main Slider */
.client-slider {
    position: relative;
    margin: 0 -15px;
    overflow: hidden;

    min-height: clamp(180px, 22vh, 260px);
}



.client-track {
    display: flex;
    gap: 70px;
    animation: scrollLeft 40s linear infinite;
    width: max-content;
    padding: 20px 0;
}

/* Pause animation on hover */
.client-slider:hover .client-track {
    animation-play-state: paused;
}

/* Client Logo Container */
.client-logo {
    position: relative;
    padding: 25px 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 120px;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--accent-green);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(32, 201, 151, 0.3),
        0 0 25px rgba(32, 201, 151, 0.15);
    background: rgba(32, 43, 56, 0.95);
}

.client-logo img {
    height: 60px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.4);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Tooltip */
.client-tooltip {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.client-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--card-bg);
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
}

.client-logo:hover .client-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Animation */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 35px));
    }
}

/* Client Statistics */
.client-stats {
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
}

.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .clients-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .slider-overlay {
        width: 80px;
    }
    
    .client-logo {
        min-width: 160px;
        height: 100px;
        padding: 20px 30px;
    }
    
    .client-logo img {
        height: 50px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .client-track {
        gap: 40px;
        animation-duration: 30s;
    }
    
    .client-logo {
        min-width: 140px;
        height: 90px;
        padding: 15px 25px;
    }
    
    .client-logo img {
        height: 45px;
    }
    
    .slider-overlay {
        width: 50px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .client-track {
        gap: 30px;
    }
    
    .client-logo {
        min-width: 120px;
        height: 80px;
        padding: 12px 20px;
    }
    
    .client-logo img {
        height: 40px;
    }
    
    .client-tooltip {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .client-track {
        animation: none;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        width: 100%;
    }
    
    .client-slider {
        overflow: visible;
    }
    
    .slider-overlay {
        display: none;
    }
}
/* end client carousel */

/* core services */
/* ====== Enhanced Cards ====== */
.card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px !important;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), 0 10px 10px rgba(0, 0, 0, 0.1);
}

.card-body i {
  transition: all 0.3s ease;
  color: #28a745;
}

.card:hover .card-body i {
  transform: scale(1.2);
  color: #218838;
}

/* Gradient background for dark cards */
.card.bg-dark {
  background: linear-gradient(135deg, #1a2a3a 0%, #202B38 100%) !important;
}

/* ====== Enhanced Buttons ====== */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #218838 100%);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
}

/* Button ripple effect */
.btn:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform .5s, opacity 1s;
}

.btn:active:after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* ====== Enhanced Sections ====== */
/* end core services */

/* services.php image and section */
/* ====== Enhanced Sections ====== */
section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('Assets/Images/dots.png') repeat;
  opacity: 0.03;
  pointer-events: none;
}

/* ====== Floating Animation for Images ====== */
.floating-img {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ====== Enhanced Footer ====== */
/* end services.php images and section */

/* aboutpage.php time line css */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #28a745;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid #28a745;
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item:nth-child(odd)::after {
    right: -12px;
}
.timeline-item:nth-child(even)::after {
    left: -12px;
}
.timeline-content {
    padding: 20px 30px;
    position: relative;
}
.tech-icon {
    transition: transform 0.3s ease;
}
.tech-icon:hover {
    transform: scale(1.1);
}
.floating-img {
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
/* end aboutpage.php time line css */

/* footer styles */
.footer-dark {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-section-title {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-green);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-green);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.9rem;
    color: var(--accent-green);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-text h6 {
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-text p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-3px);
    color: white;
}

.social-link i {
    font-size: 1.2rem;
}

.newsletter-form {
    margin-top: 1.5rem;
}

.newsletter-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    margin-bottom: 10px;
}

.newsletter-input:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-green);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.2);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-hover) 100%);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--accent-green-hover) 0%, var(--accent-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.3);
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    margin-top: 3rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-green);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 201, 151, 0.4);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.service-tag {
    background: rgba(32, 201, 151, 0.1);
    border: 1px solid rgba(32, 201, 151, 0.2);
    color: var(--accent-green);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Animation for footer elements */
.footer-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.footer-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
/* end footer styles */

/* contact.php  */
/* Global Styles for Contact Page */
.contact-page {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    font-family: 'Inter Tight', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text-light);
    min-height: 100vh;
}

/* Card Styles */
.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.contact-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-input:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-green);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.2);
}

.contact-input::placeholder {
    color: var(--text-muted);
}

.contact-select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px 15px;
}

.contact-select:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.2);
}

.contact-textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px 15px;
    min-height: 120px;
    resize: vertical;
}

.contact-textarea:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.2);
}

/* Button Styles */
.btn-contact {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-hover) 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contact:hover {
    background: linear-gradient(135deg, var(--accent-green-hover) 0%, var(--accent-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.3);
    color: white;
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

/* Badge Styles */
.service-badge {
    background: rgba(32, 201, 151, 0.15);
    border: 1px solid rgba(32, 201, 151, 0.3);
    color: var(--accent-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Icon Styles */
.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(32, 201, 151, 0.15);
    border: 1px solid rgba(32, 201, 151, 0.3);
}

.icon-wrapper i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

/* Alert Styles */
.contact-alert {
    background: rgba(32, 43, 56, 0.9);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Map Styles */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Item */
.service-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(32, 201, 151, 0.1);
    border-color: var(--accent-green);
    transform: translateX(5px);
}

.service-item i {
    color: var(--accent-green);
}

/* Checkbox Styles */
.form-check-input:checked {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

/* Label Styles */
.form-label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Required Asterisk */
.text-danger {
    color: #ff6b6b !important;
}

/* Success Modal */
.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-light);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
}

.modal-footer {
    border-top: 1px solid var(--border-light);
}

/* Countdown Text */
.countdown-text {
    color: var(--accent-green);
    font-weight: bold;
}
/* Standard */
#message::placeholder {
    color: #6c757d; /* Bootstrap gray */
    opacity: 1; /* Firefox fix */
}

/* Chrome, Safari, Edge */
#message::-webkit-input-placeholder {
    color: #6c757d;
}

/* Firefox */
#message::-moz-placeholder {
    color: #6c757d;
}

/* Internet Explorer 10–11 */
#message:-ms-input-placeholder {
    color: #6c757d;
}

/* end contact.php styles */

/* tickets.php styles */
.hero-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        color: var(--text-light);
        padding: 100px 0;
        position: relative;
        overflow: hidden;
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: rgba(255, 255, 255, 0.03);
        transform: rotate(30deg);
    }

    .feature-card {
        border: 1px solid var(--border-light);
        border-radius: 15px;
        background: var(--card-bg);
        backdrop-filter: blur(8px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        transition: transform 0.3s, box-shadow 0.3s;
        height: 100%;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 30px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .feature-icon.requester {
        background: linear-gradient(135deg, var(--accent), var(--accent-hover));
        color: white;
    }

    .feature-icon.technician {
        background: linear-gradient(135deg, var(--accent-green), var(--accent-green-hover));
        color: white;
    }

    .feature-icon.admin {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: white;
    }

    .btn-gradient {
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
        border: none;
        color: white;
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: 600;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .btn-gradient:hover {
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(13, 202, 240, 0.3);
    }

    .stats-section {
        background-color: var(--secondary-bg);
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }

    .stat-item {
        text-align: center;
        padding: 30px;
    }

    .stat-number {
        font-size: 3rem;
        font-weight: bold;
        background: linear-gradient(135deg, var(--accent), var(--accent-green));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .ticket-animation {
        position: relative;
        width: 300px;
        height: 200px;
        margin: 0 auto;
    }

    .ticket {
        position: absolute;
        background: rgba(30, 41, 59, 0.95);
        border: 1px solid var(--border-light);
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
        color: var(--text-light);
        animation: float 3s ease-in-out infinite;
        backdrop-filter: blur(4px);
    }

    .ticket:nth-child(1) { top: 0;    left: 0;    animation-delay: 0s;    z-index: 3; }
    .ticket:nth-child(2) { top: 20px; left: 30px; animation-delay: 0.5s; z-index: 2; opacity: 0.88; }
    .ticket:nth-child(3) { top: 40px; left: 60px; animation-delay: 1s;    z-index: 1; opacity: 0.76; }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50%      { transform: translateY(-20px); }
    }

    .cta-section {
        background: linear-gradient(rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.92)), 
                    url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
        background-size: cover;
        background-position: center;
        color: var(--text-light);
        padding: 100px 0;
    }

    .footer {
        background-color: #0a1321;
        color: var(--text-muted);
        padding: 50px 0 20px;
    }

    .social-icons a {
        color: var(--text-muted);
        font-size: 20px;
        margin: 0 10px;
        transition: color 0.3s;
    }

    .social-icons a:hover {
        color: var(--accent);
    }

    /* Improve contrast for some common Bootstrap-like elements used in the HTML */
    .badge.bg-warning       { background-color: #f59e0b !important; color: black; }
    .badge.bg-success       { background-color: var(--accent-green) !important; }
    .badge.bg-danger        { background-color: var(--danger) !important; }
    .text-muted             { color: var(--text-muted) !important; }
    .btn-outline-primary    { --bs-btn-color: var(--accent); --bs-btn-border-color: var(--accent); }
    .btn-outline-primary:hover { background-color: var(--accent); color: white; }
    .btn-outline-success    { --bs-btn-color: var(--accent-green); --bs-btn-border-color: var(--accent-green); }
    .btn-outline-success:hover { background-color: var(--accent-green); color: white; }
    .btn-outline-warning    { --bs-btn-color: #f59e0b; --bs-btn-border-color: #f59e0b; }
    .btn-outline-warning:hover { background-color: #f59e0b; color: black; }
    .btn-light              { background-color: rgba(255,255,255,0.9); color: #0f172a; }
    .btn-outline-light      { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.9); }
    .btn-outline-light:hover { background-color: rgba(255,255,255,0.15); }

    /* ────────────────────────────────────────────────
   Responsive Adjustments - Mobile First Fixes
───────────────────────────────────────────────── */

@media (max-width: 991px) {
    .hero-section {
        padding: 70px 0 50px;
    }
    
    .hero-section .container .row {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .ticket-animation {
        margin: 40px auto 20px;
        width: 280px;
        height: 180px;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        padding: 10px 24px;
        font-size: 1.1rem;
    }
    
    .stats-section .row {
        flex-wrap: wrap;
    }
    
    .stat-item {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    h1.display-4 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .ticket {
        padding: 12px;
        width: 240px !important;   /* force smaller tickets on very small screens */
    }
    
    .ticket h6 {
        font-size: 0.95rem;
    }
    
    .ticket p.small {
        font-size: 0.8rem;
    }
    
    .btn-gradient, .btn-light, .btn-outline-light {
        width: 100%;
        margin-bottom: 12px;
    }
    
    .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
        align-items: center;
    }
    
    #how-it-works .row > div {
        margin-bottom: 2rem;
    }
    
    .cta-section {
        padding: 70px 0;
    }
    
    .cta-section h2.display-5 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.95rem;
    }
    
    h2.display-5 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 50px 0 30px;
    }
    
    .ticket-animation {
        width: 220px;
        height: 150px;
    }
    
    .ticket:nth-child(2) { left: 20px; top: 15px; }
    .ticket:nth-child(3) { left: 40px; top: 30px; }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    /* Make sure text stays readable */
    .text-muted {
        font-size: 0.9rem;
    }
}

/* Prevent overly small tap targets on mobile */
@media (pointer: coarse) {
    a.btn, button.btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}
/* end of tickets.php styles */
