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

html {
    scroll-behavior: smooth;
}

:root {
    --navy-1000: #070E19;
    --navy-900: #0B1524;
    --navy-850: #0D1929;
    --navy-800: #213E60;
    --navy-750: #122238;
    --navy-700: #13263F;
    --navy-650: #1A3453;
    --navy-600: #213E60;
    --primary-700: #0A4882;
    --accent-500: #9EB0C2;
    --accent-450: #9EB0C2;
    --accent-400: #8FA3B7;
    --accent-350: #8096AB;
    --accent-300: #6F869C;
    --accent-warm: #E77B29;
    
    --neutral-50: #F2F2EF;
    
    --text-strong: #FFFFFF;
    --text-body: #E6EEF8;
    --text-muted: #C9D6E8;
    
    --shadow-strong: 0 25px 50px rgba(0, 0, 0, 0.35);
    --shadow-medium: 0 15px 30px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.25);
    --ring-accent: 0 0 0 3px rgba(158, 176, 194, 0.18);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--navy-800);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
    z-index: -1;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 28, 45, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(158, 176, 194, 0.18);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo h2 {
    color: var(--text-body);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.brand-logo {
    height: 64px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.brand-hadaf { color: var(--accent-warm); }
.brand-khaled { color: var(--primary-700); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-warm);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-body);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    background: 
        /* Main gradient layers */
        radial-gradient(ellipse 1200px 800px at 20% 10%, rgba(10, 72, 130, 0.25), transparent 70%),
        radial-gradient(ellipse 1000px 600px at 80% 20%, rgba(158, 176, 194, 0.18), transparent 70%),
        radial-gradient(ellipse 800px 400px at 50% 80%, rgba(231, 123, 41, 0.15), transparent 60%),
        /* Additional depth layers */
        radial-gradient(ellipse 600px 300px at 70% 30%, rgba(255, 255, 255, 0.05), transparent 50%),
        radial-gradient(ellipse 400px 200px at 30% 70%, rgba(158, 176, 194, 0.08), transparent 60%),
        /* Base color */
        linear-gradient(135deg, var(--navy-800) 0%, var(--navy-750) 50%, var(--navy-700) 100%);
    display: flex;
    align-items: center;
    color: var(--text-body);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Animated glow effects */
        radial-gradient(800px 400px at 15% 30%, rgba(231, 123, 41, 0.08), transparent 60%),
        radial-gradient(600px 300px at 85% 15%, rgba(158, 176, 194, 0.06), transparent 50%),
        /* Subtle grid pattern */
        repeating-linear-gradient(135deg,
            rgba(158, 176, 194, 0.03) 0px,
            rgba(158, 176, 194, 0.03) 1px,
            transparent 1px,
            transparent 20px),
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 15px);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Depth overlay */
        radial-gradient(ellipse 1000px 500px at 70% 120%, rgba(18, 38, 63, 0.7), rgba(11, 21, 36, 0.6)),
        /* Floating particles effect */
        radial-gradient(circle 2px at 20% 20%, rgba(158, 176, 194, 0.4), transparent),
        radial-gradient(circle 1px at 80% 30%, rgba(231, 123, 41, 0.3), transparent),
        radial-gradient(circle 3px at 40% 70%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(circle 2px at 90% 80%, rgba(158, 176, 194, 0.3), transparent),
        radial-gradient(circle 1px at 10% 90%, rgba(231, 123, 41, 0.4), transparent);
    pointer-events: none;
    animation: floatingParticles 12s ease-in-out infinite;
}

@keyframes heroGlow {
    0% { 
        opacity: 0.8; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.02);
    }
    100% { 
        opacity: 0.9; 
        transform: scale(1);
    }
}

@keyframes floatingParticles {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-10px) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-5px) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.7;
    }
}

@keyframes heroShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes backgroundShift {
    0% { 
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% { 
        background-position: 100% 0%, 0% 100%, 25% 75%;
    }
    100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-strong);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #E6EEF8 50%, #C9D6E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes titleGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.1); }
}

.hero-description {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
    color: var(--text-body);
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    will-change: transform, box-shadow;
}

