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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

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

/* Typography */
.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #f8fafc;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #5390e9, #a362e9);
    border-radius: 2px;
}

.text-gradient {
    background: linear-gradient(135deg, #a3b2f2, #7d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Element 1: Loader Page */
#loader-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0e121a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loader {
    border: 8px solid rgba(83, 144, 233, 0.2);
    border-top: 8px solid #5390e9;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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

/* Element 4: Navbar */
nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #e2e8f0;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100%;
    background: rgba(30, 41, 59, 0.9);
    padding-top: 80px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-menu.open {
    right: 0;
}

.nav-menu a {
    padding: 1rem 2rem;
    color: #e2e8f0;
    text-decoration: none;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 8px;
    margin: 0.25rem 1rem;
}

.nav-menu a:hover {
    background: rgba(83, 144, 233, 0.1);
    color: #81a4e2;
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
     background: #0e121a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(83, 144, 233, 0.1) 0%, rgba(14, 18, 26, 0) 70%);
    opacity: 0.1;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
     color: #b1c3d8;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, #5390e9, #4a77e9);
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(83, 144, 233, 0.4);
    display: inline-flex;
    align-items: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(83, 144, 233, 0.6);
    background: linear-gradient(135deg, #4a77e9, #3b5acc);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

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

/* Element 6: Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
     background: #1a202c;
    padding: 1.5rem 0;
    margin: 0;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
}

.marquee-content span {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #cbd5e1;
    margin-right: 3rem;
    font-family: 'Playfair Display', serif;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* Sections */
.destinations-section {
    background: #0e121a;
    padding: 6rem 0;
}

.team-section {
    background: #1a202c;
    padding: 6rem 0;
}

.mystery-section {
    background: #0e121a;
    padding: 6rem 0;
}

.about-section {
    background: #1a202c;
    padding: 6rem 0;
    text-align: center;
}

.contact-section {
    background: #0e121a;
    padding: 6rem 0;
    text-align: center;
}

.element-showcase {
    width: 95%;
    max-width: 800px;
    margin: 1rem auto;
    text-align: center;
    padding: clamp(1rem, 4vw, 2rem);
     background: rgba(30, 41, 59, 0.4);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(83, 144, 233, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.element-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
    color: #a3b2f2;
}

.element-description {
    color: #94a3b8;
    font-size: 1rem;
    margin-top: 2rem;
    font-style: italic;
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.slider-container input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-container .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1rem;
    transform: translateX(100%);
}

.slide.bg1 {
    transform: translateX(0);
}

#trigger1:checked ~ .bg1,
#trigger2:checked ~ .bg2,
#trigger3:checked ~ .bg3,
#trigger4:checked ~ .bg4,
#trigger5:checked ~ .bg5,
#trigger6:checked ~ .bg6,
#trigger7:checked ~ .bg7,
#trigger8:checked ~ .bg8,
#trigger9:checked ~ .bg9,
#trigger10:checked ~ .bg10 {
    transform: translateX(0);
    z-index: 1;
}

#trigger2:checked ~ .bg1,
#trigger3:checked ~ .bg1, #trigger3:checked ~ .bg2,
#trigger4:checked ~ .bg1, #trigger4:checked ~ .bg2, #trigger4:checked ~ .bg3,
#trigger5:checked ~ .bg1, #trigger5:checked ~ .bg2, #trigger5:checked ~ .bg3, #trigger5:checked ~ .bg4,
#trigger6:checked ~ .bg1, #trigger6:checked ~ .bg2, #trigger6:checked ~ .bg3, #trigger6:checked ~ .bg4, #trigger6:checked ~ .bg5,
#trigger7:checked ~ .bg1, #trigger7:checked ~ .bg2, #trigger7:checked ~ .bg3, #trigger7:checked ~ .bg4, #trigger7:checked ~ .bg5, #trigger7:checked ~ .bg6,
#trigger8:checked ~ .bg1, #trigger8:checked ~ .bg2, #trigger8:checked ~ .bg3, #trigger8:checked ~ .bg4, #trigger8:checked ~ .bg5, #trigger8:checked ~ .bg6, #trigger8:checked ~ .bg7,
#trigger9:checked ~ .bg1, #trigger9:checked ~ .bg2, #trigger9:checked ~ .bg3, #trigger9:checked ~ .bg4, #trigger9:checked ~ .bg5, #trigger9:checked ~ .bg6, #trigger9:checked ~ .bg7, #trigger9:checked ~ .bg8,
#trigger10:checked ~ .bg1, #trigger10:checked ~ .bg2, #trigger10:checked ~ .bg3, #trigger10:checked ~ .bg4, #trigger10:checked ~ .bg5, #trigger10:checked ~ .bg6, #trigger10:checked ~ .bg7, #trigger10:checked ~ .bg8, #trigger10:checked ~ .bg9 {
    transform: translateX(-100%);
    z-index: 0;
}

.slider-nav {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-label {
    width: 12px;
    height: 12px;
    border: 2px solid #60a5fa;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

#trigger1:checked ~ .slider-nav label[for="trigger1"],
#trigger2:checked ~ .slider-nav label[for="trigger2"],
#trigger3:checked ~ .slider-nav label[for="trigger3"],
#trigger4:checked ~ .slider-nav label[for="trigger4"],
#trigger5:checked ~ .slider-nav label[for="trigger5"],
#trigger6:checked ~ .slider-nav label[for="trigger6"],
#trigger7:checked ~ .slider-nav label[for="trigger7"],
#trigger8:checked ~ .slider-nav label[for="trigger8"],
#trigger9:checked ~ .slider-nav label[for="trigger9"],
#trigger10:checked ~ .slider-nav label[for="trigger10"] {
    background-color: #60a5fa;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.slider-container:hover .slider-button {
    opacity: 0.8;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

.bg1 { background-image: url("img/beach.png"); }
.bg2 { background-image: url("img/Desert.png"); }
.bg3 { background-image: url("img/forests.png"); }
.bg4 { background-image: url("img/historical place.png"); }
.bg5 { background-image: url("img/Mountains.png"); }
.bg6 { background-image: url("img/palace.png"); }
.bg7 { background-image: url("img/pond.png"); }
.bg8 { background-image: url("img/views.png"); }
.bg9 { background-image: url("img/religious.png"); }
.bg10 { background-image: url("img/Waterfall.png"); }

@media (max-width: 600px) {
    .slider-button {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 16px;
    }
    .slider-label {
        width: 10px;
        height: 10px;
    }
    .slider-nav {
        gap: 8px;
    }
}
    
/* Element 3: Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto;
}

.image-grid-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(1);
    transition: all 0.3s ease;
    cursor: none;
    position: relative;
}

.image-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(83, 144, 233, 0.1), rgba(163, 98, 233, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-grid-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(83, 144, 233, 0.4);
}

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

.image-grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Custom cursor for image grid */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out, background-color 0.2s ease-out;
    transform: translate(-50%, -50%);
}

.image-grid-item:hover ~ .custom-cursor {
     transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(83, 144, 233, 0.7);
}

/* Element 8: Ripple Effect */
.ripple-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #5390e9, #4a77e9);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(83, 144, 233, 0.4);
    display: inline-flex;
    align-items: center;
}

.ripple-button:hover {
    background: linear-gradient(135deg, #4a77e9, #3b5acc);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(83, 144, 233, 0.6);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    animation: ripple-animation 0.6s linear forwards;
    transform: scale(0);
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Element 9: Text Animation (Scroll-Based Sizing) */
#scroll-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    padding: 3rem 0;
    transition: font-size 0.1s ease-out;
    color: #f8fafc;
    background: linear-gradient(135deg, #a3b2f2, #7d96ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 600px) {
    #scroll-text {
        font-size: 0.5rem;
    }
}

/* Element 7: Team Section */
#team .team-member-card {
  background: linear-gradient(135deg, #1e293b, #0f172a) !important;
  border: 1px solid #3b82f6 !important;
  border-radius: 1rem !important;
  padding: 2rem 1.5rem !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(59,130,246, 0.2) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#team .team-member-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 8px 20px rgba(59,130,246,0.35) !important;
}

#team .team-member-card h4 {
  color: #a3b2f2 !important;
  margin-bottom: 0.5rem !important;
}

#team .team-member-card p {
  color: #cbd5e1 !important;
  font-size: 0.95rem !important;
}

#team .team-member-card .team-photo {
  position: absolute !important;
  top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) scale(0) !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 4px solid #a3b2f2 !important;
  box-shadow: 0 8px 32px rgba(96,165,250,0.5) !important;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1) !important;
  opacity: 0 !important;
  z-index: 10;
}

