/* ============================================
   TechnoTP — Stylesheet
   Colors inspired by logo:
     Primary bright blue: #0099E5
     Primary dark blue:   #1A3A5C
     Accent light blue:   #00B4F0
     Dark text:           #2D2D2D
     Light bg:            #F5F8FC
   ============================================ */

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2D2D2D;
    background: #fff;
    overflow-x: hidden;
}

a {
    color: #0099E5;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #007BBD;
}

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

/* ---------- Utility ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1A3A5C;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0099E5, #00B4F0);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 153, 229, 0.1);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(26, 58, 92, 0.1);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #1A3A5C;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0099E5;
}

/* Language Toggle */
.lang-toggle {
    background: none;
    border: 1px solid #0099E5;
    border-radius: 6px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1A3A5C;
    transition: background 0.2s;
}

.lang-toggle:hover {
    background: rgba(0, 153, 229, 0.05);
}

.lang-option {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.lang-option.active {
    opacity: 1;
    color: #0099E5;
}

.lang-separator {
    opacity: 0.3;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1A3A5C;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1A3A5C 0%, #0D2137 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 153, 229, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 153, 229, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(0, 153, 229, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 30%, #00B4F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1rem;
    color: #0099E5;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #0099E5, #00B4F0);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 153, 229, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 153, 229, 0.45);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: #0099E5;
    color: #0099E5;
}

/* ---------- About ---------- */
.about {
    background: #F5F8FC;
}

.about-intro {
    max-width: 750px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 1.05rem;
    color: #4A5568;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.founders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.founder-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(26, 58, 92, 0.06);
    border: 1px solid rgba(0, 153, 229, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26, 58, 92, 0.12);
}

.founder-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A3A5C;
    margin-bottom: 4px;
}

.founder-title {
    color: #0099E5;
    font-weight: 500;
    margin-bottom: 16px;
}

.founder-details {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.founder-degree,
.founder-specialties {
    font-size: 0.9rem;
    color: #4A5568;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.founder-degree i,
.founder-specialties i {
    color: #0099E5;
    margin-top: 4px;
    flex-shrink: 0;
}

.founder-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.founder-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F5F8FC;
    color: #1A3A5C;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.founder-links a:hover {
    background: #0099E5;
    color: #fff;
}

/* ---------- Services ---------- */
.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #F5F8FC;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(0, 153, 229, 0.08);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26, 58, 92, 0.1);
    border-color: rgba(0, 153, 229, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0099E5, #00B4F0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A3A5C;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.6;
}

/* ---------- Why ---------- */
.why {
    background: #F5F8FC;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(26, 58, 92, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(26, 58, 92, 0.1);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 153, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: #0099E5;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1A3A5C;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.9rem;
    color: #4A5568;
}

/* ---------- Contact ---------- */
.contact {
    background: #fff;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin: 0 24px 24px;
}

.contact-item i {
    font-size: 1.2rem;
    color: #0099E5;
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A3A5C;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    font-size: 0.95rem;
    color: #4A5568;
}

.contact-people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
    text-align: center;
}

.contact-person h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1A3A5C;
    margin-bottom: 6px;
}

.contact-person {
    background: #F5F8FC;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 153, 229, 0.08);
}

.contact-person p {
    font-size: 0.9rem;
    color: #4A5568;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.contact-person i {
    color: #0099E5;
    width: 16px;
    text-align: center;
}

.contact-person a {
    color: #4A5568;
}

.contact-person a:hover {
    color: #0099E5;
}


/* ---------- Footer ---------- */
.footer {
    background: #0D2137;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0099E5;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
    .services-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 153, 229, 0.1);
        box-shadow: 0 8px 20px rgba(26, 58, 92, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .founders {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-people {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}
