/* ========== Color Palette ========== */
:root {
    --primary-color: #2b6cb0;
    --secondary-color: #1a4971;
    --accent-color: #68d391;
    --text-dark: #1a202c;
    --text-light: #f7fafc;
    --background-dark: #1a202c;
    --background-light: #edf2f7;
    --gradient-start: #ffffff;
    --gradient-end: #ffffff;
}

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

body {
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}



/* ========== Utility Classes ========== */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-title {
    color: var(--text-dark);
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #3c3c3c;
    font-size: 1.375rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: transparent;
    z-index: 10;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding-top: 6vh;

    /* max-width: 1200px; */
}

.hero-headline {
    color: #3c3c3c;
    font-size:45px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.hero-quote {
    color: #3c3c3c;
    font-size: 30px;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    text-align: right;
    padding-top: 14px;
}

/* ========== Introduction Section ========== */
.intro-section {
    position: relative;
    min-height: 77vh;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-container {
    width: 180px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
}

.section-logo {
    width: 40vw;
    object-fit: contain;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    width: 90%;
}

.intro-subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    color: #3c3c3c;
    margin: 0 0 15px;
    line-height: 1.6;
}

.compatibility-icon {
    width: 230px;
    vertical-align: middle;
    padding-left: 30px;
}

.alexa{
    width: 90px;
}

.benefit-text {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 50px;
}

.buy-now-button {
    display: inline-block;
    background-color:rgb(71, 160, 233);
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.buy-now-button:hover {
    background-color: #4caf50;
    transform: translateY(-3px);
}

/* ========== Video Section ========== */
.video-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    width: 100%;
    height: 100vh;
}

#intro-video,
#showcase-video {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

/* ========== Features Section ========== */
.features-section {
    background-color: white;
    padding: 80px 20px;
    min-height: 85vh;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px;
}

.feature-card p {
    font-size: 1rem;
    color: #3c3c3c;
    margin: 0;
}

/* ========== Slideshow Section ========== */
.slideshow-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: white;
    overflow: hidden;
}

.slideshow-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Add these for smoother transitions */
    perspective: 1000px;
    transform-style: preserve-3d;
}

.slideshow-image {
    position: absolute;
    width: 900px;
    height: 800px;
    object-fit: cover;
    /* Transition properties */
    opacity: 0;
    transition: opacity 0s ease-in-out;
    will-change: opacity;
    /* Center the image */
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    /* Initial stacking */
    z-index: 1;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 2;
}

/* Keep your existing classes for compatibility */
.slideshow-container.visible {
    display: flex;
}



/* ========== Showcase Video Section ========== */
.showcase-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-color: rgba(255, 255, 255, 0);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.showcase-video-section.visible {
    opacity: 1;
}

.showcase-video-section .video-container {
    width: 90%;
    max-width: 1200px;
    height: 60vh;
    min-height: 400px;
    margin: 0 auto;
}

#showcase-video {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 78%;
    object-fit: contain;
}

/* ========== Background Image Section ========== */
.background-image-section {
    position: relative;
    width: 100%;
    min-height: 35vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px -15px;
    background-color: white;
}

.background-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    padding-top: 0vh;
    object-fit: contain;
}

