/* ======================================
   GLOBAL RESET + FOOTER FIX
====================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #e6f0ff;
    background: #0a192f;
    scroll-behavior: smooth;

    /* Footer Fix */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* IMPORTANT: Wrap all sections inside <main> */
main {
    flex: 1;
}


/* ======================================
   NAVBAR
====================================== */

header {
    position: fixed;
    width: 100%;
    background: #081423;
    z-index: 1000;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.logo span {
    color: #00d4ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #c6d6ff;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00d4ff;
    border-bottom: 2px solid #00d4ff;
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: #000a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 50px;
}

/* Stars */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    animation: twinkle 3s infinite;
}
.star1 { top: 10%; left: 15%; animation-delay: 0s; }
.star2 { top: 20%; left: 50%; animation-delay: 0.5s; }
.star3 { top: 35%; left: 30%; animation-delay: 1s; }
.star4 { top: 45%; left: 70%; animation-delay: 1.5s; }
.star5 { top: 60%; left: 25%; animation-delay: 0.8s; }
.star6 { top: 70%; left: 80%; animation-delay: 1.2s; }
.star7 { top: 30%; left: 85%; animation-delay: 0.3s; }
.star8 { top: 55%; left: 60%; animation-delay: 0.7s; }
@keyframes twinkle { 0%,100% { opacity: 0.3; transform: scale(0.8);} 50% { opacity: 1; transform: scale(1.2);} }

/* Earth and Satellites */
.earth-container {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    z-index: 1;
}
.earth {
    width: 100%;
    border-radius: 50%;
    animation: earth-spin 60s linear infinite;
}
@keyframes earth-spin { 0% { transform: rotate(0deg);} 100% { transform: rotate(360deg);} }

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 50%;
}
.orbit1 { width: 250px; height: 250px; animation: orbit1-rotate 22s linear infinite; }
.orbit2 { width: 330px; height: 330px; animation: orbit2-rotate 35s linear infinite; }

.satellite {
    position: absolute;
    width: 35px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
@keyframes orbit1-rotate { 0% { transform: translate(-50%, -50%) rotate(0deg);} 100% { transform: translate(-50%, -50%) rotate(360deg);} }
@keyframes orbit2-rotate { 0% { transform: translate(-50%, -50%) rotate(360deg);} 100% { transform: translate(-50%, -50%) rotate(0deg);} }

/* Hero Content Layout */
.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    z-index: 5;
}

.hero {
    position: relative;
    height: 100vh;
    background: #000a1a;
    display: flex;
    justify-content: flex-start; /* shift content to left */
    align-items: center;
    overflow: hidden;
    padding: 0 100px; /* more space on sides */
}

/* Hero Text (Photo, Title, Notes) */
.hero-text {
    position: relative;
    max-width: 550px; /* control width */
    color: #fff;
    z-index: 2;
    animation: text-fade-slide 1.5s ease forwards;
}

/* Hero Title */
.hero-text h1 {
    font-size: 52px;
    font-weight: 700;
    color: #00eaff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(0,234,255,0.5);
    opacity: 0;
    transform: translateX(-50px) scale(0.9);
    animation: titleSlideIn 1.5s ease forwards 0.3s;
}

/* Welcome Paragraph */
.hero-text p {
    font-size: 20px;
    color: #c6d6ff;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(-50px);
    animation: paragraphSlideIn 1.5s ease forwards 0.9s;
}

