/* assets/css/main.css */
:root {
    --primary: #2C3E50; /* Steel Gray / Dark Navy */
    --accent: #EAB308; /* Industrial Yellow */
    --accent-hover: #CA8A04;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #1a252f;
    color: var(--bg-white);
}

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

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

/* Header */
.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

/* Desktop Nav */
.desktop-nav > ul {
    display: flex;
    gap: 30px;
    align-items: center;
}
.desktop-nav a {
    color: var(--text-main);
    font-weight: 600;
    padding: 10px 0;
}
.desktop-nav a:hover {
    color: var(--accent);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li {
    width: 100%;
}
.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
}
.dropdown a:last-child, .dropdown li:last-child a {
    border-bottom: none;
}
.dropdown a:hover {
    background: var(--bg-main);
    color: var(--primary);
    padding-left: 25px;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}
.mobile-toggle svg {
    width: 28px;
    height: 28px;
}

/* Offcanvas Menu */
.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1000;
    transition: transform 0.3s ease;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    color: var(--bg-white);
    overflow-y: auto;
}
.offcanvas.open {
    transform: translateX(0);
}
.offcanvas-close {
    background: none;
    border: none;
    color: var(--bg-white);
    cursor: pointer;
    float: right;
}
.offcanvas-close svg {
    width: 28px;
    height: 28px;
}
.offcanvas-nav {
    margin-top: 50px;
}
.offcanvas-nav a {
    display: block;
    color: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 18px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}
.overlay.active {
    display: block;
}

/* Fixed Buttons */
.fixed-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: transform 0.3s;
    animation: pulse 2s infinite;
}
.fixed-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}
.fixed-whatsapp svg {
    width: 32px;
    height: 32px;
}

.fixed-top {
    position: fixed;
    bottom: 24px;
    left: 20px;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.fixed-top.show {
    opacity: 1;
    visibility: visible;
}
.fixed-top:hover {
    background-color: var(--accent);
}
.fixed-top svg {
    width: 24px;
    height: 24px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 20px;
    margin-top: 60px;
    border-top: 4px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.2fr 1fr;
    }
}
.footer-widget h3 {
    color: var(--bg-white);
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}
.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}
.footer-widget a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-widget a:hover {
    color: var(--accent);
}

/* Brand Widget */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px !important;
}
.footer-logo::after {
    display: none !important;
}
.footer-desc {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 15px;
}
.founders-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 16px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.founders-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent);
    transform: translateY(-2px);
}
.founder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(234, 179, 8, 0.1); /* transparent accent */
    color: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}
.founder-details {
    display: flex;
    flex-direction: column;
}
.founder-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
    font-weight: 600;
}
.founder-names {
    color: var(--bg-white);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.founder-separator {
    display: none;
}

/* Links & Contact */
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    display: flex;
    align-items: center;
}
.footer-links a::before {
    content: '→';
    margin-right: 8px;
    font-size: 14px;
    color: var(--accent);
    transition: var(--transition);
    opacity: 0.5;
}
.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(4px);
}
.footer-links .view-all::before {
    display: none;
}
.footer-links .view-all {
    color: var(--accent);
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}
.contact-icon {
    color: var(--accent);
    margin-top: 2px;
}
.contact-text span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}
.contact-text a, .contact-text address {
    color: var(--bg-white);
    font-style: normal;
    font-size: 15px;
}
.contact-text a:hover {
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}
.footer-legal {
    display: flex;
    gap: 20px;
}
.footer-legal a {
    color: rgba(255,255,255,0.6);
}
.footer-legal a:hover {
    color: var(--bg-white);
}

