/* Base Styles & Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    line-height: 1.7;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Glassmorphism Header */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 50px;
    width: auto;
    border-radius: 50%; /* Makes Logo 1 perfectly round in the header */
}

nav a {
    text-decoration: none;
    color: #475569;
    margin-left: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #0f172a;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 100px 0 120px 0;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    height: auto;
    max-height: 90px;
    width: auto;
    max-width: 100%;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pill-badge {
    display: inline-block;
    background: #cbd5e1;
    color: #334155;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

/* Forces the motto onto one line and scales dynamically */
.motto-heading {
    font-size: clamp(16px, 3.8vw, 46px);
    white-space: nowrap; 
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: #475569;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Slick Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

/* General Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section h2 {
    font-size: 36px;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.divider {
    height: 4px;
    width: 60px;
    background: #3b82f6; 
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* Founder Layout */
.dark-bg {
    background: #ffffff;
}

.founder-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.founder-image-container {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
}

.profile-pic {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.5s ease;
}

.profile-pic:hover {
    transform: scale(1.02);
}

.founder-text {
    flex: 2;
    min-width: 300px;
}

.founder-text h3 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 20px;
}

.founder-text p {
    margin-bottom: 18px;
    font-size: 17px;
}

/* Contact Grid UI */
.contact-section {
    background: #f8fafc;
}

.contact-subtitle {
    margin-top: 20px;
    font-size: 18px;
    color: #64748b;
}

.contact-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: #ffffff;
    width: 300px;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-card .icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 10px;
}

.contact-card p, .contact-card a {
    color: #475569;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #3b82f6;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-img {
    height: 40px;
    border-radius: 50%;
    filter: grayscale(100%) brightness(200%); 
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 15px; }
    nav a { margin: 0 10px; }
    .hero-buttons { flex-direction: column; }
    .founder-layout { flex-direction: column; text-align: center; }
}