/* style.css - Shared CSS for all pages */

:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent-blue: #00c6fb;
    --accent-teal: #00f2fe;
    --accent-purple: #9d50bb;
    --accent-pink: #ff7eb3;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    --gradient-secondary: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
}

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

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary);
    color: var(--text-light);
    line-height: 1.6;
}

html, body {
    height: 100%; /* Gives the body a reference point */
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures it spans the full screen height */
    padding-top: 160px; /* Account for fixed header height */
}

main {
    flex: 1 0 0 auto; /* This forces the main content to GROW and push the footer down */
}

footer {
    flex-shrink: 0; /* Prevents the footer from collapsing */
}

.main-wrapper {
    overflow-x: hidden;
}




/* Preloader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s 1s;
}

.drone-spinner {
    font-size: 4rem;
    color: var(--accent-teal);
    margin-bottom: 30px;
    animation: spin 2s linear infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    animation: loading 2s forwards;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes loading {
    100% { width: 100%; }
}

/* Particle Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 198, 251, 0.2);
    animation: gradientShift 8s ease infinite;
    background-size: 300% 300%;
}

.text-gradient-scroll {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 198, 251, 0.5);
}

.accent-blue { color: var(--accent-blue); }
.accent-teal { color: var(--accent-teal); }

/* Typing Animation */
.typing-animation {
    display: inline-block;
    position: relative;
    color: var(--accent-teal);
    text-shadow: 0 0 10px rgba(0, 198, 251, 0.5);
}

.typing-animation::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 1s infinite;
    color: var(--accent-teal);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Layout */
.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.header-social-links {
    position: absolute;
    bottom: 10px;
    right: 0;
    display: flex;
    gap: 5px;
}

.header-social-links .social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .header-social-links { display: none; }
}

section {
    padding: 180px 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.grid { display: grid; gap: 30px; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content:center;
    align-items: center;
    padding: 2px 0;
    flex-wrap: nowrap;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: right;
    transition: all 0.3s ease;
    margin-left: -55px;
    flex-shrink: 2;
    overflow-x: auto;
    gap: 15px;
    padding: 0 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: max-content;
}

.logo:hover { transform: scale(1.05); }

.logo img {
    height: 163px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 198, 251, 0.5));
    padding-left: 20px;
    padding-bottom: 0px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.core-services-link {
    color: white;
    text-decoration: none;
}
.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.7px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    transition: width 0.3s ease;
}

.nav-link:hover::before, .nav-link.active::before { width: 100%; }

/* MOBILE MENU BUTTON - FIXED CSS */
.mobile-menu-btn {
    display: none; /* Changed from visible to none */
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: rgba(0, 198, 251, 0.2);
    border-radius: 5px;
    padding: 10px 15px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 198, 251, 0.3);
}

.mobile-menu-btn:hover {
    background: rgba(0, 198, 251, 0.3);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: -160px;
}


#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 198, 251, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: pulse 8s infinite alternate;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 15px rgba(0, 198, 251, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    line-height: 1.8;
}

.highlight-pulse {
    animation: pulseText 2s infinite;
    padding: 0 5px;
    border-radius: 3px;
}

.btn-holographic {
    display: inline-block;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: #0f172a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 198, 251, 0.4);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    position: relative;
    overflow: hidden;
    border: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.btn-holographic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-teal), var(--accent-purple), var(--accent-pink));
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientBG 6s ease infinite;
    opacity: 0.8;
    transition: all 0.6s ease;
}

.btn-holographic:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 198, 251, 0.6);
}

.btn-holographic:hover::before { opacity: 1; }

/* 3D Drone Container */
.drone-3d-container {
    position: absolute;
    right: 23%;
    top: 60%;
    transform: translateY(-50%);
    width: 400px;
    height: 100px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.drone-animation-sticker { height: 210px; }

/* Problem Section */
#problem {
    background-color: var(--secondary);
    position: relative;
}

#problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.problem-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.problem-content, .solution-content {
    flex: 1;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transform-style: preserve-3d;
}

.problem-content:hover, .solution-content:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 40px rgba(0, 198, 251, 0.3);
    border-color: rgba(0, 198, 251, 0.3);
}

.section-subtitle {
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    border-radius: 2px;
}

.checklist { list-style: none; }