/* Cards & Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

/* Premium Hero Designs */
.hero-premium {
    position: relative;
    padding: 140px 0;
    text-align: center;
    color: var(--bg-white);
    background-color: var(--primary); /* Fallback */
    background-image: linear-gradient(to bottom, rgba(44, 62, 80, 0.7), rgba(15, 23, 42, 0.95)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}
.hero-premium .container {
    position: relative;
    z-index: 2;
}
.hero-premium h1 {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease-out;
}
.hero-premium p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}
.hero-premium .hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}
.hero-premium .hero-actions .btn {
    padding: 16px 36px;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-internal {
    position: relative;
    padding: 60px 0;
    background-color: var(--primary);
    background-image: linear-gradient(135deg, rgba(44, 62, 80, 1) 0%, rgba(15, 23, 42, 1) 100%);
    color: var(--bg-white);
    border-bottom: 4px solid var(--accent);
}
.hero-internal::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-internal .container {
    position: relative;
    z-index: 2;
}
.hero-internal .badge {
    display: inline-block;
    background: var(--accent);
    color: #111;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.hero-internal h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.hero-internal p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    max-width: 800px;
    margin: 0;
}

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

/* Article Styling */
.article-content h2 { margin: 30px 0 15px; color: var(--primary); }
.article-content h3 { margin: 20px 0 10px; color: var(--text-main); }
.article-content p { margin-bottom: 15px; font-size: 17px; }
.article-content ul { margin: 0 0 20px 20px; list-style: disc; }
.article-content li { margin-bottom: 8px; }

/* FAQ Section */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
}
.faq-item h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 18px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}
.stat-text {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 600;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
}
.process-step {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.process-step:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}
.process-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-main);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}
.process-icon svg {
    width: 32px;
    height: 32px;
}
.process-step h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 60px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 40px 0;
}
.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 20px;
}
.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-premium { padding: 90px 0; }
    .hero-premium h1 { font-size: 38px; }
    .hero-premium p { font-size: 18px; }
    .hero-premium .hero-actions { flex-direction: column; align-items: center; }
    .hero-premium .hero-actions .btn { width: 100%; max-width: 300px; }
    .hero-internal h1 { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* Trust Bar */
.trust-bar { background: #f8fafc; border-bottom: 1px solid var(--border-color); padding: 30px 0; margin-bottom: 40px; }
.trust-grid { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-weight: 600; font-size: 16px; }
.trust-item svg { color: var(--accent); width: 32px; height: 32px; }

/* Featured Projects */
.project-card { background: var(--bg-white); border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid var(--border-color); transition: var(--transition); display: block; text-decoration: none; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.project-image { width: 100%; height: 240px; object-fit: cover; display: block; border-bottom: 3px solid var(--accent); }
.project-info { padding: 24px; }
.project-title { color: var(--primary); font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.project-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 15px; line-height: 1.6; }
.project-meta { display: flex; gap: 15px; font-size: 13px; color: var(--primary); font-weight: 600; }
.project-meta span { display: flex; align-items: center; gap: 5px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--bg-white); padding: 30px; border-radius: var(--border-radius); border: 1px solid var(--border-color); position: relative; }
.testimonial-card::before { content: '\"'; position: absolute; top: 10px; right: 20px; font-size: 80px; color: rgba(234, 179, 8, 0.15); font-family: serif; line-height: 1; }
.stars { color: var(--accent); display: flex; gap: 2px; margin-bottom: 15px; }
.testimonial-text { font-size: 16px; font-style: italic; color: var(--text-main); margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { font-weight: 700; color: var(--primary); display: block; }
.testimonial-project { font-size: 13px; color: var(--text-muted); }

/* Tech Banner */
.tech-banner { background: var(--primary); color: var(--bg-white); border-radius: var(--border-radius); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; position: relative; }
.tech-banner::after { content: ''; position: absolute; right: -50px; top: -50px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 70%); }
.tech-content { flex: 1; position: relative; z-index: 2; }
.tech-content h2 { color: var(--bg-white); font-size: 36px; margin-bottom: 20px; }
.tech-content h2 span { color: var(--accent); }
.tech-content p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 30px; line-height: 1.6; }
.tech-features { display: flex; gap: 20px; flex-wrap: wrap; }
.tech-feature { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.tech-feature svg { color: var(--accent); }
@media (max-width: 768px) {
    .tech-banner { flex-direction: column; padding: 30px; text-align: center; }
    .tech-features { flex-direction: column; align-items: center; }
}

/* Added classes for Offcanvas Nav & UX */
.offcanvas-nav .sub-nav-item { padding-left: 15px; font-size: 16px; color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.05); }
.offcanvas-nav .border-none { border-bottom: none; }
.offcanvas-nav .nav-cta { color: var(--accent); margin-top: 20px; }
html { scroll-behavior: smooth; }
