/* ========================= CSS VARIABLES ========================= */
:root {
    /* Light Mode Colors */
    --accent: #00bfd8;
    --accent-dark: #009cb2;
    --accent-soft: rgba(0, 191, 216, 0.12);
    --accent-hover: rgba(0, 191, 216, 0.2);
    
    
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1f2933;
    --text-light: #ffffff;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --light-bg: #0f172a;
    --card-bg: #1e293b;
    --text-dark: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --accent-soft: rgba(0, 191, 216, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ========================= RESET ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ========================= BASE STYLES ========================= */
body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-bg);
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

.section {
    padding: 100px 20px;
}

/* ========================= THEME TOGGLE ========================= */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-lg);
}

.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

body.dark-mode .theme-toggle .sun-icon {
    display: none;
}

body.dark-mode .theme-toggle .moon-icon {
    display: block;
}

/* ========================= SECTION HEADERS ========================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================= BUTTONS ========================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 191, 216, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--accent);
}

.btn-light {
    background: #fff;
    color: var(--accent);
}

.btn-light:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================= NAVIGATION ========================= */
.header {
    background: var(--card-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo img {
    width: 250px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-normal);
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* ========================= HERO SECTION ========================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.3), rgba(0, 0, 0, 0.1));
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 20px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollDown 1.5s infinite;
}

/* ========================= STATS SECTION ========================= */
.stats-section {
    background: var(--accent);
    color: #fff;
    padding: 60px 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================= SERVICES ========================= */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-top: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-soft), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-block;
    transition: all var(--transition-fast);
}

.service-link:hover {
    transform: translateX(5px);
}

/* ========================= PRODUCTS ========================= */
.products {
    background: var(--card-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-link {
    display: block;
}

.product-card {
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Product Image Container - Changed min-height from 200px to: */
.product-image {
   background: linear-gradient(135deg, var(--accent), var(--accent-dark));
   /* padding: 50px;*/
    display: flex;
    align-items: center;
    justify-content: center;
   /* min-height: 280px; */ /* Changed from 200px */
}

/* Product Image - Changed max-width and max-height from 150px to: */
.product-image img {
    max-width: 250px;   /* Changed from 150px */
    max-height: 250px;  /* Changed from 150px */
   /* filter: brightness(0) invert(1);*/
}

.product-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-content p {
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.product-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 20px;
}

/* ========================= ABOUT ========================= */
.about {
    background: var(--card-bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}
.image-placeholder img {
      border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.placeholder-icon {
    font-size: 8rem;
}

.about-content {
    text-align: left;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 700;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ========================= VISION & MISSION ========================= */
.vision-mission {
    background: var(--light-bg);
    padding: 80px 20px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.vm-card {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.vm-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.vm-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================= EXPERTISE ========================= */
.expertise {
    background: var(--card-bg);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background: var(--light-bg);
    padding: 40px 35px;
    border-radius: 15px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.expertise-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.expertise-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-soft);
    margin-bottom: 15px;
    line-height: 1;
}

.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.expertise-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================= CTA BANNER ========================= */
.cta-banner {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #fff;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.cta-content .btn {
    margin-top: 20px;
}

/* ========================= TESTIMONIALS ========================= */
.testimonials {
    background: var(--light-bg);
}

.testimonial-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-container {
    position: relative;
    min-height: 300px;
}

.testimonial {
    display: none;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

/* ========================= CONTACT ========================= */
.contact {
    background: var(--card-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.contact-form {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.contact-form button {
    width: 100%;
}

/* ========================= FOOTER ========================= */
.footer {
    background: var(--dark-bg);
    color: #cbd5e1;
    padding: 60px 20px 30px;
}

body.dark-mode .footer {
    background: #020617;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
}

.footer-logo {
    height: 35px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ========================= ANIMATIONS ========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ========================= MOBILE STYLES ========================= */
@media (max-width: 1024px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
      display:none;
        position: absolute;
        top: 70px;
        right: -100%;
        background: var(--card-bg);
        flex-direction: column;
        width: 280px;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        border-radius: 10px;
        transition: right var(--transition-normal);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        display:flex;
        right: 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .theme-toggle {
        top: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 15px;
    }
}

#page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
}