.btn-primary {
    background: linear-gradient(180deg, var(--primary-700), #1B3455);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.btn-primary::before { content: none; }

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #2F5D90, #0A4882);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft), 0 0 0 3px rgba(231, 123, 41, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-body);
    border: 2px solid rgba(158, 176, 194, 0.35);
}

.btn-secondary:hover {
    background: rgba(158, 176, 194, 0.12);
    color: #ffffff;
    border-color: rgba(158, 176, 194, 0.6);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
}

.hero-graphic i {
    font-size: 4rem;
    opacity: 0.9;
    color: var(--accent-500);
    animation: float 4s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(158, 176, 194, 0.2);
    filter: drop-shadow(0 0 10px rgba(158, 176, 194, 0.12));
}

.hero-graphic i:nth-child(1) {
    animation-delay: 0s;
    color: var(--accent-500);
}

.hero-graphic i:nth-child(2) {
    animation-delay: 1.3s;
    color: var(--accent-warm);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--accent-500);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
    cursor: default;
    pointer-events: none;
    transition: all 0.3s ease;
}

.hero-scroll-indicator .scroll-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-body);
}

.hero-scroll-indicator .scroll-arrow {
    font-size: 2rem;
    color: var(--accent-warm);
    animation: bounce-arrow 2s infinite;
    transition: transform 0.3s ease;
}

.hero-scroll-indicator:hover .scroll-arrow {
    transform: translateY(-3px);
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.hero-graphic i:nth-child(3) {
    animation-delay: 2.6s;
    color: var(--accent-500);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        filter: drop-shadow(0 0 10px rgba(148, 182, 239, 0.2));
    }
    50% { 
        transform: translateY(-25px) rotate(5deg); 
        filter: drop-shadow(0 0 20px rgba(148, 182, 239, 0.4));
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--text-strong);
    margin-bottom: 1rem;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-warm);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    opacity: 0.8;
}

.about {
    padding: 120px 0;
    background: var(--navy-800);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--text-strong);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
    opacity: 0.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--navy-700);
    border-radius: 15px;
    border: 1px solid rgba(148, 182, 239, 0.22);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(148, 182, 239, 0.35);
}

.stat h4 {
    font-size: 2.8rem;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
}

.about-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    background: var(--navy-700);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 182, 239, 0.2);
}

.about-graphic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.about-graphic i {
    font-size: 6rem;
    color: var(--accent-450);
    opacity: 0.9;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(148, 182, 239, 0.2);
}

.services {
    padding: 120px 0;
    background: var(--navy-800);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

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

.service-card {
    background: linear-gradient(180deg, var(--navy-700), var(--navy-750));
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(148, 182, 239, 0.18);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(148, 182, 239, 0.35);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--text-strong);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px;
    z-index: 1;
    opacity: 0.8;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-warm);
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background: radial-gradient(900px 500px at 10% 70%, rgba(10, 72, 130, 0.08), transparent 60%),
                var(--navy-800);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid rgba(158, 176, 194, 0.35);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-body);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(231, 123, 41, 0.12);
    color: white;
    border-color: rgba(231, 123, 41, 0.6);
    box-shadow: var(--shadow-soft);
}

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

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(158, 176, 194, 0.18);
    background: linear-gradient(180deg, var(--navy-700), var(--navy-750));
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(158, 176, 194, 0.35);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-image {
    min-height: 250px;
    background: radial-gradient(600px 300px at 20% 30%, rgba(158, 176, 194, 0.12), transparent 60%),
                var(--navy-700);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 21, 36, 0), rgba(11, 21, 36, 0.85));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translate(-50%, calc(-50% + 10px));
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translate(-50%, -50%);
}

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

.portfolio-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-link {
    color: #000000;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid #000000;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-link:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--navy-800);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-450);
    margin-top: 0.5rem;
}

.contact-item h4 {
    color: var(--text-strong);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-muted);
    line-height: 1.6;
    opacity: 0.8;
}

.contact-form {
    background: linear-gradient(180deg, var(--navy-700), var(--navy-750));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(158, 176, 194, 0.2);
}

.contact-map-full {
    margin-top: 4rem;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(158, 176, 194, 0.2);
    box-shadow: var(--shadow-soft);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(148, 182, 239, 0.28);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--navy-850);
    color: var(--text-body);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #94B6EF;
    box-shadow: var(--ring-accent);
    background: rgba(19, 38, 63, 0.92);
}

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

