:root {
    --bg-main: #f8fafc; 
    --bg-card: #ffffff; 
    --text-main: #0f172a; 
    --text-muted: #64748b; 
    --card-border: #e2e8f0;
    --accent-main: #4dc4c4; /* Your blue/teal logo color */
    --accent-hover: #3ba0a0;
}

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

body {
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { color: var(--text-main); font-weight: 700; }
.section-badge {
    color: var(--accent-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.center { display: block; text-align: center; }
.center-heading { text-align: center; font-size: 2.5rem; margin-bottom: 20px; }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}
.logo { font-size: 1.5rem; font-weight: bold; letter-spacing: 1px; color: var(--text-main); }
.nav-links { display: flex; gap: 35px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-main); }

/* Buttons */
.btn-primary {
    background: var(--accent-main);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-main);
    color: var(--accent-main);
    padding: 11px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-outline:hover { background: var(--accent-main); color: white; }
.center-btn { text-align: center; margin-top: 30px; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}
.hero-container { max-width: 800px; margin-top: 80px; }
.subtitle { font-size: 1.1rem; margin-bottom: 15px; color: var(--text-muted); font-weight: 500;}
.highlight-text { color: var(--accent-main); font-weight: bold; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero-desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Services */
.services { padding: 80px 8%; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.services-header h2 { font-size: 2.8rem; line-height: 1.2; margin-top: 10px; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.service-card .icon { font-size: 2rem; color: var(--accent-main); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* Tech Stack Marquee */
.marquee { width: 100%; overflow: hidden; white-space: nowrap; margin: 60px 0 20px; padding: 20px 0; }
.marquee-content { display: inline-block; animation: scroll 30s linear infinite; }
.marquee-content span { display: inline-flex; align-items: center; gap: 8px; margin: 0 40px; font-size: 1.4rem; font-weight: bold; color: #94a3b8; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Portfolio & Video Grid */
.portfolio { padding: 80px 0; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.project-card {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.video-container {
    width: 100%;
    height: 250px;
    background: #e2e8f0;
    position: relative;
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-info {
    padding: 25px;
    text-align: center;
}
.project-info h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Pricing */
.pricing { padding: 80px 0; text-align: center; }
.pricing-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto 50px; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
}
.price-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.highlight-card {
    border: 2px solid var(--accent-main);
    box-shadow: 0 20px 25px -5px rgba(77, 196, 196, 0.15);
    transform: scale(1.02);
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 15px; font-weight: 600; }
.price-amount { display: flex; align-items: baseline; gap: 5px; margin-bottom: 10px; }
.price-amount h2 { font-size: 2.5rem; margin: 0; }
.price-amount span { font-size: 0.8rem; color: var(--text-muted); }
.monthly { font-size: 0.9rem; color: var(--accent-main); margin-bottom: 25px; font-weight: 500;}
.price-card hr { border: none; border-top: 1px solid var(--card-border); margin-bottom: 25px; }
.price-card ul { list-style: none; }
.price-card ul li { margin-bottom: 15px; font-size: 0.95rem; display: flex; gap: 10px; align-items: center; color: var(--text-main); }
.price-card ul li i { color: var(--accent-main); font-size: 0.8rem; }

/* Testimonials / Trustindex */
.testimonials { padding: 80px 0; }
.trustindex-container {
    margin-top: 40px;
    min-height: 200px;
    display: flex;
    justify-content: center;
}

/* Footer */
footer { background: var(--bg-card); padding: 60px 8% 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-top: 1px solid var(--card-border); margin-top: 50px; }
.footer-col p { color: var(--text-muted); margin-top: 10px; font-size: 0.9rem; }
.socials { display: flex; gap: 15px; margin-top: 20px; }
.socials a { color: var(--text-muted); width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.3s; }
.socials a:hover { background: var(--accent-main); border-color: var(--accent-main); color: white; }
.footer-col h4 { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-main); }
.links ul { list-style: none; }
.links ul li { margin-bottom: 10px; }
.links ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.links ul li a:hover { color: var(--accent-main); }
.contact p { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; color: var(--text-muted); }
.copyright { grid-column: 1 / -1; text-align: right; border-top: 1px solid var(--card-border); margin-top: 40px; padding-top: 20px; color: var(--text-muted); font-size: 0.8rem; }

/* Modals */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal-content { background: var(--bg-card); border: 1px solid var(--card-border); padding: 40px; border-radius: 15px; width: 90%; max-width: 500px; position: relative; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.close-btn { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }
form input, form textarea { width: 100%; margin-bottom: 15px; padding: 12px; border: 1px solid var(--card-border); background: var(--bg-main); color: var(--text-main); border-radius: 5px; }
form input::placeholder, form textarea::placeholder { color: var(--text-muted); }

/* Full Screen Website Viewer Modal */
.viewer-modal {
    display: none; 
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-main);
    z-index: 3000;
    flex-direction: column;
}
.viewer-header {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--card-border);
    gap: 20px;
}
.viewer-title { font-weight: 600; color: var(--text-muted); }
.viewer-modal iframe { width: 100%; flex-grow: 1; border: none; background: #ffffff; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-header { flex-direction: column; text-align: center; align-items: center; }
    .hero h1 { font-size: 2.5rem; }
    footer { grid-template-columns: 1fr; text-align: center; }
    .socials { justify-content: center; }
    .copyright { text-align: center; }
    .highlight-card { transform: scale(1); }
}