/* Scroll Note */
.scroll-note {
    font-size: 16px;
    color: #00d4ff;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(0,212,255,0.6);
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes titleSlideIn {
    0% { opacity: 0; transform: translateX(-50px) scale(0.9); }
    60% { opacity: 1; transform: translateX(10px) scale(1.05); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes paragraphSlideIn {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}
/* Profile Photo */
.profile-wrapper {
    width: 220px;               /* slightly bigger circle */
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #00eaff;
    box-shadow: 0 0 60px rgba(0,234,255,0.5);
    margin-bottom: 20px;
}

.profile-wrapper img {
    width: 100%;                /* fill width of the circle */
    height: auto;               /* maintain aspect ratio */
    transform: translateY(-39%); /* move image down inside circle */
    object-fit: cover;
    transition: 0.3s ease;
}
/* Fade & Slide Animations */
@keyframes text-fade-slide {
    0% { opacity: 0; transform: translateX(-50px);}
    100% { opacity: 1; transform: translateX(0);}
}
@keyframes title-appear {
    0% { opacity: 0; transform: translateY(-20px);}
    100% { opacity: 1; transform: translateY(0);}
}
@keyframes desc-appear {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}
/* Animations */
@keyframes photo-slide { 0% { opacity:0; transform: translateX(-100px) scale(0.8);} 60% { opacity:1; transform: translateX(10px) scale(1.05);} 100% { transform: translateX(0) scale(1);} }
@keyframes title-slide { 0% { opacity:0; transform: translateY(50px) scale(0.8);} 60% { opacity:1; transform: translateY(-10px) scale(1.05);} 100% { opacity:1; transform: translateY(0) scale(1);} }
@keyframes subtitle-slide { 0% { opacity:0; transform: translateY(50px) scale(0.8);} 60% { opacity:1; transform: translateY(-5px) scale(1.03);} 100% { opacity:1; transform: translateY(0) scale(1);} }
@keyframes bounce { 0%,20%,50%,80%,100% { transform: translateY(0);} 40% { transform: translateY(8px);} 60% { transform: translateY(4px);} }
/* ABOUT SECTION */
.about {
    position: relative;
    padding: 120px 20px;
    background: linear-gradient(135deg, #0a192f, #081423);
    color: #c6d6ff;
    overflow: hidden;
}

/* PARTICLE BACKGROUND */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    z-index: 0;
}
.particles::before, .particles::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00eaff;
    border-radius: 50%;
    box-shadow: 
        50px 100px #00eaff,
        200px 400px #00eaff,
        350px 200px #00eaff,
        600px 300px #00eaff,
        800px 600px #00eaff,
        1200px 500px #00eaff;
    animation: particleMove 60s linear infinite;
}
.particles::after {
    box-shadow: 
        150px 500px #00d4ff,
        400px 800px #00d4ff,
        700px 200px #00d4ff,
        1000px 400px #00d4ff,
        1300px 600px #00d4ff;
    animation-duration: 100s;
}

@keyframes particleMove {
    0% { transform: translate(0,0); }
    100% { transform: translate(-50%, -50%); }
}

/* Container */
.about-container {
    position: relative;
    max-width: 900px;
    margin: auto;
    text-align: center;
    z-index: 2;
}

/* Title */
.about-title {
    font-size: 48px;
    color: #00eaff;
    margin-bottom: 40px;
    opacity: 0;
}
.animate-title {
    animation: fadeSlideDown 1s ease forwards;
}

/* Description Card */
.about-text-card {
    background: rgba(8, 20, 35, 0.85);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
    opacity: 0;
}
.animate-card {
    animation: fadeSlideUp 1.2s ease forwards 0.5s;
}

/* Paragraph & Highlight */
.about-text-card p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.about-text-card .highlight {
    color: #00eaff;
    font-weight: 600;
    transition: 0.3s;
}
.about-text-card .highlight:hover {
    color: #00ffea;
    text-decoration: underline;
    transform: scale(1.05);
    display: inline-block;
}

/* Button */
.btn-outline {
    border: 2px solid #00d4ff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    color: #00d4ff;
    display: inline-block;
    margin-top: 15px;
    opacity: 0;
}
.animate-btn {
    animation: fadeSlideUp 1s ease forwards 1.2s;
}
.btn-outline:hover {
    background: #00d4ff;
    color: #081423;
}

/* Animations */
@keyframes fadeSlideDown {
    0% { opacity: 0; transform: translateY(-50px);}
    100% { opacity: 1; transform: translateY(0);}
}
@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(50px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* SKILLS SECTION */
.skills-final {
    padding: 100px 20px;
    background: #081423;
}
.skills-header {
    max-width: 900px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
    margin-bottom: 60px;
}
.skills-logo {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    border: 2px solid #00d4ff;
    box-shadow: 0 10px 30px rgba(0,212,255,0.4);
    transition: 0.3s;
}
.skills-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,212,255,0.5);
}
.skills-header h2 {
    color: #00eaff;
    font-size: 34px;
}
.skills-main {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* SKILL TAGS */
.skills-category { margin-bottom: 28px; }
.skills-category h3 {
    color: #00eaff;
    margin-bottom: 12px;
    font-size: 20px;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.tags span {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,212,255,0.3);
    color: #e6f0ff;
    transition: 0.3s;
}
.tags span:hover {
    background: #00d4ff;
    color: #081423;
    transform: translateY(-2px);
}

/* LANGUAGE SECTION */
.skills-right.center-languages {
    background: rgba(255,255,255,0.04);
    padding: 30px 25px;
    border-radius: 18px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.lang-title {
    color: #00eaff;
    margin-bottom: 25px;
    font-size: 24px;
}
.lang-row {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #c6d6ff;
}
.bar {
    height: 8px;
    background: #13294b;
    border-radius: 10px;
}
.fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg,#00d4ff,#007bff);
}
.advanced { width: 85%; }
.native { width: 100%; }

/* EXPERIENCE SECTION */
.experience-section {
    padding: 100px 20px;
    background: #0a192f;
}
.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}
.section-logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid #00d4ff;
    box-shadow: 0 10px 30px rgba(0,212,255,0.4);
    transition: 0.3s;
}
.section-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,212,255,0.5);
}
.section-header h2 {
    font-size: 34px;
    color: #00eaff;
}
.timeline {
    position: relative;
    max-width: 1100px;
    margin: auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #00d4ff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 20px 30px;
    position: relative;
    width: 50%;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-item .timeline-content {
    background: #081423;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,212,255,0.2);
    position: relative;
}
.timeline-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}
.timeline-logo img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid #00d4ff;
    box-shadow: 0 10px 25px rgba(0,212,255,0.4);
    object-fit: contain;
    transition: 0.3s;
}
.timeline-logo img:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,212,255,0.5);
}
.timeline-content h3 {
    color: #00eaff;
    font-size: 20px;
    margin-bottom: 6px;
}
.timeline-content .date {
    font-size: 14px;
    color: #c6d6ff;
    margin-bottom: 10px;
}
.timeline-content ul {
    list-style: disc;
    margin-left: 20px;
    color: #c6d6ff;
    line-height: 1.5;
}