#team .team-member-card:hover .team-photo {
  transform: translate(-50%, -50%) scale(1) !important;
  opacity: 1 !important;
}


/* Mystery Element background and animated earth */
#mystery-element-container {
  width: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black url(http://fc01.deviantart.net/fs71/f/2012/160/b/9/stars_by_paulinemoss-d52un4e.jpg);
  animation: stars 205s linear alternate;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#box {
  background: url(img/earth.png);
  background-size: cover;
  background-position: 0 0;
  border: 2px solid #000;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  animation: movimiento 5s linear infinite;
  box-shadow:
    0 0 25px rgba(255,255,255,0.10),
    -8px -8px 15px #000 inset,
    2px 2px 25px #000 inset,
    -45px -45px 25px rgba(0,0,0,0.5) inset, 
    25px 25px 45px rgba(0,0,0,0.45) inset;
  margin: auto;
  transform: rotateX(6deg) rotateY(6deg) rotateZ(6deg);
}

@keyframes movimiento {
  0% { background-position: 0 0; }
  100% { background-position: 355px 0; }
}

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

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #e0e7ff;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-description {
    font-size: 1.1rem;
    color: #c7d2fe;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-family: 'Playfair Display', serif;
   font-size: clamp(2rem, 5vw, 2.5rem); /* Responsive font size */
    font-weight: 700;
    color: #a3b2f2;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #e0e7ff;
    font-weight: 500;
}