.checklist li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 5px;
}

.checklist li:hover {
    background: rgba(0, 198, 251, 0.05);
    transform: translateX(5px);
}

.checklist li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 2px;
}

.solution-content .checklist li::before { color: var(--accent-blue); }

/* Why Drones Section */
#why-drones {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

#why-drones::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1473968512647-3e447244af8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    border: 1px solid rgba(148, 163, 184, 0.1);
    text-align: center;
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(0, 198, 251, 0.2);
    border-color: rgba(0, 198, 251, 0.3);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.9));
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(0, 198, 251, 0.1), rgba(0, 242, 254, 0.1));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 198, 251, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-teal);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Services Section */
#services { position: relative; }

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1532989029401-439615f3d4b4?q=80&w=2136&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card-holographic {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transform: translateY(50px);
    opacity: 0;
    position: relative;
    transform-style: preserve-3d;
}

.service-card-holographic.visible {
    transform: translateY(0);
    opacity: 1;
}

.solution-point-p { margin-bottom: 25px; }

.service-card-holographic:hover {
    transform: translateY(-10px) rotateX(5deg) !important;
    box-shadow: 0 15px 40px rgba(0, 198, 251, 0.2);
    border-color: rgba(0, 198, 251, 0.3);
}

.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 198, 251, 0.1), rgba(0, 242, 254, 0.1));
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.service-card-holographic:hover .holographic-overlay { opacity: 1; }

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card-holographic:hover .service-image img {
    transform: scale(1.1) rotate(1deg);
}

.service-icon-3d {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(0, 198, 251, 0.1), rgba(0, 242, 254, 0.1));
    transition: all 0.5s ease;
    position: relative;
    perspective: 1000px;
}

.icon-isometric {
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    transform: rotateX(45deg) rotateZ(45deg);
    transition: all 0.5s ease;
}

.service-card-holographic:hover .icon-isometric {
    transform: rotateX(45deg) rotateZ(45deg) translateY(-10px);
}

.service-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.service-content h3 {
    margin-bottom: 20px;
    color: var(--accent-teal);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-card-holographic:hover .service-content h3 {
    color: var(--accent-blue);
    transform: translateY(-3px);
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    transition: width 0.3s ease;
}

.service-card-holographic:hover .service-content h3::after { width: 100%; }
.solution-points { gap:10px; }

.service-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.service-applications {
    font-size: 0.9rem;
    color: var(--accent-blue);
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(148, 163, 184, 0.3);
}

/* Additional Applications Section */
#additional-apps {
    background-color: var(--secondary);
    position: relative;
}

#additional-apps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.myclass {
    color: black;
}

.solution-point { color: rgb(207, 206, 137); }

.app-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-blue);
    transform: translateY(30px);
    opacity: 0;
}

.app-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.app-card:nth-child(even) { border-left-color: var(--accent-teal); }

.app-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 198, 251, 0.2);
}

.app-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-teal);
}

.app-card:nth-child(even) h4 { color: var(--accent-blue); }

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

/* About Section */
#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-content {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.about-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 198, 251, 0.2);
    border-color: rgba(0, 198, 251, 0.3);
}

.tech-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    height: 100%;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.tech-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tech-image:hover img { transform: scale(1.05); }

/* Enhanced Team Section */
.team-section {
    padding: 80px 0;
    position: relative;
}

.team-container {
    display: grid;
    grid-template-rows:auto auto auto auto;
    gap: 0;
    max-width: 700px;
    padding: 0 0px;
}

.team-member-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transform: translateY(50px);
    opacity: 0;
    width:1034px;
    display: flex;
    flex-direction: row;
    flex: 100px 100px;
    align-items: center;
    margin-bottom: 15px;
}

.team-member-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.team-member-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 198, 251, 0.3);
    border-color: rgba(0, 198, 251, 0.5);
}

.member-image-container {
    display: grid;
    position: center;
    height: 280px;
    width: 310px;
    overflow: hidden;
}

.member-image {
    position: top;
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 20px;
    width:190px;
    height: 190px;
    border-radius: 250px;
    border: 2px solid white;
    object-fit:contain;
    object-position: top;
    transform: scale(1);
    transition: transform 1.2s ease;
}

.team-member-card:hover .member-image { transform: scale(1.05); }

