/* ============================================
   Shams Group Website - Professional Stylesheet
   Enhanced Professional Design
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Teal/Cyan */
    --primary-color: #00D9FF;
    --primary-dark: #00B8D4;
    --primary-light: #33E0FF;
    --primary-lighter: rgba(0, 217, 255, 0.1);
    
    /* Secondary Colors - Purple */
    --secondary-color: #9D4EDD;
    --secondary-dark: #7B2CBF;
    --secondary-light: #B77EE8;
    
    /* Neutral Colors - Light Theme */
    --white: #FFFFFF;
    --light-grey: #F5F5F5;
    --medium-grey: #E8E8E8;
    --dark-grey: #D0D0D0;
    --darker-grey: #F9F9F9;
    --text-dark: #1A1A1A;
    --text-light: #4A4A4A;
    --text-muted: #6B6B6B;
    
    /* Accent Colors */
    --accent-color: #FF6B9D;
    --success-color: #00FF88;
    --warning-color: #FFB800;
    
    /* Shadows - Light Theme */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 8px 30px rgba(0, 217, 255, 0.3), 0 0 20px rgba(0, 217, 255, 0.15);
    --shadow-hover: 0 12px 40px rgba(0, 217, 255, 0.4), 0 0 30px rgba(0, 217, 255, 0.2);
    --shadow-purple: 0 8px 30px rgba(157, 78, 221, 0.3), 0 0 20px rgba(157, 78, 221, 0.15);
    
    /* Gradients - Light Theme */
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #9D4EDD 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(157, 78, 221, 0.1) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 248, 248, 0.9) 100%);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(157, 78, 221, 0.03) 0%, transparent 50%);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 { 
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    text-transform: none;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 217, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 217, 255, 0.1);
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.navbar.scrolled .nav-wrapper {
    padding: 0.75rem 0;
}

.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled .logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background-color: var(--primary-color);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/company/alshams.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 1;
    z-index: 0;
    transition: opacity 0.8s ease, filter 0.8s ease;
    transform: scale(1.1);
}

.hero-slide.active .hero-slide-bg {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--slide-bg-image, url('../assets/bg1.jpg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(157, 78, 221, 0.15) 0%, transparent 50%),
        rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Navigation */
.hero-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 4;
    pointer-events: none;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    pointer-events: all;
    z-index: 5;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.hero-nav-btn span {
    line-height: 1;
    display: block;
}

.hero-nav-btn:active {
    transform: scale(0.95);
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot.active {
    background: var(--white);
    border-color: var(--white);
    width: 32px;
    border-radius: 6px;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
    display: none;
}

.scroll-indicator span {
    display: block;
    width: 32px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 12px; }
    100% { opacity: 0; top: 32px; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 217, 255, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

/* Section Styles */
section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: 2rem;
    line-height: 1.7;
}

/* About Section */
.about {
    background-color: var(--light-grey);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 217, 255, 0.3), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.0625rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(0, 217, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.1);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.mission-item {
    padding: 2.5rem;
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-color);
    border: 1px solid rgba(0, 217, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
}

.mission-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

.mission-item:hover::before {
    opacity: 1;
}

.mission-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.mission-item h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.mission-item p {
    line-height: 1.9;
    font-size: 1.0625rem;
}

/* Portfolio Section */
.portfolio {
    background: var(--white);
    position: relative;
}

.portfolio-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 217, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 217, 255, 0.15);
    position: relative;
    min-height: auto;
    align-items: stretch;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(157, 78, 221, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.category-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(157, 78, 221, 0.3));
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(8px);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover::after {
    opacity: 0.6;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.4), 0 0 30px rgba(0, 217, 255, 0.2), 0 0 0 1px rgba(0, 217, 255, 0.3);
    border-color: rgba(0, 217, 255, 0.4);
}

.category-title {
    color: var(--text-dark);
    margin: 0;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
    padding-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 1.5rem;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

.category-card:hover .category-title {
    transform: translateX(5px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-card:hover .category-title::after {
    width: 60px;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    min-height: 250px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 217, 255, 0.1);
}

.category-card:hover .category-image-wrapper {
    transform: scale(1.02);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
}

.category-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-image::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.75;
    filter: brightness(0.9) contrast(1.1) blur(5px);
    -webkit-filter: brightness(0.9) contrast(1.1) blur(5px);
    transform: scale(1.1);
}

.category-card:hover .category-image img {
    transform: scale(1.15);
    opacity: 0.85;
    filter: brightness(1) contrast(1.2) blur(6px);
    -webkit-filter: brightness(1) contrast(1.2) blur(6px);
}

.category-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 90%;
    text-align: center;
    padding: 1.25rem;
    transition: all 0.4s ease;
    opacity: 1;
}

.category-card:hover .category-description {
    transform: translate(-50%, -50%) scale(1.05);
}

.category-description p {
    color: var(--white);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.category-card:hover .category-description p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 1), 0 4px 25px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.9);
    font-weight: 600;
}

