/* FILE: styles.css */
:root {
    --primary: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary: #06b6d4;
    --accent: #10b981;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --gradient: linear-gradient(135deg, #1e3a8a 0%, #06b6d4 50%, #10b981 100%);
    --gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #06b6d4 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
/* ========== TECH PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Tech Spinner */
.tech-spinner {
    position: relative;
    width: 64px;
    height: 64px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(30, 58, 138, 0.1);
    border-top-color: #1e3a8a;
    border-right-color: #06b6d4;
    animation: spin 1.2s linear infinite;
}

.spinner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #1e3a8a, #10b981);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
    animation: pulse-core 1.5s ease-in-out infinite;
}

/* Preloader Logo Text */
.preloader-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #1e3a8a 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fade-up 1s ease forwards;
}

.letter-s { animation: float-letter 2s ease-in-out infinite; }
.letter-m { animation: float-letter 2s ease-in-out infinite 0.3s; }

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-core {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

@keyframes float-letter {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark mode fallback for Admin (Optional) */
.admin-body .preloader {
    background: #f1f5f9;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-wrapper {
    width: 50px;
    height: 50px;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.circuit-dot {
    animation: pulse 2s ease-in-out infinite;
}

.circuit-dot:nth-child(3) {
    animation-delay: 0.5s;
}

.circuit-dot:nth-child(4) {
    animation-delay: 1s;
}

.circuit-dot:nth-child(5) {
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #d1fae5 100%);
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(30, 58, 138, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 138, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 60%;
    right: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    animation: slideInDown 0.8s ease;
}

.hero-badge i {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    animation: slideInLeft 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: slideInUp 1.4s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeIn 1.6s ease;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1.5s ease;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
    animation: shimmer 20s linear infinite;
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%); }
    100% { transform: translate(0, 0); }
}

.hero-image-placeholder i {
    font-size: 8rem;
    color: white;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured Section */
.featured {
    padding: 100px 20px;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #dbeafe 0%, #d1fae5 100%);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px solid var(--gray-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dbeafe 0%, #d1fae5 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 1rem;
}
/* ========== PHOTO CONTAINER STYLES - MOBILE OPTIMIZED ========== */

/* About Photo Container */
.about-photo-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.about-photo-container:hover .about-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    pointer-events: none;
}

/* Hero Photo Container */
.hero-image-photo-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-image-photo-container:hover .hero-photo {
    transform: scale(1.05);
}

.hero-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    pointer-events: none;
}

/* Upload Hero Photo Button */
.upload-hero-photo-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 10;
}

.upload-hero-photo-btn i {
    color: var(--primary);
    font-size: 1rem;
}

.upload-hero-photo-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.upload-hero-photo-btn:hover i {
    color: white;
}

/* Ecosystem Photo Card */
.ecosystem-card {
    position: relative;
    background: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.ecosystem-photo-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.ecosystem-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ecosystem-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    pointer-events: none;
}

.ecosystem-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #dbeafe 0%, #d1fae5 100%);
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

/* Upload Button Styles */
.upload-photo-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 10;
}

.upload-photo-btn:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.upload-photo-btn.small {
    padding: 0.5rem;
    border-radius: 50%;
    bottom: 10px;
    right: 10px;
}

