:root {
    --primary-teal: #005f6b;
    --leaf-green: #7dc242;
    --dark-bg: #002d33;
    --white: #ffffff;
    --grey: #f4f7f6;
    --dark-text: #333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* --- NAVBAR (Restored: Logo Left, Links Right) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--leaf-green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 45px; /* Restored your specific margin */
}

.logo-icon {
    height: 80px; 
    width: auto;
    margin-bottom: -5px;
}

.brand-line { font-size: 22px; font-weight: 700; }
.rev, .dent { color: var(--primary-teal); }
.solutions { color: #000; font-weight: 400; margin-left: 5px; }

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto; /* Pushes links to the right */
    margin-right: 40px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary-teal);
    margin: 0 15px;
    font-weight: 500;
    color: var(--primary-teal);
    transition: var(--transition);
}

.nav-links li a:hover, 
.nav-links li a.active {
    color: var(--leaf-green) !important; /* Click ke baad ye color pakka rahega */
    font-weight: 700;
}

.cta-btn-nav {
    background: var(--leaf-green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;

    display: inline-block;
    margin-top: 40px; /* Text se fasla barha diya gaya hai */
    position: relative;
    z-index: 5;
}

/* --- HERO VIDEO (Restored: Controlled Size & Centered Content) --- */
/* Hero Section Fix */
.hero-video-container {
    position: relative;
    min-height: 75vh; /* Fixed height ki jagah min-height use karein */
    height: auto; 
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px; /* Mobile par overlap se bachne ke liye padding */
}

/* Button position fix */


.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 45, 51, 0.6);
    display: flex;
    align-items: center; /* Vertical Center */
    justify-content: center; /* Horizontal Center */
    z-index: 1;
}

.hero-content {
    z-index: 2;
    text-align: center; /* Ensures text is centered */
    color: var(--white);
    width: 100%;
    max-width: 800px;
}

/* --- ABOUT SECTION (Feature Cards) --- */
.about-section {
    padding: 100px 8%;
    background: #ffffff;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.about-intro { flex: 1; }

.sub-tag {
    color: var(--leaf-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.about-section h2 {
    font-size: 40px;
    color: var(--primary-teal);
    margin: 15px 0;
    line-height: 1.2;
}

.about-section span { color: var(--leaf-green); }

.about-section p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* Cards Styling */
.about-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card o{
    background: #fff;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-line {
    width: 6px;
    background: var(--leaf-green);
}

.card-body {
    padding: 25px;
}

.card-body h4 {
    color: var(--primary-teal);
    margin: 10px 0 5px;
}

.card-body p {
    font-size: 14px;
    color: #666;
}

/* Glow Effect on Hover */
.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(125, 194, 66, 0.15);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .who-container { flex-direction: column; text-align: center; }
    .card-body { text-align: left; }
}

.feature-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 95, 107, 0.05);
    border-left: 5px solid var(--leaf-green);
    transition: var(--transition);
}


.feature-card:hover { transform: translateX(10px); }

/* --- SOFTWARE GRID (Restored: Glowing & Hover Effect) --- */
.software-section { padding: 80px 8%; text-align: center; }
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.software-item {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 25px;
    font-weight: 600;
    color: var(--primary-teal);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-item:hover {
    background: #ffffff;
    border-color: var(--leaf-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(125, 194, 66, 0.2); /* Restored Glow */
    color: var(--leaf-green);
}


/* --- STATS SECTION --- */
.stats-section { background-color: #3d6167; padding: 60px 8%; color: #ffffff; text-align: center; }
.stats-container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-number { font-size: 42px; font-weight: 800; color: var(--leaf-green); }




/* --- FOOTER --- */
.main-footer { background-color: var(--dark-bg); color: #ffffff; padding: 50px 8%; }
.footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* ============================================= */
/* RESPONSIVE (Strictly for Small Screens Only) */
/* ============================================= */

@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 20px; }
    .logo-container { margin-left: 0; margin-bottom: 15px; }
    .nav-links { margin: 0; flex-direction: column; gap: 10px; }
    
    .hero-video-container { height: 60vh; }
    .hero-content h1 { font-size: 1.8rem; }

    .about-container { flex-direction: column; }
    .feature-card { flex-direction: column; text-align: center; align-items: center; }

    .software-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- CORE VARIABLES (In ke baghair colors kaam nahi karenge) --- */
/* --- 1. CORE VARIABLES (In ke baghair colors aur font kaam nahi karenge) --- */
/* --- 1. GLOBAL SETTINGS & COLORS --- */
/* --- 1. GLOBAL SETTINGS & COLORS --- */
/* --- Bilkul Top Par --- */
:root {
    --primary-teal: #005f6b;
    --leaf-green: #7dc242;
    --dark-bg: #002d33;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* --- Bilkul Bottom Par --- */
.services-hero-fix {
    height: 40vh !important; /* Home page ki video ko distrub nahi karega */
    background-color: var(--dark-bg) !important;
    background-image: none !important;
}

.active {
    color: var(--leaf-green) !important;
    font-weight: 700;
}