/* Contact Section */
.contact-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.7);
    padding: 2rem; /* Adjusted padding for smaller screens */
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(83, 144, 233, 0.2);
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.5);
    color: #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5390e9;
    box-shadow: 0 0 0 3px rgba(83, 144, 233, 0.1);
    background: rgba(14, 18, 26, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-group:focus-within .form-icon {
       color: #5390e9;
}

.submit-button {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #5390e9, #4a77e9);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(83, 144, 233, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.submit-button:hover {
    background: linear-gradient(135deg, #4a77e9, #3b5acc);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(83, 144, 233, 0.6);
}

/* Page Transition Simulation (Element 5) */
.page-content {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.page-content.fade-out {
    opacity: 0;
}

/* Footer */
.footer {
   background: #0e121a;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
}

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

.footer-section {
    text-align: center;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a3b2f2;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(83, 144, 233, 0.1);
    border-radius: 50%;
    color: #a3b2f2;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(83, 144, 233, 0.2);
}

.social-link:hover {
     background: rgba(83, 144, 233, 0.2);
    transform: translateY(-2px);
    color: #b1c3d8;
}

.contact-info p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
     color: #a3b2f2;
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-menu {
        width: 80vw;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
    }

    #mystery-element-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .element-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .team-member-card {
        padding: 1.5rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5390e9, #a362e9);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(135deg, #4a77e9, #9351e3);
}

 /* <!-- FIREBASE -->: Styles for the notification modal */
.modal {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center;
z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
        }
.modal.show { opacity: 1; visibility: visible; }
.modal-content {
background: #334155; padding: 2rem; border-radius: 1rem; text-align: center;
transform: scale(0.9); transition: transform 0.3s; box-shadow: 0 10px 25px rgba(0,0,0,0.3);
        }
        .modal.show .modal-content { transform: scale(1); }
        .modal-close-btn { background-color: #5390e9; }
/* Responsive Modal Styles */
@media (max-width: 600px) {
  .modal-content {
    width: 95vw;
    max-width: 98vw;
    padding: 1rem;
    border-radius: 0.7rem;
    font-size: 1rem;
  }
  .modal-close-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
  }
}

@media (max-width: 400px) {
  .modal-content {
    padding: 0.5rem;
    font-size: 0.95rem;
    border-radius: 0.5rem;
  }
  .modal-close-btn {
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Ensure modal always fits viewport */
.modal-content {
  max-width: 95vw;
  box-sizing: border-box;
  word-break: break-word;
}