/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0D1117;     /* A professional, deep dark color */
    --accent-color: #4a90e2;      /* A brighter blue for buttons and links */
    --text-color: #E6EDF3;        /* A soft, readable white */
    --secondary-text-color: #8B949E; /* A muted grey for subtitles */
    --light-text-color: #ffffff;
    --border-color: #30363d;      /* A subtle border color for dark theme */
    --font-family: 'Inter', sans-serif;
    --container-width: 1100px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--primary-color);
    color: var(--text-color);
}

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

h1, h2, h3 {
    line-height: 1.2;
    color: var(--light-text-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 50px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
p { margin-bottom: 15px; color: var(--secondary-text-color); }
section { padding: 80px 0; }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Buttons --- */
.cta-button {
    display: inline-block; background-color: var(--accent-color); color: var(--light-text-color);
    padding: 12px 25px; border-radius: 5px; text-decoration: none;
    font-weight: 500; transition: background-color 0.3s ease, transform 0.3s ease;
    border: none; cursor: pointer; font-size: 1rem;
}
.cta-button:hover { background-color: #357abd; transform: translateY(-2px); }

/* --- Hero Section --- */
/* --- Hero Section (UPDATED) --- */
#hero {
    background: var(--primary-color);
    color: var(--light-text-color);
    min-height: 90vh;
    display: flex;
    /* CHANGE: We are no longer vertically centering the entire block */
    /* align-items: center; */ 
    justify-content: center; /* This keeps it centered horizontally */
    text-align: center;
    /* ADD: Padding to manually control the vertical position */
    padding: 30px 20px; /* 100px from the top, 20px on the sides */
}
#hero h1 { color: var(--light-text-color); }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-logo { display: block; max-height: 400px; width: auto; margin: 0 auto 0 auto; filter: brightness(0) invert(1); }
.hero-content p { font-size: 1.2rem; margin: 20px 0 30px; opacity: 0.9; }

/* --- Grid & Card Styles --- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
    background: #161B22; padding: 30px; border-radius: 8px;
    text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.card i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; }
.card p { color: var(--secondary-text-color); }

/* --- Vision Section --- */
#vision { background: #161B22; }
blockquote {
    font-size: 1.5rem; color: var(--text-color); border-left: 3px solid var(--accent-color);
    padding-left: 30px; max-width: 700px; margin: 0 auto;
}

/* --- Contact Section --- */
#contact { background-color: var(--primary-color); }
.contact-subtitle { text-align: center; max-width: 600px; margin: 0 auto 40px; opacity: 0.9; }
form { max-width: 600px; margin: 0 auto; display: grid; gap: 15px; }
form input, form textarea {
    width: 100%; padding: 15px; border-radius: 5px; border: 1px solid var(--border-color);
    background-color: #161B22; color: var(--light-text-color);
    font-family: var(--font-family); font-size: 1rem;
}
form textarea { min-height: 120px; resize: vertical; }
.contact-info { text-align: center; margin-top: 30px; }
.contact-info a { color: var(--accent-color); text-decoration: none; font-weight: 500; }
.hidden { display: none; }

/* --- Footer --- */
footer { background-color: var(--primary-color); padding: 20px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid var(--border-color); }

/* --- Scroll Indicator Styles --- */
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; }
.chevron { position: absolute; width: 24px; height: 6px; opacity: 0; transform: scale(0.3); animation: move-chevron 3s ease-out infinite; }
.chevron:before, .chevron:after { content: ''; position: absolute; top: 0; height: 100%; width: 51%; background: #8B949E; }
.chevron:before { left: 0; transform: skew(0deg, 30deg); }
.chevron:after { right: 0; width: 50%; transform: skew(0deg, -30deg); }
.chevron:nth-child(1) { animation-delay: -0.4s; }
.chevron:nth-child(2) { animation-delay: -0.2s; }
.chevron:nth-child(3) { animation-delay: 0s; }
@keyframes move-chevron { 25% { opacity: 1; } 33% { opacity: 1; transform: translateY(12px); } 67% { opacity: 1; transform: translateY(18px); } 100% { opacity: 0; transform: translateY(30px) scale(0.5); } }

/* --- Form Success Message Styles --- */
#form-success-message { max-width: 600px; margin: 0 auto; padding: 40px; text-align: center; border: 1px solid var(--border-color); border-radius: 8px; background-color: #161B22; }
#form-success-message h3 { color: var(--light-text-color); font-size: 1.8rem; margin-bottom: 10px; }
#form-success-message p { color: var(--secondary-text-color); }

/* --- Responsive Design --- */
@media (max-width: 768px) { h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } .grid { grid-template-columns: 1fr; } }