/* Footer */
.footer {
    background: var(--navy-900);
    color: white;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    font-size: 1.5rem;
}

.footer-logo .brand-logo {
    height: 44px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    flex-wrap: nowrap; /* keep in one row */
    align-items: center;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

.social-links a i { font-size: 16px; }

/* Platform hover colors */
.social-links a[aria-label="Instagram"]:hover { background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5); }
.social-links a[aria-label="Telegram"]:hover { background: #229ED9; }
.social-links a[aria-label="Snapchat"]:hover { background: #FFFC00; color: #000; }
.social-links a[aria-label="Facebook"]:hover { background: #1877F2; }
.social-links a[aria-label="WhatsApp"]:hover { background: #25D366; }
.social-links a[aria-label="Email"]:hover { background: #9EB0C2; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Removed floating WhatsApp button */

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container { 
        padding: 0 30px;
    }
    .brand-logo { height: 52px; }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 28, 45, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.35);
        padding: 2rem 0;
        backdrop-filter: blur(20px);
    }

    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 1rem 0; }

    /* Mobile Hero - Clean and centered */
    .hero {
        min-height: 100vh;
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        overflow: hidden;
        /* Same animated background as desktop */
        background: 
            /* Main gradient layers */
            radial-gradient(ellipse 1200px 800px at 20% 10%, rgba(10, 72, 130, 0.25), transparent 70%),
            radial-gradient(ellipse 1000px 600px at 80% 20%, rgba(158, 176, 194, 0.18), transparent 70%),
            radial-gradient(ellipse 800px 400px at 50% 80%, rgba(231, 123, 41, 0.15), transparent 60%),
            /* Additional depth layers */
            radial-gradient(ellipse 600px 300px at 70% 30%, rgba(255, 255, 255, 0.05), transparent 50%),
            radial-gradient(ellipse 400px 200px at 30% 70%, rgba(158, 176, 194, 0.08), transparent 60%),
            /* Base color */
            linear-gradient(135deg, var(--navy-800) 0%, var(--navy-750) 50%, var(--navy-700) 100%);
    }

    .about {
        padding: 60px 0; /* reduced from 120px */
    }

    .services {
        padding: 60px 0; /* reduced from 120px */
    }

    .portfolio {
        padding: 60px 0; /* reduced from 120px */
    }

    .contact {
        padding: 60px 0; /* reduced from 120px */
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        min-height: 100vh;
        justify-content: center;
        position: relative;
        padding: 80px 20px 20px;
    }

    /* Hero content - centered and clean */
    .hero-content { 
        max-width: 100%; 
        margin: 0 auto; 
        padding: 0 10px; 
        z-index: 2;
        position: relative;
    }
    
    .hero-title { 
        font-size: clamp(2.8rem, 12vw, 4.5rem);
        margin-bottom: 2rem;
        line-height: 1.1;
        font-weight: 900;
        color: var(--text-strong);
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .hero-description { 
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        opacity: 0.95; 
        margin-left: auto; 
        margin-right: auto; 
        margin-bottom: 3rem;
        line-height: 1.7;
        color: var(--text-body);
        max-width: 90%;
    }

    .hero-buttons { 
        justify-content: center; 
        width: 100%; 
        margin-bottom: 4rem;
        gap: 1.2rem;
    }
    
    .hero-buttons .btn { 
        width: 100%; 
        max-width: 300px; 
        padding: 16px 32px;
        font-size: 1.1rem;
        font-weight: 600;
    }

    /* Scroll indicator for mobile */
    .hero-scroll-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        color: var(--accent-500);
        opacity: 0.8;
        animation: float 3s ease-in-out infinite;
        cursor: pointer;
        margin-top: 2rem;
    }
    
    .hero-scroll-indicator .scroll-text {
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--text-body);
    }
    
    .hero-scroll-indicator .scroll-arrow {
        font-size: 1.8rem;
        color: var(--accent-warm);
        animation: bounce-arrow 2s infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .about-content { grid-template-columns: 1fr; gap: 1.5rem; /* reduced gap */ }
    .about-stats { grid-template-columns: 1fr; gap: 0.8rem; /* reduced gap */ }

    .services-grid { grid-template-columns: 1fr; gap: 1rem; /* reduced gap */ }
    .portfolio-grid { 
        grid-template-columns: 1fr; 
        gap: 1rem; /* reduced gap */
    }
    
    .portfolio-img {
        min-height: 200px; /* reduced height for mobile */
    }

    .contact-content { grid-template-columns: 1fr; gap: 2rem; }
    .contact-map-full { height: 300px; margin-top: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; /* reduced padding */ }

    /* Further reduce section padding for small mobile */
    .hero { 
        padding: 0; /* no padding */
        min-height: 100vh; /* maintain full height */
    }
    
    .hero-container {
        padding: 70px 15px 20px; /* adjust padding for small mobile */
    }
    
    .hero-title { 
        font-size: clamp(2.2rem, 12vw, 3rem); /* even larger on small mobile */
        margin-bottom: 1.2rem;
    }
    
    .hero-description { 
        font-size: clamp(1rem, 5vw, 1.2rem); 
        margin-bottom: 1.8rem;
    }
    
    .hero-buttons { 
        margin-bottom: 2.5rem; 
    }
    
    .hero-buttons .btn { 
        max-width: 260px; 
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .about { padding: 40px 0; /* further reduced */ }
    .services { padding: 40px 0; /* further reduced */ }
    .portfolio { padding: 40px 0; /* further reduced */ }
    .contact { padding: 40px 0; /* further reduced */ }

    .hero-title { font-size: clamp(1.7rem, 8vw, 2rem); }
    .hero-description { font-size: 0.98rem; }

    .btn { padding: 12px 22px; font-size: 0.9rem; }
    .hero-buttons .btn { width: 100%; }

    .service-card { padding: 1.2rem; /* reduced padding */ }
    .contact-form { padding: 1.2rem; /* reduced padding */ }

    /* tighter grids with reduced gaps */
    .services-grid { grid-template-columns: 1fr; gap: 0.8rem; /* further reduced */ }
    .portfolio-grid { 
        grid-template-columns: 1fr; 
        gap: 0.8rem; /* further reduced */
    }
    
    .portfolio-img {
        min-height: 180px; /* further reduced height for small mobile */
    }


    .brand-logo { height: 44px; /* slightly reduced */ }
    .footer-logo .brand-logo { height: 36px; /* slightly reduced */ }

    /* Reduce section header margins */
    .section-header { margin-bottom: 2rem; /* reduced from default */ }
    .section-header h2 { font-size: 1.8rem; /* slightly smaller */ }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .container { padding: 0 10px; /* further reduced */ }

    /* Even more compact spacing */
    .hero { 
        padding: 0; 
        min-height: 100vh; /* maintain full height */
        /* Ultra-simplified background for small screens */
        background: 
            radial-gradient(ellipse 600px 400px at 20% 10%, rgba(10, 72, 130, 0.15), transparent 70%),
            radial-gradient(ellipse 400px 300px at 80% 20%, rgba(158, 176, 194, 0.1), transparent 70%),
            linear-gradient(135deg, var(--navy-800) 0%, var(--navy-750) 100%);
    }
    
    .hero-container {
        padding: 60px 12px 20px; /* adjust for extra small mobile */
    }
    
    .hero-title { 
        font-size: clamp(1.8rem, 14vw, 2.5rem); /* largest on extra small mobile */
        margin-bottom: 1rem;
    }
    
    .hero-description { 
        font-size: clamp(0.9rem, 6vw, 1.1rem); 
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons { 
        margin-bottom: 2rem; 
    }
    
    .hero-buttons .btn { 
        max-width: 240px; 
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .about, .services, .portfolio, .contact { padding: 30px 0; }


    .service-card { padding: 1rem; }
    .contact-form { padding: 1rem; }
    
    .portfolio-img {
        min-height: 160px; /* even smaller for extra small screens */
    }

    .section-header h2 { font-size: 1.6rem; }
    .section-header { margin-bottom: 1.5rem; }

    .brand-logo { height: 40px; }
    .footer-logo .brand-logo { height: 32px; }

    .btn { padding: 10px 18px; font-size: 0.85rem; }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero { 
        padding: 0; 
        min-height: 100vh; /* maintain full height */
        /* Optimized background for landscape */
        background: 
            radial-gradient(ellipse 1000px 300px at 20% 20%, rgba(10, 72, 130, 0.18), transparent 70%),
            radial-gradient(ellipse 800px 250px at 80% 30%, rgba(158, 176, 194, 0.12), transparent 70%),
            linear-gradient(135deg, var(--navy-800) 0%, var(--navy-750) 100%);
    }
    
    .hero-container {
        padding: 50px 20px 20px; /* adjust for landscape */
    }
    
    .hero-title { 
        font-size: clamp(2rem, 8vw, 2.8rem); /* smaller in landscape */
        margin-bottom: 1rem;
    }
    
    .hero-description { 
        font-size: clamp(1rem, 3vw, 1.2rem); 
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons { 
        margin-bottom: 2rem; 
    }
    
    .about, .services, .portfolio, .contact { padding: 40px 0; }
    
    /* Hide scroll indicator in landscape */
    .hero-scroll-indicator {
        display: none;
    }
}

/* Mobile touch improvements */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn {
        min-height: 44px; /* iOS recommended minimum */
        min-width: 44px;
        touch-action: manipulation; /* prevent double-tap zoom */
    }
    
    .nav-link {
        padding: 12px 16px; /* larger touch target */
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Improve scrolling performance */
    .hero, .about, .services, .portfolio, .contact {
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0); /* hardware acceleration */
    }
    
    /* Optimize animations for mobile */
    .service-card:hover,
    .portfolio-item:hover {
        transform: none; /* disable hover effects on mobile */
    }
    
    .portfolio-item:hover .portfolio-img {
        transform: none; /* disable image zoom on mobile */
    }
    
    /* Enable same background animations as desktop on mobile */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background:
            /* Animated glow effects */
            radial-gradient(800px 400px at 15% 30%, rgba(231, 123, 41, 0.08), transparent 60%),
            radial-gradient(600px 300px at 85% 15%, rgba(158, 176, 194, 0.06), transparent 50%),
            /* Subtle grid pattern */
            repeating-linear-gradient(135deg,
                rgba(158, 176, 194, 0.03) 0px,
                rgba(158, 176, 194, 0.03) 1px,
                transparent 1px,
                transparent 20px),
            repeating-linear-gradient(45deg,
                rgba(255, 255, 255, 0.02) 0px,
                rgba(255, 255, 255, 0.02) 1px,
                transparent 1px,
                transparent 15px);
        pointer-events: none;
        animation: heroGlow 8s ease-in-out infinite alternate;
    }
    
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            /* Depth overlay */
            radial-gradient(ellipse 1000px 500px at 70% 120%, rgba(18, 38, 63, 0.7), rgba(11, 21, 36, 0.6)),
            /* Floating particles effect */
            radial-gradient(circle 2px at 20% 20%, rgba(158, 176, 194, 0.4), transparent),
            radial-gradient(circle 1px at 80% 30%, rgba(231, 123, 41, 0.3), transparent),
            radial-gradient(circle 3px at 40% 70%, rgba(255, 255, 255, 0.2), transparent),
            radial-gradient(circle 2px at 90% 80%, rgba(158, 176, 194, 0.3), transparent),
            radial-gradient(circle 1px at 10% 90%, rgba(231, 123, 41, 0.4), transparent);
        pointer-events: none;
        animation: floatingParticles 12s ease-in-out infinite;
    }
    
    /* Better text rendering on mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Prevent horizontal scroll */
    .container {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-800);
}

::-webkit-scrollbar-thumb {
    background: #2A4F7A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2F5D90;
}

/* Enhanced scroll indicator styles */
.hero-scroll-indicator {
    transition: all 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.hero-scroll-indicator .scroll-text {
    font-weight: 600;
    letter-spacing: 1.2px;
}

.hero-scroll-indicator .scroll-arrow {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.hero-scroll-indicator:hover .scroll-arrow {
    transform: translateY(-3px);
}

/* Ensure scroll indicator is visible on all devices */
@media (max-width: 768px) {
    .hero-scroll-indicator {
        display: flex !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 2rem auto 0 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
}

@media (min-width: 769px) {
    .hero-scroll-indicator {
        display: flex !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 3rem auto 0 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
}