:root {
    --primary-color: #ff8c00;
    --secondary-color: #ffd700;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2c2c2c 100%);
    color: var(--text-light);
    overflow-x: hidden;
}

.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 140, 0, 0.3);
	padding: 14px 0; 
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="g" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ff8c00" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ff8c00" stop-opacity="0"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23g)"/><circle cx="200" cy="200" r="50" fill="%23ffd700" opacity="0.3"/><circle cx="800" cy="300" r="70" fill="%23ff8c00" opacity="0.2"/></svg>') center/cover;
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroText 2s ease-out;
    margin: 0;
}

@keyframes heroText {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

.slash {
    font-size: 5rem;
    color: var(--primary-color);
    font-weight: 100;
    animation: slashSlide 1.5s ease-out 0.5s both;
    position: relative;
    z-index: 2;
}

@keyframes slashSlide {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 1s both;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.btn-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    color: #000 !important;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.4);
    color: #000 !important;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-custom:hover::before {
    left: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: floatAround 25s linear infinite;
    color: var(--secondary-color);
}

@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100vw, 100vh) rotate(360deg); }
}

.hero-image {
    height: 270px;
    background: linear-gradient(45deg, rgba(255,140,0,0.2), rgba(255,215,0,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    transition: transform 0.5s;
	/* desktop height */
    background-color: #111;      /* fallback */
}

.hero-image i {
    width: 100%;
    height: 100%;
    object-fit: cover;  
}

@media (max-width: 991px) {
  .hero-image {
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-image {
    height: 220px;
  }
}

.contact-info {
    background: rgba(255, 140, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.3);
}

.section-title {
    position: relative;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.theme-toggle {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,140,0,0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,140,0,0.2);
}

html {
    scroll-behavior: smooth;
}

/* Light theme */
body.light-theme {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-dark);
}

body.light-theme .navbar {
    background: rgba(248, 249, 250, 0.95) !important;
}

body.light-theme .nav-link {
    color: var(--text-dark) !important;
}

body.light-theme .hero-section {
    color: var(--text-dark);
}

body.light-theme .glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(255,255,255,0.9));
    border: 1px solid rgba(0,0,0,0.1);
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.gallery-card {
    position: relative;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: all 0.4s ease;
	color : White;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255,140,0,0.3);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,140,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    transform: scale(0);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay i {
    transform: scale(1);
}

#galleryModal .modal-content {
    background: linear-gradient(135deg, rgba(26,26,26,0.95), rgba(44,44,44,0.95));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,140,0,0.3);
    border-radius: 20px;
}

.modal-info {
    background: linear-gradient(transparent, rgba(26,26,26,0.9));
    border-radius: 0 0 20px 20px;
}

@media (max-width: 768px) {
    .gallery-card {
        height: 200px;
    }
    .hero-title {
        font-size: 3rem !important;
    }
}

.logo-box {
  width: 550px;        /* control logo container size */
  height: 100px;
  display: flex;
  margin-left: -50px;  /* Adjust -10px to -20px as needed */
  transform: translateX(-5px);
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* key line */
}

section {
  scroll-margin-top: 90px; /* height of your fixed navbar */
}

/* Stats Counter Section */
.bg-gradient {
    position: relative;
}

.stats-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,140,0,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,215,0,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.stat-card {
    position: relative;
    z-index: 2;
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.stat-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(255,140,0,0.25);
}

.stat-card i {
    transition: all 0.3s ease;
}

.stat-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.counter {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stat-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .counter {
        font-size: 2.5rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
    }
}

/* Light Mode Contact Section Fixes */
body.light-theme .contact-info-card,
body.light-theme .contact-form-card,
body.light-theme .map-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: var(--text-dark) !important;
}

body.light-theme .contact-details h6,
body.light-theme .section-title {
    color: var(--text-dark) !important;
}

body.light-theme .contact-input,
body.light-theme .form-select.contact-input {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: var(--text-dark) !important;
}

body.light-theme .contact-input::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
}

body.light-theme .contact-input:focus,
body.light-theme .form-select.contact-input:focus {
    background: rgba(0, 0, 0, 0.07) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-dark) !important;
}

body.light-theme .form-check-label {
    color: var(--text-dark) !important;
}

body.light-theme .hover-link {
    color: #495057 !important;
}

body.light-theme .hover-link:hover {
    color: var(--primary-color) !important;
}

body.light-theme .contact-details p {
    color: var(--text-dark) !important;
}

body.light-theme .map-label {
    background: rgba(255, 140, 0, 0.9) !important;
    color: white !important;
}

/* Light mode glass cards */
body.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: var(--text-dark) !important;
}

body.light-theme .glass-card .counter,
body.light-theme .glass-card h4,
body.light-theme .glass-card h5,
body.light-theme .glass-card p {
    color: var(--text-dark) !important;
}

/* Light mode gallery cards */
body.light-theme .gallery-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .gallery-overlay {
    background: rgba(255, 140, 0, 0.9);
}

/* Light mode hero section */
body.light-theme .hero-section {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.95)) !important;
    color: var(--text-dark) !important;
}

body.light-theme .hero-title {
    color: #333 !important;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.light-theme .tagline {
    color: var(--text-dark) !important;
}

body.light-theme .slash {
    color: var(--primary-color) !important;
}