.category-features {
    list-style: none;
    margin: 0;
    padding: 1.5rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
    width: 100%;
    border-top: 1px solid rgba(0, 217, 255, 0.15);
    background: var(--light-grey);
    transition: all 0.4s ease;
    position: relative;
}

.category-card:hover .category-features {
    border-top-color: rgba(0, 217, 255, 0.3);
    background: var(--medium-grey);
    box-shadow: 0 -5px 20px rgba(0, 217, 255, 0.1);
}

.category-features li {
    padding: 0.625rem 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInLeft 0.5s ease forwards;
}

.category-features li:nth-child(1) { animation-delay: 0.1s; }
.category-features li:nth-child(2) { animation-delay: 0.2s; }
.category-features li:nth-child(3) { animation-delay: 0.3s; }
.category-features li:nth-child(4) { animation-delay: 0.4s; }
.category-features li:nth-child(5) { animation-delay: 0.5s; }
.category-features li:nth-child(6) { animation-delay: 0.6s; }

.category-card:hover .category-features li {
    color: var(--text-dark);
    transform: translateX(0);
}

.category-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
    border-radius: 50%;
    font-size: 0.875rem;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4), 0 2px 8px rgba(0, 217, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.category-card:hover .category-features li::before {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.7), 0 4px 15px rgba(0, 217, 255, 0.4);
    background: rgba(0, 217, 255, 0.25);
    border-color: var(--primary-color);
    animation: none;
}

.category-card:hover .category-features li {
    color: var(--text-dark);
    padding-left: 32px;
}

/* Media/Gallery Section */
.media {
    background-color: var(--light-grey);
    position: relative;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background-color: transparent;
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.9375rem;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    background: rgba(0, 217, 255, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

@media screen and (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0, 217, 255, 0.2);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 217, 255, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 0.9375rem;
}

.gallery-icon {
    font-size: 2rem;
    color: var(--white);
}

/* Join Us Section */
.join-us {
    background: var(--white);
    position: relative;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.join-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-size: 1.75rem;
}

.join-text h3:first-child {
    margin-top: 0;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding: 0.875rem 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lighter);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.join-form-wrapper {
    background: var(--gradient-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 217, 255, 0.2);
    backdrop-filter: blur(10px);
}

.join-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.75rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-lighter), 0 0 20px rgba(0, 217, 255, 0.3);
    background-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300D9FF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

/* File Upload Styles */
.file-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.file-label span:first-child {
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-label input[type="file"] {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid rgba(0, 217, 255, 0.2);
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
}

.file-label input[type="file"]:hover {
    border-color: rgba(0, 217, 255, 0.4);
}

.file-label input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-lighter), 0 0 20px rgba(0, 217, 255, 0.3);
    background-color: var(--white);
}

.file-label input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.file-label input[type="file"]::file-selector-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.file-name {
    color: var(--text-light);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-grey);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.info-text h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.info-text p {
    margin: 0;
    line-height: 1.8;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-grey);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    transition: var(--transition);
    border: 2px solid rgba(0, 217, 255, 0.2);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: var(--transition);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.contact-form-wrapper {
    background: var(--gradient-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--medium-grey) 100%);
    color: var(--text-dark);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 217, 255, 0.5), transparent);
}

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

.footer-logo img {
    height: 55px;
    width: auto;
    margin-bottom: 1.25rem;
    filter: brightness(1.1);
}

.footer-section h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.9375rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.97);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    color: var(--primary-light);
    transform: rotate(90deg) scale(1.1);
    background: rgba(0, 176, 224, 0.2);
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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