:root {
    --primary: #0ea5e9;
    --primary-glow: rgba(14, 165, 233, 0.4);
    --secondary: #10b981;
    --secondary-glow: rgba(16, 185, 129, 0.4);
    --accent: #f59e0b;
    --dark: #0f172a;
    --surface: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn 1s forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s forwards;
}

.fade-in-up-delay {
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.3s;
}

.fade-in-up-delay-2 {
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.5s;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease-out, top 0.1s ease-out;
}

/* Glass UI Components */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.75rem 2rem;
    z-index: 1000;
    transition: var(--transition);
}

.glass-nav.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: rgba(15, 23, 42, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-accent {
    color: var(--primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    color: white !important;
}

/* Sections */
.section {
    padding: 100px 0;
}

.alt-bg {
    background-color: rgba(15, 23, 42, 0.5);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.center .section-underline {
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.sphere-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: pulse 10s infinite;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: pulse 15s infinite;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text);
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--surface);
    border: 1px solid var(--glass-border);
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--dark) 100%);
}

.hero-stat-card {
    position: absolute;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    z-index: 10;
}

.card-1 {
    top: 20%;
    left: -40px;
}

.card-2 {
    bottom: 20%;
    right: -40px;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about-text {
    padding: 2.5rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.mt-4 {
    margin-top: 2rem;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.company-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
}

.company-logo-wrapper {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 10px;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.role {
    display: block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.company-link:hover {
    text-decoration: underline;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    margin-left: 80px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 30px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.1);
}

.timeline-date {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin-top: 1rem;
    list-style-type: '→ ';
    color: var(--text-muted);
    padding-left: 1.5rem;
}

/* Education & Certs */
.edu-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.edu-list,
.cert-list,
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edu-item,
.cert-item,
.award-item {
    padding: 1.5rem;
}

.edu-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.edu-item p {
    color: var(--text-muted);
}

.cert-item,
.award-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cert-item i,
.award-item i {
    width: 40px;
    height: 40px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.text-gold {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.1) !important;
}

/* CSR Section */
.csr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.csr-item {
    text-align: center;
    padding: 2rem;
}

.csr-item i {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    color: white;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.csr-item:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* Contact Section */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
}

.contact-info {
    padding: 4rem;
    background: rgba(14, 165, 233, 0.05);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-list {
    margin-top: 3rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.contact-list i {
    color: var(--primary);
}

.contact-form {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ==============================
   Advanced Gallery Showcase
================================= */
.gallery-showcase {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1.5rem;
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

.main-display-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
}

.gallery-counter {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    pointer-events: none;
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
}

.gallery-nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
}

.gallery-nav-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
    border-color: var(--primary);
}

.gallery-thumbs-wrapper {
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid var(--border);
}

.gallery-thumbs-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.gallery-thumbs-track::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs-track::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.gallery-thumb {
    flex: 0 0 120px;
    aspect-ratio: 16/10;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.55;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    opacity: 0.85;
}

.gallery-thumb.active {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.06);
}

/* ==============================
   Mobile Menu Button
================================= */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==============================
   Responsive - Tablet (1024px)
================================= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-container {
        display: block;
        max-width: 320px;
        margin: 0 auto;
        animation: none;
    }

    .card-1 {
        left: 0;
    }

    .card-2 {
        right: 0;
    }

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

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

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

    .company-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==============================
   Responsive - Mobile (768px)
================================= */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 72%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.6);
        border-left: 1px solid var(--border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero-section {
        padding: 130px 0 60px;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-image-container {
        display: block;
        max-width: 260px;
        margin: 2rem auto 0;
    }

    .hero-stat-card.card-1 {
        display: none;
    }

    .hero-stat-card.card-2 {
        display: none;
    }

    .glass-nav {
        width: 94%;
        padding: 0.75rem 1.25rem;
    }

    .glass-nav.scrolled {
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

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

    .contact-info {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        margin-left: 30px;
    }

    .timeline-item::before {
        left: -34px;
    }

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

    .about-card {
        padding: 1.5rem;
    }

    .gallery-main {
        aspect-ratio: 4/3;
    }

    .gallery-overlay h3 {
        font-size: 1.1rem;
    }

    .gallery-overlay p {
        display: none;
    }

    .gallery-thumb {
        flex: 0 0 75px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* ==============================
   Responsive - Small Mobile (480px)
================================= */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .badge {
        font-size: 0.75rem;
    }

    .hero-image-container {
        max-width: 220px;
    }

    .gallery-thumb {
        flex: 0 0 60px;
    }
}

/* ==============================
   Contact Info Cards
================================= */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-detail-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.contact-detail-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.contact-detail-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-detail-icon svg {
    width: 28px;
    height: 28px;
}

.contact-detail-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.contact-detail-card a,
.contact-detail-card p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-detail-card a:hover {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.75rem auto 0;
}

.mt-2 {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}