/* --- Root Variables for Brand Consistency --- */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e293b;
    --text-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f1f5f9;
}

/* --- Navbar Container --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    transition: var(--transition);
}

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

/* --- Logo Styling --- */
.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #E87F24;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: #E87F24;
}

/* --- Desktop Navigation --- */
.nav-links ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

/* Animated Underline Effect */
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* CTA Button Styling */
.nav-btn {
    background: #E87F24;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    margin-left: 20px !important;
}

.nav-btn:hover {
    background: #5c3412;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* --- Mobile Responsiveness --- */
#nav-check {
    display: none;
}

.nav-toggler {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggler {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav-links ul {
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    /* Toggle Logic via Checkbox */
    #nav-check:checked ~ .nav-links {
        height: 350px;
    }

    /* Simple Hamburger Icon */
    .nav-toggler span, .nav-toggler span::before, .nav-toggler span::after {
        display: block;
        background: var(--secondary-color);
        height: 2px;
        width: 25px;
        position: relative;
    }

    .nav-toggler span::before { content: ""; top: 8px; }
    .nav-toggler span::after { content: ""; top: -10px; }
}





/* --- Hero Section Variables --- */
:root {
    --hero-overlay: rgba(15, 23, 42, 0.7); 
    --accent-glow: rgba(37, 99, 235, 0.5);
    --primary-color: #2563eb; /* Ensure this is defined */
    --transition: all 0.3s ease;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px; /* Prevents overlap on very short screens */
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #f8fafc;
}

/* --- Responsive Background Zoom --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Layering the overlay directly on the background for better performance */
    background: 
                url('image.jpg');
    background-size: cover;
    background-position: center center; /* Keeps subject centered */
    background-repeat: no-repeat;
    z-index: -1;
    animation: zoomEffect 20s infinite alternate ease-in-out;
    will-change: transform; /* Optimization for smoother animation */
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); } /* Slightly reduced scale to prevent blur */
}

/* --- Hero Content Container --- */
.hero-content {
    text-align: center;
    width: 100%;
    max-width: 1100px;
    padding: 0 5%; /* Percentage padding for fluid scaling */
    z-index: 2;
}

/* --- Advanced Text Slider Animation --- */
.animate-text {
    font-size: clamp(2rem, 10vw, 5rem); /* Flexible sizing */
    font-weight: 800;
    line-height: 1.2; /* Increased for better legibility */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 1.2em; 
    overflow: hidden;
}