/* RESPONSIVE TIMELINE */
@media (max-width: 900px) {
    .skills-main {
        grid-template-columns: 1fr;
    }
    .hero-text h1 { font-size: 36px; }
    .hero-text p { font-size: 18px; }
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-img { max-width: 220px; margin-bottom: 20px; }
    .about-text-card { width: 90%; padding: 25px 20px; }
    .timeline-item { width: 100%; left: 0; margin-bottom: 20px; }
}
/* EDUCATION SECTION */
/* EDUCATION SECTION - STACKED STYLE */
#education {
    padding: 100px 20px;
    background: #0f2a4c; /* Darker blue for depth */
}

#education .section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

#education .section-header h2 {
    font-size: 36px;
    color: #00ffff;
    text-shadow: 0 2px 8px rgba(0,255,255,0.4);
}

#education .section-header .section-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    border: 2px solid #00ffff;
    padding: 12px;
    background: #0b355f; /* Slight contrast for visibility */
    box-shadow: 0 8px 30px rgba(0,255,255,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

#education .section-header .section-logo:hover {
    transform: scale(1.15);
    box-shadow: 0 18px 50px rgba(0,255,255,0.45);
}

/* Education list */
#education .edu-list {
    max-width: 950px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

/* Individual Education Entry */
.edu-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 20px;
    border-left: 5px solid #00ffff;
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(0,255,255,0.05), rgba(0,255,255,0.08));
    box-shadow: inset 0 0 15px rgba(0,255,255,0.05), 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.edu-item:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 20px rgba(0,255,255,0.1), 0 12px 35px rgba(0,255,255,0.25);
    background: linear-gradient(145deg, rgba(0,255,255,0.08), rgba(0,255,255,0.12));
}