/* Light mode navbar */
body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.light-theme .nav-link {
    color: var(--text-dark) !important;
}

body.light-theme .nav-link::after {
    background: var(--primary-color);
}

/* Light mode fixes for all sections */
body.light-theme .section-title {
    color: var(--text-dark) !important;
}

body.light-theme section {
    color: var(--text-dark) !important;
}

body.light-theme .opacity-75,
body.light-theme .opacity-90 {
    color: rgba(0, 0, 0, 0.75) !important;
    opacity: 1 !important;
}
/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.6);
    color: white;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

/* Light mode scroll button */
body.light-theme .scroll-top-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

body.light-theme .scroll-top-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.5);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Products Section - Dark Mode Text Fix */
#products .glass-card {
    color: white;
}

#products .glass-card h5 {
    color: white !important;
    font-weight: 600;
}

#products .glass-card p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Icons stay yellow */
#products .glass-card i {
    color: #ffc107 !important; /* Keep yellow icons */
}

/* LIGHT MODE - Black text */
body.light-theme #products .glass-card {
    color: var(--text-dark) !important;
}

body.light-theme #products .glass-card h5 {
    color: #333 !important;
}

body.light-theme #products .glass-card p {
    color: rgba(0, 0, 0, 0.8) !important;
}

body.light-theme #products .glass-card i {
    color: #e0a800 !important; /* Slightly darker yellow for light mode */
}
/* About Section - Light Mode White Text Fix */
body.light-theme #about {
    color: white !important;
}

body.light-theme #about .section-title {
    color: var(--secondary-color) !important;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme #about .lead {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Dark Mode - Keep normal colors */
#about {
    color: white;
}

#about .section-title {
    color: var(--secondary-color);
}

#about .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Ensure background contrast for light mode */
body.light-theme #about {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%) !important;
}

/* Footer - Light Mode White Text */
body.light-theme footer {
    color: white !important;
    background: #1a1a1a !important;
}

body.light-theme footer p {
    color: white !important;
}

/* Ensure dark background contrast */
body.light-theme footer.bg-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%) !important;
    color: white !important;
}

/* Dark Mode - Normal styling */
footer {
    color: rgba(255, 255, 255, 0.9);
}

footer p {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-title {
    font-size: clamp(1rem, 2.5vw, 2rem);
    line-height: 1.1;
}

.slash {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 100;
}

/* Mobile First */
@media (max-width: 991px) {
    .hero-section {
		margin-Top: 200px;
        min-height: 90vh;
        padding-Top: 80px 20px;
        text-align: center !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .slash {
        font-size: 3.5rem !important;
    }
    
    .tagline {
        font-size: 1.1rem !important;
    }
    
    .hero-image {
        max-height: 300px !important;
        max-width: 100%;
    }
    
    .btn-custom {
        min-width: 160px;
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .slash {
        font-size: 3rem !important;
    }
    
    .tagline {
        font-size: 1rem !important;
    }
    
    .hero-image {
        max-height: 250px !important;
    }
    
    .btn-custom {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem !important;
    }
    
    .slash {
        font-size: 4rem !important;
    }
    
    .hero-image {
        max-height: 350px !important;
    }
}

/* Image optimization */
.hero-image img {
    object-fit: cover !important;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image {
    height: 450px;
    max-height: 500px;
}

/* Hide floating icons on mobile */
@media (max-width: 991px) {
    .floating-icon {
        display: none !important;
    }
}
/* Gallery Modal Description - WHITE Text Always */
#galleryModal #modalDesc,
#galleryModal .modal-desc {
    color: white !important;
    font-weight: 500 !important;
}

/* Light mode - Force white text */
body.light-theme #galleryModal #modalDesc,
body.light-theme #galleryModal .modal-desc {
    color: white !important;
}

/* Dark modal backdrop for contrast */
#galleryModal .modal-content {
    background: linear-gradient(135deg, rgba(26,26,26,0.98), rgba(44,44,44,0.98)) !important;
}

#galleryModal .modal-title {
    color: white !important;
}

#galleryModal .modal-info {
    background: linear-gradient(180deg, transparent 0%, rgba(26,26,26,0.95) 20%) !important;
    color: white;
}

#modalDesc {
    white-space: pre-line;
    line-height: 1.2;
    color: white !important;
}

/* Capabilities & Serving Lists - WHITE text in ALL modes */
.capabilities-list li,
.serving-list li,
#about .capabilities-list li,
#about .serving-list li {
    color: white !important;
}

/* Ensure white text overrides light mode */
body.light-theme .capabilities-list li,
body.light-theme .serving-list li,
body.light-theme #about .capabilities-list li,
body.light-theme #about .serving-list li {
    color: white !important;
}

/* Light mode container background stays dark */
body.light-theme #about {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%) !important;
    color: white !important;
}
/* About Section Closing Paragraph - WHITE text ALWAYS */
#about p.mt-4,
#about p.mt-4 strong,
.about-closing-paragraph {
    color: white !important;
}

/* Light mode override */
body.light-theme #about p.mt-4,
body.light-theme #about p.mt-4 strong,
body.light-theme .about-closing-paragraph {
    color: white !important;
}

/* Ensure About section background stays dark */
body.light-theme #about {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%) !important;
    color: white !important;
}