.member-info {
    padding-right: 60px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: none;
    display: flex;
    gap: 100px;
    row-gap: 1px;
    width: 100%;
    flex: 100px 100px;
    flex-direction: column;
    align-content: space-around;
    justify-content: space-around;
    align-items: baseline;
}

.member-name-position {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width:150px
}

.member-name {
    font-size: 1.6rem;
    margin-left: 10px;
    color: var(--accent-teal);
    position: relative;
    display: inline-block;
    width: 400px;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    transition: width 0.4s ease;
}

.member-position {
    font-size: 1.1rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-weight: 600;
}

.member-bio {
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--text-muted);
}

.member-contact {
    padding-top: 20px;
    border-top: 1px dashed rgba(148, 163, 184, 0.3);
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Contact Section */
#contact {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 198, 251, 0.2);
    border-color: rgba(0, 198, 251, 0.3);
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--accent-teal);
    position: relative;
    display: inline-block;
}



.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    border-radius: 2px;
}

.contact-details { margin-bottom: 40px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.contact-item:hover {
    background: rgba(0, 198, 251, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 198, 251, 0.1), rgba(0, 242, 254, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: var(--white);
    transform: rotate(15deg);
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

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

.our-offices { margin-top: 70px; }

.our-offices h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-teal);
}

.office-location { margin-bottom: 15px; }

.office-type {
    font-weight: 600;
    color: rgb(225, 225, 160);
    margin-bottom: 5px;
}

.office-city {
    color: var(--text-muted);
    padding-left: 15px;
}

/* Contact Form */
.neumorphic-form {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 -3px 10px rgba(255,255,255,0.1);
    transition: all 0.5s ease;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.neumorphic-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 198, 251, 0.2), inset 0 -3px 10px rgba(255,255,255,0.1);
    border-color: rgba(0, 198, 251, 0.3);
}

.neumorphic-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--accent-blue);
    position: relative;
    display: inline-block;
}

.neumorphic-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    border-radius: 2px;
}

.form-group { margin-bottom: 25px; }

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-light);
}

.neumorphic-input {
    width: 100%;
    padding: 15px;
    background-color: rgba(15, 23, 42, 0.8);
    border: none;
    border-radius: 8px;
    color: var(--text-light);
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2), inset -2px -2px 5px rgba(255,255,255,0.05);
}

.neumorphic-input:focus {
    outline: none;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2), inset -1px -1px 3px rgba(255,255,255,0.05), 0 0 0 3px rgba(0, 198, 251, 0.2);
}

.menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

textarea.neumorphic-input {
    min-height: 150px;
    resize: vertical;
}

.g-recaptcha {
    margin: 25px 0;
    transform: scale(0.9);
    transform-origin: 0 0;
}

.submit-btn-3d {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 198, 251, 0.3), 0 5px 0px rgba(0, 168, 211, 0.8);
    position: relative;
    overflow: hidden;
}

.submit-btn-3d:hover {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    transform: translateY(2px);
    box-shadow: 0 2px 10px rgba(0, 198, 251, 0.4), 0 3px 0px rgba(0, 168, 211, 0.8);
}

.submit-btn-3d:active {
    transform: translateY(5px);
    box-shadow: 0 1px 5px rgba(0, 198, 251, 0.4), 0 0px 0px rgba(0, 168, 211, 0.8);
}

/* Footer */
footer {
    background-color: var(--primary);
    padding: 20px 0 30px;
    border-top: 1px solid #334155;
    position: relative;
}

/* Footer Contact Row */
.footer-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #334155;
    flex-wrap: wrap;
}

.contact-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-info { text-align: left; }