/* Logo Styling */
.edu-item .edu-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #0b3c66;
    border-radius: 15px;
    border: 2px solid #00ffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow: visible;
    transition: transform 0.3s, box-shadow 0.3s;
}

.edu-item .edu-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s;
}

.edu-item .edu-logo img:hover {
    transform: scale(1.1);
}

/* Text Styling */
.edu-item .edu-text h3 {
    color: #00ffff;
    font-size: 22px;
    margin-bottom: 6px;
    text-shadow: 0 1px 5px rgba(0,255,255,0.3);
}

.edu-item .edu-text .date {
    font-size: 15px;
    color: #c6f2ff;
    margin-bottom: 6px;
}

.edu-item .edu-text p {
    color: #d0e9ff;
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .edu-item {
        flex-direction: column;
        text-align: center;
        border-left: none;
        padding: 20px 15px;
    }
    .edu-item .edu-logo {
        margin-bottom: 12px;
    }
}

/* ================================
   PORTFOLIO HIGHLIGHTS SECTION
================================ */

/* =====================================
   PORTFOLIO SECTION – FINAL COMPACT
===================================== */

.portfolio-final {
    padding: 140px 8%;
    background: linear-gradient(180deg, #0f172a, #020617);
    text-align: center;
}

/* ===== HEADER ===== */

.portfolio-header-final {
    max-width: 850px;
    margin: 0 auto 80px;
    animation: fadeDownFinal 1s ease forwards;
}

@keyframes fadeDownFinal {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Circular Logo */

.portfolio-logo-circle-final {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #38bdf8;
    box-shadow: 0 0 40px rgba(56,189,248,0.5);
    animation: glowPulse 3s infinite alternate;
}

.portfolio-logo-circle-final img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes glowPulse {
    from { box-shadow: 0 0 20px rgba(56,189,248,0.4); }
    to { box-shadow: 0 0 60px rgba(56,189,248,0.8); }
}

.portfolio-header-final h2 {
    font-size: 44px;
    color: #ffffff;
    margin-bottom: 18px;
}

.portfolio-header-final p {
    font-size: 17px;
    color: #9ca3af;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */

.portfolio-buttons-final {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 90px;
}

.portfolio-buttons-final a {
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #38bdf8;
    color: #38bdf8;
    transition: 0.3s ease;
}

.portfolio-buttons-final a:hover {
    background: #38bdf8;
    color: #020617;
    transform: translateY(-4px);
}

.legacy-btn-final {
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
}

.legacy-btn-final:hover {
    background: #fbbf24 !important;
    color: #020617 !important;
}

/* ===== GRID ===== */

.portfolio-grid-final {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== CARDS ===== */

.portfolio-card-final {
    background: rgba(255,255,255,0.05);
    padding: 35px 25px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.4s ease;
    opacity: 0;
    transform: translateY(60px);
    animation: fadeUpFinal 1s ease forwards;
}

.portfolio-card-final:nth-child(1) { animation-delay: 0.3s; }
.portfolio-card-final:nth-child(2) { animation-delay: 0.6s; }
.portfolio-card-final:nth-child(3) { animation-delay: 0.9s; }

@keyframes fadeUpFinal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-card-final:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* Smaller Logos */

.card-logo-final {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: 0.4s ease;
}

.portfolio-card-final:hover .card-logo-final {
    transform: scale(1.1);
}

/* Text */

.portfolio-card-final h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

.portfolio-card-final p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .portfolio-logo-circle-final {
        width: 150px;
        height: 150px;
    }

    .portfolio-header-final h2 {
        font-size: 30px;
    }

    .portfolio-buttons-final {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-buttons-final a {
        width: 85%;
        text-align: center;
    }

    .card-logo-final {
        width: 110px;
        height: 110px;
    }
}
/* ===== CONTACT SECTION ===== */
.contact-section {
    position: relative;
    padding: 100px 8%;
    color: #f0f4f8;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
}

/* PARTICLE BACKGROUND */
#particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-logo-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    padding: 15px;
    background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(56,189,248,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(56,189,248,0.6);
    animation: glowPulse 3s infinite alternate;
}

.section-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 20px rgba(56,189,248,0.4); }
    100% { box-shadow: 0 0 60px rgba(56,189,248,0.8); }
}

.section-header h2 {
    font-size: 42px;
    margin: 10px 0 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CONTACT CONTAINER */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* CONTACT INFO CARD */
.contact-info {
    flex: 1;
    min-width: 280px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.contact-item a {
    color: #38bdf8;
    text-decoration: none;
    font-size: 15px;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

/* COUNTRY FLAGS */
.countries-item {
    margin-top: 25px;
    text-align: center;
}

.flags {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #f0f4f8;
    transition: transform 0.3s, box-shadow 0.3s;
    background: rgba(56,189,248,0.05);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(56,189,248,0.2);
}

.flag-item img.flag {
    width: 50px;
    height: 35px;
    margin-bottom: 6px;
    border-radius: 6px;
    object-fit: cover;
}

.flag-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(56,189,248,0.6);
}

/* CONTACT FORM CARD */
.contact-form {
    flex: 1;
    min-width: 280px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: #e6f0ff;
    font-size: 15px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255,255,255,0.2);
}

.contact-form button {
    background: #38bdf8;
    color: #020617;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}

/* ANIMATIONS */
.animate-slide {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 0.8s forwards;
}

.animate-slide:nth-child(1) { animation-delay: 0.2s; }
.animate-slide:nth-child(2) { animation-delay: 0.4s; }

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }

    .section-logo-circle {
        width: 130px;
        height: 130px;
    }

    .contact-form, .contact-info {
        padding: 30px;
    }

    .flags {
        gap: 15px;
    }

    .flag-item img.flag {
        width: 40px;
        height: 28px;
    }
}
/* =======================
   MODERN GLASS FOOTER
========================== */

footer.footer-logos {
    position: relative;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 234, 255, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 234, 255, 0.05);
    color: #e6f0ff;
    text-align: center;
    padding: 60px 20px 40px;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
    animation: footerFade 1.5s ease forwards;
}

/* Soft glowing radial background */
footer.footer-logos::after {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,234,255,0.08), transparent 70%);
    pointer-events: none;
}