.upload-photo-btn.small span {
    display: none;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet - 992px */
@media (max-width: 992px) {
    .about-photo-container,
    .hero-image-photo-container {
        height: 450px;
    }
    
    .hero-image-wrapper {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Mobile Landscape & Small Tablet - 768px */
@media (max-width: 768px) {
    .about-photo-container,
    .hero-image-photo-container {
        height: 400px;
        border-radius: 20px;
    }
    
    .about-image-wrapper {
        position: relative;
        max-width: 100%;
    }
    
    .upload-photo-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .upload-photo-btn i {
        font-size: 0.9rem;
    }
    
    .upload-hero-photo-btn {
        width: 40px;
        height: 40px;
        top: 15px;
        left: 15px;
    }
    
    .experience-badge {
        padding: 1.5rem;
        right: 10px;
        bottom: -15px;
    }
    
    .experience-badge .years {
        font-size: 2.5rem;
    }
    
    .ecosystem-photo-container {
        height: 250px;
    }
    
    .ecosystem-card {
        padding: 1.5rem;
    }
    
    .floating-card {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .floating-card i {
        font-size: 1.2rem;
    }
}

/* Mobile Portrait - 480px */
@media (max-width: 480px) {
    .about-photo-container,
    .hero-image-photo-container {
        height: 350px;
        border-radius: 15px;
    }
    
    .hero-image-wrapper {
        padding: 0 10px;
    }
    
    .about-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .upload-photo-btn {
        bottom: 10px;
        right: 10px;
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .upload-photo-btn span {
        display: none; /* Hide text on small screens, show only icon */
    }
    
    .upload-photo-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    
    .upload-photo-btn i {
        font-size: 1rem;
        margin: 0;
    }
    
    .upload-hero-photo-btn {
        width: 35px;
        height: 35px;
        top: 10px;
        left: 10px;
    }
    
    .upload-hero-photo-btn i {
        font-size: 0.9rem;
    }
    
    .experience-badge {
        padding: 1rem;
        right: 5px;
        bottom: -10px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
    
    .experience-badge .text {
        font-size: 0.75rem;
    }
    
    .ecosystem-photo-container {
        height: 220px;
    }
    
    .ecosystem-card {
        padding: 1.25rem;
        margin: 0 10px;
    }
    
    .floating-card {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .floating-card i {
        font-size: 1rem;
    }
    
    .floating-card.card-1 {
        left: 5%;
        top: 5%;
    }
    
    .floating-card.card-2 {
        right: 5%;
        top: auto;
        bottom: 15%;
    }
    
    .floating-card.card-3 {
        left: 10%;
        bottom: 5%;
    }
}

/* Extra Small Mobile - 375px */
@media (max-width: 375px) {
    .about-photo-container,
    .hero-image-photo-container {
        height: 300px;
    }
    
    .ecosystem-photo-container {
        height: 200px;
    }
    
    .floating-card {
        display: none; /* Hide floating cards on very small screens */
    }
}

/* Fix for About Grid on Mobile */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image-wrapper {
        max-width: 100%;
    }
}

/* Hero Section Mobile Fixes */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1; /* Show image first on mobile */
    }
    
    .hero-image-wrapper {
        max-width: 100%;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

/* Ensure images don't overflow */
.about-photo,
.hero-photo,
.ecosystem-photo {
    max-width: 100%;
    height: 100%;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Fix container widths */
.container,
.hero-container,
.about-grid {
    max-width: 100%;
    overflow-x: hidden;
}
/* About Preview */
.about-preview {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gradient);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.about-placeholder i {
    font-size: 10rem;
    color: white;
    opacity: 0.8;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.experience-badge .years {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--gray);
}

.about-content .section-tag {
    margin-bottom: 1rem;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2rem 0;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* CTA Section */
.cta {
    padding: 100px 20px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
    animation: shimmer 30s linear infinite;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* ========== HOME CONTACT SECTION ========== */
.home-contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Side Info */
.contact-info-side {
    position: relative;
    z-index: 1;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.contact-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon-box {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon-box i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.contact-item:hover .contact-icon-box {
    background: var(--gradient);
    transform: translateY(-3px);
}

.contact-item:hover .contact-icon-box i {
    color: white;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-text .label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.contact-text a, 
.contact-text span {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--secondary);
}

/* Decorative Shape */
.contact-bg-shape {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

/* Right Side Form */
.contact-form-side {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark);
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.form-icon {
    position: absolute;
    left: 16px;
    top: 42px; /* Adjusted for label height */
    color: var(--gray);
    font-size: 1rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + .form-icon,
.form-group textarea:focus + .form-icon {
    color: var(--secondary);
}

.textarea-icon {
    top: 42px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* ========== RESPONSIVE CONTACT SECTION ========== */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info-side {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-bg-shape {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .home-contact {
        padding: 70px 20px;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-form-side {
        padding: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 1.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px 12px 40px;
        font-size: 0.95rem;
    }
    
    .form-icon {
        left: 14px;
        top: 40px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-wrapper {
        height: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-card {
        display: none;
    }
}
/* ========== LATEST BLOGS ========== */
.latest-blogs { padding: 100px 20px; background: white; }
.blogs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.blog-card { background: white; border-radius: 20px; overflow: hidden; border: 1px solid var(--gray-light); transition: all 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--secondary); }
.blog-img { height: 200px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 3rem; }
.blog-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 0.8rem; color: var(--secondary); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--dark); }
.blog-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.blog-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--gray); border-top: 1px solid var(--gray-light); padding-top: 15px; }
.view-all-btn { text-align: center; }

/* ========== SUBSCRIPTION SECTION ========== */
.subscription-section { padding: 80px 20px; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); }
.subscription-card { background: var(--gradient); border-radius: 30px; padding: 60px 40px; display: flex; align-items: center; justify-content: space-between; gap: 40px; box-shadow: var(--shadow-xl); position: relative; overflow: hidden; }
.subscription-card::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.sub-content { flex: 1; color: white; position: relative; z-index: 1; }
.sub-content h2 { font-size: 2.2rem; margin-bottom: 15px; }
.sub-content h2 .gradient-text { background: white; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sub-content p { font-size: 1.1rem; opacity: 0.9; line-height: 1.6; }
.sub-form { display: flex; gap: 10px; background: white; padding: 8px; border-radius: 50px; flex: 1; max-width: 500px; position: relative; z-index: 1; box-shadow: var(--shadow-lg); }
.input-group { flex: 1; display: flex; align-items: center; padding-left: 20px; }
.input-group i { color: var(--gray); margin-right: 10px; }
.input-group input { border: none; outline: none; width: 100%; font-size: 1rem; background: transparent; }
.sub-form .btn-primary { border-radius: 40px; padding: 12px 25px; }

@media (max-width: 768px) {
    .subscription-card { flex-direction: column; text-align: center; padding: 40px 20px; }
    .sub-form { flex-direction: column; border-radius: 20px; width: 100%; }
    .input-group { padding: 10px 0; border-bottom: 1px solid var(--gray-light); }
    .sub-form .btn-primary { width: 100%; justify-content: center; }
}