/* --- VARS & RESET --- */
:root {
    --bg-white: #fafafa;
    --text-dark: #1a1c23;
    --text-grey: #475569;
    
    /* YOUR BRAND GRADIENT */
    --grad-start: #24c6dc;
    --grad-end: #514a9d;
    
    /* TINTED GLASS VARIABLES */
    /* This mixes your Cyan and Purple with high transparency */
    --glass-bg: linear-gradient(135deg, rgba(36, 198, 220, 0.08), rgba(81, 74, 157, 0.08));
    --glass-bg-hover: linear-gradient(135deg, rgba(36, 198, 220, 0.15), rgba(81, 74, 157, 0.15));
    --glass-border: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 8px 32px rgba(31, 38, 135, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', sans-serif; }

body {
    background-color: var(--bg-white);
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- SUBTLE BACKGROUND IMAGES / SHAPES --- */
/* Increased opacity so the glass has something to distort and blur */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px); /* Reduced blur slightly to show more color */
    z-index: -1;
    opacity: 0.45; /* Much more visible now */
    pointer-events: none;
}
.shape-1 { width: 500px; height: 500px; background: var(--grad-start); top: -50px; left: -100px; }
.shape-2 { width: 600px; height: 600px; background: var(--grad-end); bottom: -100px; right: -100px; }
.shape-3 { width: 400px; height: 400px; background: #24c6dc; top: 40%; left: 30%; opacity: 0.2; }

/* --- UTILITIES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.page-section { padding: 100px 0; position: relative; z-index: 1; }
.center { text-align: center; }

/* --- THE TINTED GLASS EFFECT --- */
.glass-panel, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px); /* Strong blur */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    /* Adding a white inner glow to mimic thick glass */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), var(--shadow-sm);
    border-radius: 16px;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    padding: 15px 0;
}

.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 40px; width: auto; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; margin-left: 30px; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--grad-start); }

.btn-contact {
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    color: white !important; padding: 8px 20px; border-radius: 20px; box-shadow: 0 4px 15px rgba(36, 198, 220, 0.2);
}

/* --- HERO --- */
.hero { padding: 180px 0 100px 0; position: relative; z-index: 1; }
.hero-title { font-size: 3.5rem; line-height: 1.1; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }

.gradient-text {
    background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
    color: var(--grad-start);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle { font-size: 1.25rem; color: var(--text-grey); margin-bottom: 40px; max-width: 600px; }
#typewriter { color: var(--text-dark); font-weight: 700; }

.hero-buttons { display: flex; gap: 15px; }
.btn { text-decoration: none; padding: 12px 30px; border-radius: 8px; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.primary { background: linear-gradient(90deg, var(--grad-start), var(--grad-end)); color: white; box-shadow: 0 4px 15px rgba(36, 198, 220, 0.3); }
.secondary { background: var(--glass-bg); backdrop-filter: blur(10px); color: var(--text-dark); border: 1px solid var(--glass-border); }

/* --- ABOUT --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text { padding: 40px; }
.about-stats { display: grid; grid-template-columns: 1fr; gap: 20px; }

.stat-box { padding: 20px; border-left: 4px solid var(--grad-start); }
.stat-box h3 { font-size: 1.1rem; margin-bottom: 5px; }
.stat-box p { font-size: 0.9rem; color: var(--text-grey); margin: 0; }

/* --- SECTION HEADERS --- */
.section-title { font-size: 2rem; margin-bottom: 15px; font-weight: 700; }
.section-desc { color: var(--text-grey); margin-bottom: 60px; font-size: 1.1rem; }

/* --- CARDS GRID --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card {
    padding: 40px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer;
    display: flex; flex-direction: column; align-items: flex-start;
}

/* Card Hover intensifies the tint and shadow */
.card:hover { 
    transform: translateY(-10px); 
    background: var(--glass-bg-hover);
    box-shadow: 0 15px 35px rgba(36, 198, 220, 0.2); 
    border-color: #ffffff; 
}

.card-icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--text-grey); margin-bottom: 20px; font-size: 0.95rem; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 25px; }
/* Tags have solid white backgrounds to contrast with the tinted glass */
.tags span { font-size: 0.75rem; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--glass-border); color: var(--text-dark); padding: 4px 12px; border-radius: 20px; font-weight: 600; }

.card-link { border: none; background: none; color: var(--grad-end); font-weight: 700; cursor: pointer; font-size: 0.9rem; }

/* --- CONTACT --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-text { padding: 40px; }
.clean-form { padding: 40px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; }
.glass-input {
    width: 100%; padding: 12px; 
    background: rgba(255, 255, 255, 0.5); 
    border: 1px solid var(--glass-border); 
    border-radius: 8px; outline: none; transition: border-color 0.2s, background 0.2s;
}
.glass-input:focus { border-color: var(--grad-start); background: rgba(255, 255, 255, 0.9); }

.full-width { width: 100%; border: none; cursor: pointer; }

footer { margin-top: 60px; text-align: center; color: var(--text-grey); font-size: 0.9rem; }

/* --- MODAL --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 1000;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-content {
    width: 90%; max-width: 600px; padding: 50px;
    position: relative; transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-grey); }
.modal-header { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; color: var(--text-dark); }
.modal-body { color: var(--text-grey); line-height: 1.7; }
.modal-list li { margin-bottom: 10px; color: var(--text-dark); }
.modal-list strong { color: var(--grad-end); }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.5rem; }
    .about-grid, .contact-wrapper { grid-template-columns: 1fr; }
}