.animate-text span {
    display: block;
    white-space: nowrap; /* Prevents text wrapping mid-animation */
    animation: slideText 9s infinite cubic-bezier(0.83, 0, 0.17, 1);
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes slideText {
    0%, 28% { transform: translateY(0); }
    33%, 61% { transform: translateY(-1.2em); } /* Match exactly the container height */
    66%, 94% { transform: translateY(-2.4em); }
    100% { transform: translateY(0); }
}

.hero-content p {
    font-size: clamp(0.9rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 650px;
    margin-inline: auto;
    line-height: 1.6;
}

/* --- Buttons --- */
.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allows buttons to stack on tiny screens */
}

.btn-primary, .btn-secondary {
    text-decoration: none;
    padding: clamp(12px, 2vw, 16px) clamp(25px, 4vw, 40px);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* --- Entry Animations --- */
.fade-in {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero {
        height: 100vh; /* Keeps it full screen on mobile */
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .animate-text {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }
    
    /* Ensuring the slider height is pixel-perfect for mobile */
    .animate-text {
        height: 1.2em; 
    }
}








/* --- About Section Styling --- */
.about {
    padding: 100px 0;
    background-color: #f8fafc;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Visual Stack (Left Side) --- */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.main-img {
    position: relative;
    width: 80%;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-img:hover img {
    transform: scale(1.05);
}

/* Floating Stats Card */
.stats-card {
    position: absolute;
    bottom: -30px;
    right: 0;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* --- Content Styling (Right Side) --- */
.section-tag {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gradient-text {
    background: #FFC81E;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Feature List */
.about-features {
    list-style: none;
    margin-bottom: 40px;
}

.about-features li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.about-features i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.about-features strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 60px;
        text-align: center;
    }

    .about-visual {
        order: 2; /* Move image below text on mobile if desired */
    }

    .about-features li {
        text-align: left;
        justify-content: center;
    }

    .main-img {
        width: 100%;
        max-width: 500px;
    }

    .stats-card {
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 60px 0;
    }

    .stats-card {
        padding: 15px;
        gap: 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}









/* --- Elite Variables Update --- */
:root {
    --panel-width: 440px;
    --it-accent: #3b82f6;
    --re-accent: #10b981;
    --panel-bg: rgba(15, 23, 42, 0.95);
    --glass-blur: blur(25px) saturate(180%);
    --transition-elite: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

/* --- Floating Vertical Command Button --- */
.business-sidebar-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    width: 50px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 25px 0 0 25px;
    cursor: pointer;
    z-index: 1500;
    transition: var(--transition-elite);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}

.business-sidebar-toggle:hover {
    width: 65px;
    background: #2563eb;
}

.business-sidebar-toggle p {
    writing-mode: vertical-rl;
    color: white;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* --- The Command Center Panel --- */
.biz-panel {
    position: fixed;
    top: 0;
    right: -100%; /* Fully Responsive start */
    width: var(--panel-width);
    height: 100vh;
    background: var(--panel-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 3000;
    transition: var(--transition-elite);
    color: #f8fafc;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.biz-panel.active {
    right: 0;
}

.panel-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

/* --- Top Branding Area --- */
.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.panel-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.panel-logo span { color: #2563eb; }

.panel-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-top: 5px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.close-btn:hover { background: #ef4444; transform: rotate(90deg); }

/* --- Scrollable Body --- */
.panel-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.panel-scroll-area::-webkit-scrollbar { width: 4px; }
.panel-scroll-area::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.content-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #475569;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

/* --- Entity Cards --- */
.entity-box {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    overflow: hidden;
    transition: 0.4s ease;
}

.box-main { display: flex; gap: 20px; }

.box-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.it-box .box-icon-wrapper { color: var(--it-accent); background: rgba(59, 130, 246, 0.1); }
.re-box .box-icon-wrapper { color: var(--re-accent); background: rgba(16, 185, 129, 0.1); }

.box-text h3 { font-size: 1.1rem; margin-bottom: 5px; color: #fff; }
.box-text p { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; }

.entity-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wing-link {
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.wing-link:hover { gap: 15px; color: #3b82f6; }

/* --- Glow Logic --- */
.box-bg-glow {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, var(--it-glow) 0%, transparent 70%);
    opacity: 0; transition: 0.5s; pointer-events: none;
}
.re-box .box-bg-glow { background: radial-gradient(circle, var(--re-glow) 0%, transparent 70%); }
.entity-box:hover .box-bg-glow { opacity: 0.15; }

/* --- Footer --- */
.panel-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-socials { display: flex; gap: 15px; }
.footer-socials a { color: #64748b; font-size: 1.1rem; transition: 0.3s; }
.footer-socials a:hover { color: #fff; transform: translateY(-3px); }

.footer-meta { text-align: right; font-size: 0.6rem; color: #475569; text-transform: uppercase; letter-spacing: 1px; }

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .biz-panel { width: 100%; right: -100%; border-left: none; }
    .biz-panel.active { right: 0; transform: none; }
    .business-sidebar-toggle { height: 120px; }
    .panel-inner { padding: 30px; }
}
/* --- Logo Container Logic --- */
.box-logo-container {
    flex-shrink: 0; /* Ensures the logo doesn't get squeezed */
}

.logo-frame {
    width: 60px;
    height: 60px;
    background: #ffffff; /* Clean white base for logos */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px; /* Internal spacing so the logo doesn't touch the edges */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-elite);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Image behavior inside the frame */
.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* CRITICAL: Maintains logo proportions without cropping */
}

/* Specific Accent Borders for each wing */
.it-box .logo-frame {
    border-bottom: 3px solid var(--it-accent);
}

.re-box .logo-frame {
    border-bottom: 3px solid var(--re-accent);
}

/* Hover Interaction */
.entity-box:hover .logo-frame {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #fff; /* Ensures background stays solid on hover */
}

/* Responsive Scaling */
@media (max-width: 480px) {
    .logo-frame {
        width: 50px;
        height: 50px;
        padding: 6px;
    }
}







/* Heading Line (important visual separator) */
.heading-line {
    width: 80px;
    height: 4px;
    margin: 15px auto 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #E87F24, #FFC81E);
}

/* Better spacing */
.section-header {
    margin-bottom: 70px;
}

/* Wrapper for spacing + alignment */
.vm-wrapper {
    position: relative;
}

/* Optional subtle divider line behind cards */
.vm-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #73A5CA, transparent);
    opacity: 0.3;
    transform: translateY(-50%);
}

/* ===== Root Colors ===== */
:root {
    --primary: #E87F24;
    --secondary: #FFC81E;
    --light: #FEFDDF;
    --accent: #73A5CA;
    --dark-text: #2b2b2b;
}

/* ===== Section ===== */
.vision-mission {
    padding: 100px 0;
    background: linear-gradient(135deg, #FEFDDF, #fff);
    position: relative;
    overflow: hidden;
}

/* Soft Background Shapes */
.vision-mission::before,
.vision-mission::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.vision-mission::before {
    background: var(--secondary);
    top: -100px;
    left: -100px;
}

.vision-mission::after {
    background: var(--accent);
    bottom: -100px;
    right: -100px;
}

/* ===== Container ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
}

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

.section-tag {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--dark-text);
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: #555;
    margin-top: 10px;
}

/* ===== Grid ===== */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* ===== Card ===== */
.vm-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient Border Glow */
.vm-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Hover Effects */
.vm-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(232,127,36,0.25);
}

/* Light Sweep Animation */
.vm-card::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    top: 0;
    left: -150%;
    transition: 0.6s;
}

.vm-card:hover::after {
    left: 100%;
}

/* ===== Icon ===== */
.vm-icon {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Accent Variation */
.vm-card.mission .vm-icon {
    color: var(--accent);
}

/* ===== Text ===== */
.vm-card h3 {
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.vm-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 30px;
    }
}






