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

body {
    font-family: 'Anek Malayalam', 'Noto Sans Malayalam', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    transition: all 0.3s ease;
}

.header.scrolled {
    top: 0;
    background: #fff;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-home-icon i {
    font-size: 20px;
    color: #fff;
}

a.header-home-icon {
    padding: 12px 15px;
    background: #FF0000;
    border-radius: 10px;
}

.non-homepage-header.scrolled .header-nav a {
    color: #f00;
    border: 2px solid #f00;
}

.non-homepage-header .header-home-icon {
    background: #fff;
}

.non-homepage-header .header-about-btn {
    border: 2px solid #fff;
}

.header.non-homepage-header.scrolled {
    top: 0;
    background: #fff;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header.non-homepage-header {
    background: #f00;
    border-bottom: 1px solid #fff;
}

.non-homepage-header .header-nav a {
    color: #ffffff;
}

.non-homepage-header .mobile-menu-btn {
    color: #ffffff;
}

.non-homepage-header .header-home-icon i {
    color: #f00;
}

a.non-homepage-header-about-btn {
    border: 2px solid rgb(255, 255, 255);
}

a.header-about-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 25px;
    padding: 12px 15px;
    border: 2px solid #f00;
    border-radius: 10px;
    color: #464646;
}



.header-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 83.3%;
    padding: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.header-logo img {
    height: 40px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
    color: #032f64;
}

.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: #ff0000;
    cursor: pointer;
}

.header-spacer {
    height: 64px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: #ff0000;
    border-top: 1px solid #ffffff;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: #fffdfd;
    color: #FF0000;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - 64px);
    /* background: linear-gradient(135deg, #1e3a8a 0%, #172554 50%, #312e81 100%); */
    background: linear-gradient(135deg,
            #0f0569 0%,
            #141077 25%,
            #212e9b 55%,
            #3e4ca8 100%);

    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
    display: none;
}

.hero-circle-1 {
    position: absolute;
    top: 80px;
    right: 80px;
    width: 384px;
    height: 384px;
    background: white;
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(96px);
}

.hero-circle-2 {
    position: absolute;
    bottom: 80px;
    left: 80px;
    width: 320px;
    height: 320px;
    background: #60a5fa;
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(64px);
}

.hero-container {
    position: relative;
    max-width: 1366px;
    width: 75%;
    margin: 0 auto;
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    color: white;
    z-index: 10;
}

.mla-slider-container {
    max-width: 1366px;
    margin: 0 auto;
    width: 83%;
    padding: 0;
}



.hero-title {

    color: #FFD325;
    font-weight: 700;
    font-style: Bold;
    font-size: 54px;
    line-height: 63px;
}

.hero-subtitle {
    color: #fff;
    font-weight: 500;
    font-size: 44px;
    line-height: 51px;
    letter-spacing: 0%;
}

.hero-description {
    color: #fff;
    max-width: 600px;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    padding: 1rem 2rem;
    background: white;
    color: #1e40af;
    font-weight: 700;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    font-weight: 700;
    border-radius: 0.5rem;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
}

.hero-logo-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-bg {
    position: absolute;
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, rgba(202, 138, 4, 0.3) 0%, rgba(234, 179, 8, 0.2) 50%, rgba(249, 115, 22, 0.3) 100%);
    border-radius: 50%;
    filter: blur(64px);
}

.hero-logo {
    position: relative;
    z-index: 10;
    transition: transform 0.3s;
}

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

.hero-logo img {
    width: 450px;
    height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
}

/* MLA Slider Section */
.mla-slider-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 50%, #312e81 100%);
    border-top: 1px solid #1e40af;
}

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

.slider-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.mla-slider {
    overflow: hidden;
    position: relative;
}

.mla-slides {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
}

.mla-slide {
    flex: 0 0 auto;
    text-align: center;
    min-width: 120px;
}

.mla-image-wrapper {
    width: 96px;
    height: 96px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mla-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mla-name {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.mla-constituency {
    color: #bfdbfe;
    font-size: 0.75rem;
}

/* Footer */
.footer {
    background: #FFEFEF;
    color: #FF1010;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #f3a3a3;
}

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

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

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: #464646;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: #464646;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: #f00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.social-icon:hover {
    background: #545456;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #f3a3a3;
    color: #464646;
}

@media screen and (max-width: 1700px) {
    a.header-about-btn {
        font-size: 14px;
        padding: 4px 12px;
    }

    .header-home-icon i {
        font-size: 15px;
    }

    a.header-home-icon {
        padding: 6px 12px;
    }
}



@media screen and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-subtitle {
        font-size: 1.875rem;
    }
}

@media screen and (max-width: 900px) {
    .header-logo img {
        height: 30px;
    }

    a.header-about-btn {
        font-size: 12px;
        padding: 0px 10px;
    }

    a.header-home-icon {
        padding: 2px 10px;
    }

    .header-home-icon i {
        font-size: 12px;
    }

    .header-nav {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-content {
        height: 55px;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .header-content {
        height: 65px;
    }

    .header-logo img {
        height: 40px;
    }

    .scrolled .mobile-menu-btn {
        color: #FF0000;
    }

    .header-spacer {
        height: 60px;
    }

    .hero-section {
        min-height: calc(100vh - 115px);
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }



    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-logo img {
        width: 300px;
        height: 300px;
    }

    .hero-logo-bg {
        width: 300px;
        height: 300px;
    }

    .mla-image-wrapper {
        width: 80px;
        height: 80px;
    }
}