.contact-info h4 {
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover { color: var(--accent-blue); }

.social-links-bottom { display: flex; gap: 15px; }

/* Remove social links from first column */
.footer-about .social-links { display: none; }

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.footer-logo:hover { transform: scale(1.05); }

.footer-logo img {
    height: 200px;
    filter: drop-shadow(0 0 15px rgba(0, 198, 251, 0.5));
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links { display: flex; gap: 15px; }

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: var(--white);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 5px 15px rgba(0, 198, 251, 0.3);
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--accent-teal);
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    border-radius: 2px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #334155;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 20px rgba(0, 198, 251, 0.3);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 198, 251, 0.4);
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@keyframes pulseText {
    0%, 100% { background-color: rgba(0, 198, 251, 0.1); }
    50% { background-color: rgba(0, 198, 251, 0.3); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hologramFlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .problem-container, .about-container, .contact-container { grid-template-columns: 1fr; }
    .tech-image { height: 400px; }
}

@media (max-width: 768px) {
    /* MOBILE NAVIGATION */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
        gap: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
        opacity: 1;
        visibility: visible;
        display: flex !important;
    }
    
    .nav-links.active { left: 0; }
    
    .mobile-menu-btn {
        display: flex !important;
        position: fixed;
        top: 25px;
        right: 20px;
        z-index: 1001;
    }
    
    .nav-link {
        width: 100%;
        padding: 18px 30px;
        text-align: left;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        font-size: 1.1rem;
        border-radius: 0;
    }
    
    .nav-link:hover { background: rgba(0, 198, 251, 0.1); }
    .nav-link::before { display: none; }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    
    .menu-overlay.active { opacity: 1; visibility: visible; }
    
    body.menu-open { overflow: hidden; }
    
    header { height: 130px; padding: 10px 0; }
    .logo { margin-left: 15px; margin-top: -40px; }
    .logo img { height: 205px; padding-left: 10px; }
    .hero-content h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1.5rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
}

@media (min-width: 769px) {
    .mobile-menu-btn { display: none !important; }
    .nav-links {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        flex-direction: row !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
    }
    
    .nav-link {
        width: auto !important;
        padding: 10px 15px !important;
        text-align: center !important;
        border-bottom: none !important;
        font-size: 1rem !important;
        border-radius: 5px !important;
    }
    .nav-link::before { display: block !important; }
}

/* --- ULTIMATE RESPONSIVE TEAM SECTION FIX --- */

@media (max-width: 1080px) {
    /* 1. The Card - Fixed for all tablet/mobile sizes */
    .team-member-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
        /* Centering & Sizing */
        margin: 0 auto 40px auto; 
        width: calc(100% - 40px); /* Dynamic width with safe gutters */
        max-width: 800px; 
        
        /* Spacing & Visuals */
        padding: 40px 20px;
        background: rgba(30, 41, 59, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(148, 163, 184, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        
        /* Fix Clipping & Visibility */
        overflow: visible !important; 
        opacity: 1 !important; 
        transform: translateY(0) !important;
        transition: all 0.4s ease-in-out;
    }

    /* 2. The Image Frame - Extra room for the hover growth */
    .member-image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-bottom: 25px;
        
        /* The "Safety Zone" - Container is larger than image to prevent clipping */
        height: 240px; 
        width: 100%; /* Spans full card width to ensure centering */
        overflow: visible !important; 
    }

    /* 3. The Image itself */
    .member-image {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        border: 4px solid var(--accent-blue);
        
        /* Fix: Always fills circle, ignores weird original aspect ratios */
        object-fit: cover; 
        object-position: center top; 
        
        transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    /* 4. Hover effect - Guaranteed not to cut */
    .team-member-card:hover .member-image {
        transform: scale(1.1); /* Growth stays within the 'Safety Zone' container */
        border-color: var(--accent-teal);
    }
}

/* --- Breakpoints for Unusual & Small Screen Sizes --- */

/* Mid-Size Tablets (e.g. iPad Pro) - Allow cards to be wider */
@media (max-width: 992px) {
    .team-member-card {
        max-width: 700px;
    }
}

/* Small Tablets / Large Phones - Maximize screen real estate */
@media (max-width: 768px) {
    .team-member-card {
        width: calc(100% - 30px); /* Smaller side gutters */
        padding: 35px 15px;
    }
    
    .member-image {
        width: 180px;
        height: 180px;
    }
    
    .member-image-container {
        height: 210px;
    }
}

/* Narrow Phones (Small Androids/iPhones) - The "No-Cut" Zone */
@media (max-width: 480px) {
    .team-member-card {
        width: calc(100% - 20px); /* Use almost the whole screen */
        border-radius: 15px;
        padding: 25px 10px;
    }

    .member-image {
        width: 150px;
        height: 150px;
    }

    .member-image-container {
        height: 180px;
    }
    
    /* Ensure text doesn't hit the edges */
    .member-info {
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }
}