/* ========== Partnership Section ========== */
.partnership-section {
    background-color: white;
    padding: 110px 20px;
    min-height: 60vh;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.partner-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.partner-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* ========== Community Section ========== */
.community-section {
    padding: 80px 20px;
    min-height: 60vh;
}

.community-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.open-source-section,
.form-section {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.github-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.form-section h3 {
    color: #1a1a1a;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
}


.open-source-section p {
    font-size: 1rem;
    color: #3c3c3c;
    margin: 0 0 20px;
}

.github-button{
    background-color: #28a745;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 17px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.buynow-button{
    background-color: #28a745;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 32px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.github-button:hover,
.submit-button:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

.form-row {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}

.form-section input {
    flex: 1;
    padding: 12px 15px;
    font-size: 1rem;
    color: #3c3c3c;
    border: 2px solid #28a745;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-section input:focus {
    border-color: #218838;
}

/* ========== Footer Section ========== */
.footer-section {
    background-color: #000;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-block;
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: translateY(-3px);
}


.anmol1,
.anmol2,
.anmol3 {
  padding-left: 5%;
  padding-right: 5%;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Default Styles (for < 480px or base mobile) */
.anmol1 {
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  color: rgb(94, 187, 62);
}

.anmol2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 125%;
  color: rgb(22, 28, 45);
}

.anmol3 {
  font-size: 26px;
  font-style: italic;
  font-weight: 700;
  line-height: 125%;
  color: rgb(22, 28, 45);
}

/* For screen width ≥ 480px */
@media (min-width: 480px) {
  .anmol1 {
    font-size: 20px;
  }
  .anmol2,
  .anmol3 {
    font-size: 34px;
  }
  .anmol4 {
    font-size: 2vw;
  }
}
.anmol4{text-align: center;padding-top: 60px;}
/* For screen width ≥ 768px */
@media (min-width: 768px) {
  .anmol1 {
    font-size: 24px;
    padding-left: 10%;
    padding-right: 0;
  }
  .anmol2,
  .anmol3 {
    font-size: 46px;
    padding-left: 10%;
    padding-right: 0;
  }
}



/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .hero-headline { font-size: 3.125rem; }
    .hero-quote { font-size: 1.25rem; }
    .section-title { font-size: 3rem; }
    .section-subtitle { font-size: 1.125rem; }
    .intro-subtitle { font-size: 1.125rem; }
    .benefit-text { font-size: 1.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .partnership-grid { grid-template-columns: repeat(2, 1fr); }
    .community-container { flex-direction: column; }
    .slideshow-image { width: 90%; height: 80vh; }
}

@media (max-width: 768px) {
    .hero-section { padding: 15px; min-height: 100px; }
    .hero-content { flex-direction: column; gap: 15px; align-items: center; }
    .hero-headline { font-size: 2.5rem; text-align: center; }
    .hero-quote { font-size: 1.125rem; text-align: center; }
    .intro-section { padding: 30px 15px; }
    .section-logo{width: 90vw; }
    .logo-container { width: 120px; }
    .intro-subtitle { font-size: 1rem; }
    .benefit-text { font-size: 1.25rem; }
    .buy-now-button { font-size: 0.875rem; padding: 10px 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .partnership-grid { grid-template-columns: 1fr; }
    .features-section, .partnership-section { padding: 40px 15px; }
    .slideshow-image { width: 85%; height: 70vh; }
    .form-row { flex-direction: column; }
    .form-section input { width: 100%; }
    .compatibility-icon { width: 90px; vertical-align: middle; }
    .alexa{width: 90px;}
    .slideshow-section { position: relative; width: 100%; height: 69vh; min-height: 0px; background: white; overflow: hidden;}
    .slideshow-container { position: sticky; top: 0; width: 100%; height: 69vh; display: flex; justify-content: center; align-items: center; perspective: 1000px; transform-style: preserve-3d; }

}

@media (max-width: 480px) {
    .hero-headline { font-size: 4rem; }
    .hero-quote { font-size: 1.5rem; }
    .section-title { font-size: 2.5rem; }
    .section-subtitle { font-size: 1rem; }
    .section-logo{width: 100vw; }
    .intro-subtitle { font-size: 0.875rem; }
    .benefit-text { font-size: 1.125rem; }
    .buy-now-button { font-size: 0.8125rem; padding: 8px 25px; }
    .feature-card { padding: 20px; }
    .feature-icon { width: 40px; height: 40px; }
    .slideshow-image { width: 100%; height: 50vh; top: 50%; }
    .compatibility-icon { width: 100px; padding-left: 10px; }
    .alexa{width: 60px;} 
    #intro-video{ position: sticky; top: 0; width: 100%; height: 42vh; object-fit: cover; z-index: 1;}
    .slideshow-section { position: relative; width: 100%; height: 45vh; min-height: 0px; background: white; overflow: hidden; }
    .slideshow-container { position: sticky; top: 0; width: 100%; height: 40vh; display: flex; justify-content: center; align-items: center; perspective: 1000px; transform-style: preserve-3d; }
    .showcase-video-section {
        height: auto;
        min-height: unset;
        margin-bottom: 26px; /* Pulls the next section closer */
    }
    
    .showcase-video-section .video-container {
        height: auto;
        min-height: unset;
    }
    
    #showcase-video {
        position: relative;
        height: 640px;
        top: 13px;
        left: auto;
        transform: none;
    }
    
    .background-image-section {
        margin-top: 80px; /* Pulls this section closer to the one above */
        padding-top: 0;
    }
    }


/* ========== LOGO STYLES ========== */
.logo1 {
    height: 32px;
    position: fixed;
    top: 14px;
    left: 24px;
    display: none;
    z-index: 102;
    transition: transform 0.3s ease;
}

.logo1:hover {
    transform: scale(1.05);
}


#logo {
    position: fixed;
    top: 14px;
    left: 24px;
    height: 32px;
    width: auto;
    z-index: 101;
    display: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#logo:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

.scrolled #logo {
    display: block;
}
/* ========== LOGO STYLES ========== */
.navbar-logo {
    position: relative;
    top: 50%;
    left: 0;
    height: 32px;
    display: flex;
    filter: brightness(0) saturate(100%) invert(8%) sepia(10%) saturate(748%) hue-rotate(177deg) brightness(94%) contrast(93%); /* Approximates #181818 */
    align-items: center;
}

.navbar-logo img {
    height: 100%;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(8%) sepia(10%) saturate(748%) hue-rotate(177deg) brightness(94%) contrast(93%); /* Approximates #181818 */
}

.navbar-logo img:hover {
    transform: scale(1.05);
}

.logo1 {
    height: 32px;
    position: absolute;
    top: 14px;
    left: 24px;
    display: none;
    z-index: 102;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(8%) sepia(10%) saturate(748%) hue-rotate(177deg) brightness(94%) contrast(93%); /* Approximates #181818 */
}

.logo1:hover {
    transform: scale(1.05);
}

/* ========== NAVBAR ========== */
#navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgba(224, 224, 224, 0.8);
    height: 60px;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#navbar:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#navbar ul {
    list-style: none;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    gap: 16px;
}

#navbar li {
    flex: none;
}

