@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Dynamite-Inspired Tech Palette */
    --bg-light: #f8fafc; 
    --bg-white: #ffffff; 
    --bg-dark: #0f172a; /* Deep Navy */
    --primary: #0ea5e9; /* Tech Cyan */
    --primary-dark: #0284c7;
    --accent: #f97316; /* Energetic Coral/Orange for CTA */
    --text-dark: #1e293b; 
    --text-muted: #64748b; 
    --text-light: #f1f5f9;
    --border-color: #e2e8f0; 
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

/* --- Tech Agency Header --- */
.main-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; 
    background: var(--bg-white);
    position: fixed; width: 100%; top: 0; z-index: 1000;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-base);
    transition: var(--transition);
}

.logo {
    font-size: 1.8rem; font-weight: 800;
    text-decoration: none; color: var(--bg-dark);
    text-transform: uppercase; letter-spacing: 1px;
}
.logo span { color: var(--primary); }

.nav-links ul { display: flex; list-style: none; gap: 2rem; }
.nav-links a { 
    text-decoration: none; color: var(--text-dark); font-weight: 500; 
    transition: var(--transition); font-size: 1rem;
    padding: 0.5rem 0; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 3px;
    bottom: 0; left: 0; background: var(--primary);
    transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* --- Action Buttons --- */
.btn {
    padding: 0.8rem 2rem; border-radius: 4px; text-decoration: none; font-weight: 600;
    transition: var(--transition); display: inline-flex; align-items: center; gap: 10px;
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px;
}
.btn-primary { 
    background: var(--primary); color: var(--bg-white) !important; 
    border: 2px solid var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-base); }

.btn-outline { 
    background: transparent; color: var(--accent) !important; 
    border: 2px solid var(--accent); 
}
.btn-outline:hover { background: var(--accent); color: var(--bg-white) !important; transform: translateY(-2px); }

.gradient-text { color: var(--primary); }

/* --- Dynamic Hero Slider --- */
.hero-slider-section { 
    padding: 0; margin-top: 70px; /* Offset for fixed header */
}
.slider-container { 
    width: 100%; height: calc(100vh - 70px); position: relative; 
    overflow: hidden; background: var(--bg-dark);
}

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 0.6s ease-in-out;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 5%;
}
.slide.active { opacity: 1; z-index: 1; }

/* Dark gradient overlay for text readability */
.slide::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
    z-index: -1;
}

.slide-content { max-width: 900px; color: var(--text-light); transform: translateY(30px); opacity: 0; transition: all 0.6s ease-out 0.2s; z-index: 2; }
.slide.active .slide-content { transform: translateY(0); opacity: 1; }
.slide-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--bg-white); }
.slide-content p { font-size: clamp(1rem, 2vw, 1.2rem); margin: 0 auto 2rem; color: #cbd5e1; }

.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Slider Controls */
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1); color: var(--bg-white); border: 1px solid rgba(255,255,255,0.2);
    width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem;
    cursor: pointer; z-index: 10; transition: var(--transition);
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--primary); } 

/* --- Layout & Sections --- */
section { padding: 80px 5%; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { 
    font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; 
    color: var(--bg-dark); position: relative; display: inline-block; padding-bottom: 10px;
}
.section-header h2::after {
    content: ''; position: absolute; width: 60%; height: 3px;
    bottom: 0; left: 20%; background: var(--primary);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Tech Agency Cards */
.glass-card {
    background: var(--bg-white); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-base); padding: 40px 30px; 
    border-radius: 8px; transition: var(--transition); 
    display: flex; flex-direction: column;
    border-top: 4px solid transparent; /* Ready for hover glow */
}
.glass-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover); 
    border-top-color: var(--primary); 
}
.glass-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.glass-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; color: var(--bg-dark); }
.glass-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; }

/* Tech Badges */
.tech-badge {
    background: #f1f5f9; border: 1px solid var(--border-color); color: var(--bg-dark); 
    padding: 4px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 500;
}
.tech-badge.highlight { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Forms --- */
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 1rem; background: var(--bg-white) !important; border: 1px solid var(--border-color) !important; 
    border-radius: 4px; color: var(--text-dark) !important; font-family: inherit; transition: var(--transition); font-size: 0.95rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-group label { font-weight: 500; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 8px; display: block; }

/* --- Corporate IT Footer --- */
footer { background: var(--bg-dark); padding: 5rem 5% 1rem; color: var(--text-light); }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 3rem; }
.footer-container h3, .footer-container h4 { color: var(--bg-white) !important; font-weight: 600; font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.footer-container h4::after { content: ''; position: absolute; width: 40px; height: 2px; bottom: 0; left: 0; background: var(--primary); }
.footer-container p, .footer-container a, .footer-company-info p { color: #94a3b8 !important; font-size: 0.95rem; line-height: 1.8; }
.footer-container a { text-decoration: none; transition: var(--transition); display: block; margin-bottom: 0.5rem; }
.footer-container a:hover { color: var(--primary) !important; padding-left: 5px; }
.footer-company-info i { color: var(--primary); width: 25px; }

.social-links { display: flex; gap: 10px; margin-top: 1rem; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 4px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: var(--bg-white) !important; transition: var(--transition); margin: 0; padding: 0 !important;
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.bottom-bar { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 0.9rem; }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Mobile Responsiveness --- */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.menu-toggle span { width: 25px; height: 3px; background: var(--bg-dark); transition: 0.3s; }

@media (max-width: 768px) {
    .main-header { padding: 1rem 5%; }
    .hero-slider-section { margin-top: 60px; }
    .slider-container { height: calc(100vh - 60px); }
    
    .menu-toggle { display: flex; }
    .nav-links { 
        position: fixed; top: 0; left: -100%; width: 80%; max-width: 300px; height: 100vh;
        background: var(--bg-white); box-shadow: var(--shadow-hover);
        transition: 0.4s ease-in-out; flex-direction: column; padding: 80px 2rem 2rem;
        overflow-y: auto;
    }
    .nav-links ul { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
    .nav-links.active { left: 0; }
    .nav-links a { font-size: 1.1rem; }
    
    .slider-btn { display: none; }
    section { padding: 60px 5%; }
}