/* Logos wrapper */
footer.footer-logos .footer-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

/* Logos */
footer.footer-logos .footer-logos-wrapper img {
    max-height: 55px;
    width: auto;
    opacity: 0.85;
    transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
    animation: floatSoft 5s ease-in-out infinite;
}

/* Hover effect */
footer.footer-logos .footer-logos-wrapper img:hover {
    transform: translateY(-10px) scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(0,234,255,0.6));
}

/* Footer text */
footer.footer-logos p {
    font-size: 13px;
    letter-spacing: 1px;
    color: #9dbbd6;
    text-transform: uppercase;
    opacity: 0.8;
}

/* =======================
   ANIMATIONS
========================== */

/* Fade in */
@keyframes footerFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gentle floating motion */
@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* =======================
   RESPONSIVE
========================== */

@media (max-width: 600px) {
    footer.footer-logos {
        padding: 45px 15px 30px;
    }

    footer.footer-logos .footer-logos-wrapper {
        gap: 25px;
    }

    footer.footer-logos .footer-logos-wrapper img {
        max-height: 40px;
    }

    footer.footer-logos p {
        font-size: 11px;
    }
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 900px) {

    .hero-text h1 {
        font-size: 36px;
    }

    .contact-container {
        flex-direction: column;
    }

    .footer-logos-wrapper img {
        height: 100px;
    }
}