#navbar a {
    text-decoration: none;
    color: #181818;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 16px;
    line-height: 64px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 6px;
    position: relative;
}

#navbar a:hover {
                color: rgb(71, 160, 233);
    background-color: rgba(255, 255, 255, 0.05);
}

#navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 12px;
    left: 50%;
}

#navbar a:hover::after {
    width: 50%;
    left: 25%;
}

/* ========== HAMBURGER MENU ========== */
#hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 24px;
    width: 28px;
    height: 20px;
    z-index: 1000;
    cursor: pointer;
}

#hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #181818;
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

#hamburger:hover span {
    background-color:rgb(71, 160, 233);
}

#hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color:rgb(71, 160, 233);
}

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

#hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color:rgb(71, 160, 233);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1024px) {
    #navbar ul {
        gap: 8px;
    }

    #navbar a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    #navbar {
        border-bottom: none;
        box-shadow: none;
    }

    .navbar-logo {
        display: none;
    }

    .logo1 {
        display: block;
    }

    #hamburger {
        display: block;
    }

    #navbar ul {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #ffffff;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
    }

    #navbar ul.active {
        max-height: 400px;
        padding: 10px 0;
    }

    #navbar li {
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
    }

    #navbar ul.active li {
        opacity: 1;
        transform: translateY(0);
    }

    #navbar a {
        font-size: 1rem;
        padding: 18px 1px;
        line-height: normal;
        border-bottom: none;
        margin: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #181818;
    }
}

/* ========== HAMBURGER MENU ========== */
#hamburger {
    display: none;
    position: absolute;
    top: 20px;
    right: 24px;
    width: 28px;
    height: 20px;
    z-index: 1000;
    cursor: pointer;
}

#hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000000;
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

#hamburger:hover span {
    background-color:rgb(71, 160, 233);
}

#hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color:rgb(71, 160, 233);
}

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

#hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color:rgb(71, 160, 233);
}

/* Logo Container */
.logo-container {
    width: 180px;
    height: auto;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom: 50px;
}

/* ========== EIGHTH PAGE (FOOTER) ========== */
#eighth-page {
    width: 100%;
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 80px 0 0;
    position: relative;
    margin-top: 10px;
}

#footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    flex: 1;
    min-width: 240px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}
/* ========== RESPONSIVE DESIGN FOR FOOTER ========== */
@media (max-width: 1024px) {
    #sixth-page {
        padding: 48px 16px 24px;
    }

    .footer-top {
        gap: 32px;
    }

    .footer-brand {
        min-width: 200px;
    }

    .footer-tagline {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .social-link img {
        width: 22px;
        height: 22px;
    }

    .footer-links {
        gap: 32px;
    }

    .link-group {
        min-width: 140px;
    }

    .link-title {
        font-size: 0.95rem;
    }

    .link-group a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    #sixth-page {
        padding: 40px 12px 20px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .footer-brand {
        min-width: 100%;
    }

    .footer-tagline {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .link-group {
        min-width: 100%;
        text-align: center;
    }

    .link-title {
        font-size: 0.9rem;
    }

    .link-group a {
        font-size: 0.8rem;
    }

    .social-link img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    #sixth-page {
        padding: 32px 8px 16px;
    }

    .footer-top {
        gap: 16px;
    }

    .footer-tagline {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .footer-social {
        gap: 12px;
    }

    .social-link img {
        width: 18px;
        height: 18px;
    }

    .footer-links {
        gap: 16px;
    }

    .link-group {
        min-width: 100%;
    }

    .link-title {
        font-size: 0.85rem;
    }

    .link-group a {
        font-size: 0.75rem;
    }
}
.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover img {
    filter: brightness(1);
}


.link-group {
    flex: 1;
    min-width: 160px;
}

.link-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-light);
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color:rgb(71, 160, 233);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -53%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

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

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    #navbar ul {
        gap: 8px;
    }

    #navbar a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    #navbar {
        border-bottom: none;
        box-shadow: none;
    }

    .navbar-logo {
        display: none;
    }

    .logo1 {
        display: block;
    }

    #logo {
        display: none;
    }

    #hamburger {
        display: block;
    }

    #navbar ul {
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #ffffff;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
    }

    #navbar ul.active {
        max-height: 531px;
    }

    #navbar li {
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
    }

    #navbar ul.active li {
        opacity: 1;
        transform: translateY(0);
    }

    #navbar a {
        font-size: 1rem;
        padding: 13px 1px;
        line-height: normal;
        border-bottom: none;
        margin: 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}