/* Body (menu, navbar, buttons) */
/* body {
  font-family: 'Noto Sans Tamil', sans-serif;
}

p, .content, .desc, .text {
  font-family: 'Noto Serif Tamil', serif;
  line-height: 1.9;
}

.content strong {
  font-weight: 700;
}

.content {
  font-family: 'Noto Serif Tamil', serif;
} */

/* UI elements */
/* body {
  font-family: 'Hind Madurai', sans-serif;
}


.content, p {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 16px;
  line-height: 1.8;
} */

/* Body (menu, navbar, buttons) */
body {
    font-family: 'Baloo Thambi 2', cursive;
}

/* Content (text, paragraphs) */
.content,
p {
    font-family: 'Mukta Malar', sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* Heading extra style */
h1,
h2 {
    /* font-family: 'Baloo Thambi 2', cursive; */
    font-family: "Anek Tamil", sans-serif;
    letter-spacing: 0.5px;
}

.party-name {
    font-family: "Anek Tamil", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-variation-settings: "width" 84;

    font-size: 25px;

}

/* tamil font */
/* Navbar layout */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    /* small clean gap */
    padding: 0;
}

/* Small logo */
/* Mobile view */
.logo-img {
    max-width: 110px;
    height: auto;
}

/* Mobile view */
@media (max-width:768px) {

    .logo-img {
        max-width: 170px;
        /* mobile la konjam perusa */
        height: auto;
    }

}

.navbar {
    background: linear-gradient(120deg, #c40000, #001f7f, #c40000);
    padding: 12px 0;
}

.navbar .container {
    max-width: 95%;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
}


@media(max-width:991px) {

    .navbar-nav {
        background: #001f7f;
        padding: 15px;
        border-radius: 10px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 5px;
    }

}


/* switch */
.lang-switch {
    position: relative;
    width: 70px;
    height: 28px;
    display: inline-block;
}

.lang-switch input {
    display: none;
}

.slider {
    position: absolute;
    background: #dc3545;
    border-radius: 30px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;

    font-size: 12px;
    font-weight: 700;
    color: white;
}

/* circle */
.slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 30px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 20px;
    transition: 0.3s;
}

/* move right */
input:checked+.slider:before {
    transform: translateX(34px);
}

/* text fade */
.ta,
.en {
    z-index: 1;
    opacity: 0.6;
}

/* active highlight */
input:not(:checked)+.slider .ta {
    color: black;
    opacity: 1;
}

input:checked+.slider .en {
    color: black;
    opacity: 1;
}

/* social icon */
.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    background: white;
    color: #dc3545;

    border-radius: 50%;
    margin-left: 8px;

    font-size: 14px;
    /* icon size */
    transition: 0.3s;
}

/* hover effect */
.social-icons a:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

/* hero slider start */
.hero {
    padding: 140px 0;
    background: linear-gradient(120deg, #c40000, #001f7f, #c40000);
    color: white;
    text-align: center;
    font-family: "Anek Tamil", sans-serif;
    position: relative;
    overflow: hidden;
    padding-bottom: 0 !important;


}

/* Light overlay effect */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;

    letter-spacing: 2px;
    /* letters ku gap */
    line-height: 1.3;
    /* mela keela space */

    padding: 10px 0;
    /* text ku breathing space */
}

.hero p {
    font-size: 22px;
    margin-top: 10px;
    opacity: 0.9;
}

/* Button style */
.hero .btn {
    margin-top: 25px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    background: #fff;
    color: #c40000;
    border: none;
    transition: 0.3s;
}

.hero .btn:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-3px);
}

/* anmainigalvugal */
.events {
    background: #f5f5f5;
}

.event-card {
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(120deg, #c40000, #001f7f, #c40000);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-8px);
}

.event-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.event-content {
    padding: 20px;
    text-align: center;
}

.event-content h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.event-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Mobile View Fix */
@media (max-width:768px) {

    /* language switch size */
    .lang-switch {
        transform: scale(0.9);
        margin-right: 5px;
    }

    .navbar-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navbar-brand img {
        margin-bottom: 5px;
    }

    #site-title {

        display: block;
        font-size: 10px;
        line-height: 1.2;
    }



    #logo-title {
        font-family: 'Noto Sans Tamil', sans-serif;
        font-weight: 700;
        /* bold look */
        font-size: 28px;
        /* optional */
    }
}


/* shadow for hero section */

.shine-text {
    font-size: 42px;
    font-weight: 700;

    background: linear-gradient(120deg,
            #ffffff 20%,
            #ff0000 35%,
            #001f7f 50%,
            #ff0000 65%,
            #ffffff 80%);

    background-size: 200% auto;

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;

    animation: shineMove 3s linear infinite;
}

@keyframes shineMove {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* .party-arch-logo{
    width: 280px;   
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
} */
/* 
.arch-wrapper {
    position: relative;
    display: inline-block;
}

.party-arch-logo {
    width: 750px;
    max-width: 100%;
    height: auto;
    display: block;

    margin-top: -30px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -200px;
} */

.arch-wrapper {
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: -250px;
    transform: translateY(-180px);
    z-index: 10;
}

.party-arch-logo {
    width: 750px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-bottom: -250px;
}

/* Content Center */
.arch-content {
    position: absolute;
    top: 80%;
    /* text கீழே/மேலே adjust செய்யலாம் */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    text-align: center;
    z-index: 2;
}

.arch-content p {
    color: #fff;
    font-size: 23px;
    margin-bottom: 20px;
}

.arch-content .btn {
    padding: 8px 20px;
}


.arch-wrapper {
    margin-top: 20px !important;
}

.party-name .container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.arch-content {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    text-align: center;
}

.arch-content p {
    color: #fff;
    font-size: 23px;
    margin-bottom: 15px;
}

.arch-content .btn {
    padding: 8px 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .party-arch-logo {
        width: 100%;
        max-width: 450px;
        margin-top: -100px;
        margin-bottom: -160px;
    }

    .arch-content {
        top: 75%;
        /* 80% லிருந்து கீழே */
        width: 85%;
    }

    .arch-content p {
        font-size: 14px;
        margin-bottom: -40px;
    }

    .arch-content .btn {
        padding: 6px 16px;
        font-size: 14px;
        margin-top: -30px;
    }
}

/* Tablet */
@media (max-width:768px) {
    .arch-wrapper {
        margin-top: -30px;
    }

    .party-arch-logo {
        width: 100%;
        max-width: 350px;
        margin-top: 0;
        margin-bottom: -100px;
    }
}


/* .arch-container{
    width:450mm;
    max-width:100%;
    margin:0 auto;
    text-align:center;
    position:relative;
    padding-top:80px;
    height:260px;
} */

/* Outer Arch */
/* .arch-container::before{
    content:'';
    position:absolute;
    left:50%;
    top:0;
    transform:translateX(-50%);
    width:450mm;
    max-width:100%;
    height:225mm;
    border:6px solid #ff0000;
    border-bottom:none;
    border-radius:450mm 450mm 0 0;
    pointer-events:none;
} */

/* Inner Arch */
/* .arch-container::after{
    content:'';
    position:absolute;
    left:50%;
    top:100px;
    transform:translateX(-50%);
    width:250mm;     
    height:160mm;     
    border:4px solid #ff0000;
    border-bottom:none;
    border-radius:450mm 450mm 0 0;
    pointer-events:none;
} */
/* .arch-title{
    position:relative;
    z-index:2;
    font-size:42px;
    font-weight:700;
    margin-top:120px;
} */

/* about */
/* Section background */
.leader-section {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 10px;
    margin-top: 90px;
}

/* Leader image */
.leader-img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    display: block;
    object-fit: contain !important;
    object-position: center top !important;
    border-radius: 15px;
}

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

/* Title */
.leader-title {
    font-weight: 700;
    color: #c40000;
    border-left: 5px solid blue;
    padding-left: 10px;
}

/* Leader name */
.leader-name {
    color: #0033cc;
    font-weight: 600;
}

/* Description */
.leader-desc {
    font-size: 18px;
    line-height: 1.7;
    text-align: justify;
}

/* Strong highlight */
.leader-desc strong {
    background: linear-gradient(90deg, red, blue, red);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* Button */
.leader-btn {
    background: linear-gradient(90deg, #c40000, #0033cc);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
}

.elite-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-align: center;
    /* box content center */
}

.elite-title {
    line-height: 1.4;
    letter-spacing: 0.5px;
    word-spacing: 2px;
}

.leader-btn:hover {
    background: linear-gradient(90deg, #0033cc, #c40000);
    color: white;
}

/* about end */
/* Mobile Adjustments */
/* Navbar Mobile Fixes */
@media (max-width: 991px) {

    /* Navbar brand spacing */
    .navbar-brand img {
        width: 70px;
        /* smaller logo on mobile */
    }

    #site-title {
        font-size: 16px;
        /* smaller text on mobile */
    }

    /* Navbar links spacing */
    .navbar-nav .nav-item {
        margin-bottom: 8px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px 15px;
    }

    /* Social icons spacing */
    .social-icons a {
        margin-right: 10px;
        font-size: 12px;
    }
}

/* Optional: make toggle button bigger on small screens */
.navbar {
    position: relative;
}

.navbar-toggler {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-size: 28px;
}

@media (max-width:768px) {
    .navbar-collapse {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #001f8f;
        /* உங்கள் menu color */
        padding: 15px;
        z-index: 999;
    }

    .navbar .container {
        position: relative;
    }

    .navbar-toggler {
        right: 15px !important;
    }

}


@media (max-width: 768px) {

    /* Leader Section spacing */
    .leader-section {
        padding: 40px 15px;
    }

    /* Image size smaller for mobile */
    .leader-img {
        max-height: 300px;
        width: 100%;
        object-fit: cover;
        margin-bottom: 20px;
    }

    /* Title & description font */
    .leader-title {
        font-size: 22px;
        text-align: center;
    }

    .leader-desc {
        font-size: 14px;
        line-height: 1.6;
        text-align: justify;
    }

    /* Button */
    .leader-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
}


/* talaivar content  next */
/* content right side move */
/* Right side elements animation */

.leader-title,
.leader-desc,
.leader-btn,
.service-btn {
    opacity: 0;
    transform: translateX(100px);
    animation: slideRight 1.2s ease forwards;
}

/* Delay sequence */

.leader-title {
    animation-delay: 0.3s;
}

.leader-desc {
    animation-delay: 0.6s;
}

.leader-btn {
    animation-delay: 0.9s;
}

/* Animation keyframes */

@keyframes slideRight {

    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}

/* makkal sevai animation */

/* Cards animation */
.leader-content,
.helptitle {
    opacity: 0;
    transform: translateX(-90px);
    animation: slideLeftFast 1.7s ease forwards;
}

/* Animation keyframes */
@keyframes slideLeftFast {

    0% {
        opacity: 0;
        transform: translateX(-80px);
    }

    60% {
        opacity: 1;
        transform: translateX(10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}

/* Card delay */
.leader-content:nth-child(1) {
    animation-delay: 0.1s;
}

.leader-content:nth-child(2) {
    animation-delay: 0.2s;
}

.leader-content:nth-child(3) {
    animation-delay: 0.3s;
}

.leader-content:nth-child(4) {
    animation-delay: 0.4s;
}

.leader-content:nth-child(5) {
    animation-delay: 0.5s;
}

.leader-content:nth-child(6) {
    animation-delay: 0.6s;
}





/* section background */

.help-section {
    background: linear-gradient(90deg, #c40000, #0033a0, #c40000);
    padding: 70px 0;
}

/* title */

.help-section h2 {
    color: white;
    font-weight: 700;
}

/* card */
.help-box {
    background: #fff;
    border-radius: 15px;
    padding: 30px 25px;
    height: 100%;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.help-box h3 {
    min-height: 60px;
    /* எல்லா title-களும் same level */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.help-box p {
    flex-grow: 1;
    margin: 0;
    line-height: 1.8;
    text-align: justify;
    /* அல்லது center */
}

/* title */

.help-title {
    font-weight: 700;
    color: #c40000;
}

.help-box h3 {
    font-weight: 700;
    color: #c40000;
}

/* description */

.help-desc {
    font-size: 14px;
    color: #444;
}

/* makkal sevai */



.service-btn {
    background: linear-gradient(90deg, #c40000, #0033cc);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
}

.service-btn:hover {
    background: linear-gradient(90deg, #0033cc, #c40000);
    color: white;
}

.service-img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Footer mobile spacing */
@media (max-width: 768px) {
    .dmk-footer .col-md-3 {
        margin-bottom: 20px;
    }

    .dmk-footer iframe {
        height: 180px;
    }
}

/* footer */
.dmk-footer {

    background: linear-gradient(90deg,
            #c40000 0%,
            #0b1b2b 50%,
            #c40000 100%);

    color: white;

    padding: 60px 0;

}

.dmk-footer h4 {

    font-weight: 600;

    margin-bottom: 15px;

}

.dmk-footer ul {

    list-style: none;

    padding: 0;

}

.dmk-footer ul li {

    margin-bottom: 8px;

    color: #ddd;

}

.footer-social i {

    margin-right: 12px;

    font-size: 18px;

    cursor: pointer;

}

.footer-social i:hover {

    color: #ffcc00;

}

/* about page mobile */

@media (max-width:768px) {

    .leader-img,
    .leader-photo {
        width: 100%;
        margin-bottom: 15px;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center top !important;
    }

    .leader-desc,
    .leader-text {
        font-size: 14px;
        text-align: left;
        line-height: 1.5;
    }

    .leader-btn,
    .leader-btn-style {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

/* venkatraman */
/* Section Background */
/* Leader Section */
.leader-box {
    background: linear-gradient(135deg, #8b0000, #002b5c);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

/* Leader Image */
.leader-photo {
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

/* Heading */
.leader-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Text */
.leader-text {
    font-size: 14px;
    line-height: 1.7;
    max-width: 800px;
    text-align: center;
    margin: auto;
}

/* Button */
.leader-btn-style {
    background: #fff;
    color: #8b0000;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.leader-btn-style:hover {
    background: #ffd700;
    color: #000;
}

@media (max-width:768px) {

    .leader-photo {
        width: 180px;
    }

    .leader-heading {
        font-size: 22px;
    }

    .leader-text {
        font-size: 14px;
        padding: 0 10px;
    }

    .leader-btn-style {
        width: 100%;
    }

}

/* page header */
.page-banner {
    background: #f4c400;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    color: #a10000;
    margin-bottom: 10px;
}

.breadcrumb-text {
    color: #a10000;
    font-size: 15px;
}

.breadcrumb-text a {
    text-decoration: none;
    color: #a10000;
}

.banner-img img {
    max-height: 220px;
}

/* mobile */
@media(max-width:768px) {

    .page-banner {
        text-align: center;
    }

    .banner-img {
        margin-top: 20px;
    }

    .banner-img img {
        max-height: 180px;
    }

}

/* ideology */

/* ideology card design */
.ideology-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ideology-img {
    max-width: 320px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ideology-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, red, blue, red);

    /* standard property */
    background-clip: text;

    /* for chrome & safari */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    color: transparent;
}

.ideology-text {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

/* 3 cards */
/* 
.dmmk-vision-card {
  padding: 30px;
  border-radius: 15px;
  background: linear-gradient(135deg, #d60000, #002a8f, #d60000);
  color: #fff;
  transition: 0.3s;
  height: 100%;
}

.dmmk-vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
} */

/* MOBILE RESPONSIVE */
@media (max-width:768px) {

    .ideology-card {
        padding: 25px;
        text-align: center;
    }

    .ideology-img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .ideology-title {
        font-size: 24px;
    }

    .ideology-text {
        font-size: 16px;
    }

}

/* achievement */
/* Card */
.elite-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

/* Gradient Top Border */
.elite-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6a00, #ee0979, #00c6ff);
}

/* Image */
.elite-img-box {
    overflow: hidden;
}

.elite-img {
    width: 100%;
    height: auto;
    /* முக்கியம் */
    object-fit: contain;
    /* full image */
}

/* Content */
.elite-content {
    padding: 20px;
    text-align: center;
}

.elite-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #8b0000;

}

.elite-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}


/* மெயின் பின்னணி நிறம் (Hero Section) */
.food-hero-wrap {
    background: linear-gradient(135deg, #e65c00, #f9d423);
    /* ஆரஞ்சு டு மஞ்சள் கிரேடியண்ட் */
    padding: 60px 0;
}

/* ஐகானைச் சுற்றியுள்ள வட்டத்தின் நிறம் */
.icon-circle-ripple {
    border: 2px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.2);
    /* லேசான வெள்ளை நிழல் */
}


/* Hover */
.elite-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.elite-card:hover .elite-img {
    transform: scale(1.1);
}

/* ven bullet */
.leader-content-wrapper {
    text-align: center;
    /* Moththa container-aiyum center panna */
    width: 100%;
}

.leader-list-container {
    display: inline-block;
    /* Points-ai mattum kurukki center-il vaikka */
    text-align: center;
    /* Bullets-um text-um nere irukka */
}

.leader-list {
    list-style-type: disc;
    margin: 20px 0;
    padding-left: 20px;
}

.leader-list li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}


/* Food Page Specific Styles */
/* Header block - Navbar உடன் இடிக்காமல் இருக்க */
.page-header {
    background: linear-gradient(135deg, #ff9800, #e65100);
    color: white;
    /* மேல்பகுதி இடைவெளியை இன்னும் கொஞ்சம் அதிகரித்துள்ளேன் */
    padding: 140px 0 80px 0;
    text-align: center;
    /* இடிப்பதைத் தவிர்க்க margin-top-ஐ 0 அல்லது positive ஆக மாற்றவும் */
    margin-top: 0;
}

/* பிரதான பகுதிக்கும் ஹெடருக்கும் இடையே கேப் விட */
.container.my-5 {
    padding-top: 40px !important;
}

/* Section Title - தெளிவான இடைவெளியுடன் */
.section-title {
    color: #e65100;
    border-bottom: 2px solid #ff9800;
    padding-bottom: 15px;
    margin-bottom: 30px;
    /* கீழே உள்ள கன்டென்ட் இடிக்காமல் இருக்க */
    font-weight: 700;
    margin-top: 10px;
}

/* Service card - கார்டுகளுக்கு இடையே சீரான இடைவெளி */
.service-card {
    border: 0;
    background: #fffdfb;
    padding: 30px;
    /* உள் இடைவெளி அதிகரிப்பு */
    margin-bottom: 25px;
    /* கார்டுகளுக்கு இடையே கீழ் இடைவெளி */
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.1);
    border-left: 5px solid #e65100 !important;
    border-radius: 12px;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    /* லேசாக மேலே எழும்புவது போன்ற எஃபெக்ட் */
}

/* Sidebar Gallery - மேலே இடிக்காமல் இருக்க */
.gallery-container {
    padding-top: 20px;
}

.gallery-container h4 {
    margin-bottom: 2rem;
    text-align: center;
    color: #444;
    font-weight: 600;
}

/* CTA Section - செக்ஷன்களுக்கு இடையே தாராள இடைவெளி */
.cta-section {
    background-color: #e65100;
    color: white;
    padding: 5rem 0;
    /* உயரத்தை அதிகரித்துள்ளேன் */
    text-align: center;
    margin-top: 50px;
}

/* medical */
/* ==================================================
   Medical Page - New Premium Grid Design (CSS)
   ================================================== */

/* 1. Header Section */
.medical-theme-new {
    background: linear-gradient(135deg, #02aab0 0%, #00cdac 100%);
    /* New Teal/Green Medical Gradient */
    color: white;
    padding: 140px 0 80px 0;
    /* Navbar-க்காக அதிகப்படியான மேல் இடைவெளி */
    text-align: center;
    border-bottom-left-radius: 50px;
    /* Modern curved bottom */
    border-bottom-right-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 178, 171, 0.2);
}

.medical-theme-new h1 {
    font-weight: 800;
    letter-spacing: -1px;
}

/* 2. Main Content Section */
.med-page-main {
    margin-top: -40px;
    /* Header-க்கு மேல் சிறிது ஏற்றி வைக்க */
    position: relative;
    z-index: 5;
}

/* 2.1 Services Grid & Card */
.med-section-title-new {
    color: #0083b0;
    /* Medical Blue from older design */
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.med-section-title-new::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #00cdac;
    /* Medical Green line */
    bottom: 0;
    left: 0;
}

.med-service-card-new {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 205, 172, 0.1);
    /* Subtle green border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.med-service-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 205, 172, 0.15);
    border-color: #00cdac;
}

/* Card Icon Box */
.med-service-card-new .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00cdac 0%, #02aab0 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 178, 171, 0.2);
}

.med-service-card-new .card-icon i {
    font-size: 24px;
    color: white;
}

.med-service-card-new h5 {
    color: #333;
    font-weight: 700;
    margin-bottom: 12px;
}

.med-service-card-new p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 2.2 Gallery Sidebar */
.medical-gallery-sidebar .gallery-wrapper {
    background-color: white;
    border-radius: 15px;
    position: sticky;
    /* Sidebar sticky effect */
    top: 100px;
}

.gallery-title-new {
    font-weight: 700;
    color: #444;
}

.med-gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.med-gallery-item img {
    width: 100%;
    height: 200px;
    /* Fixed height forsidebar gallery */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.med-gallery-item:hover img {
    transform: scale(1.1);
}

/* 3. Call to Action Section */
.medical-cta-new {
    background: linear-gradient(135deg, #00cdac 0%, #02aab0 100%);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: 80px;
}

/* education */
/* New Education Page Styles */

.edu-hero-section {
    background: linear-gradient(rgba(111, 66, 193, 0.9), rgba(111, 66, 193, 0.9)), url('../img/edu_hero_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px 0;
}

.edu-feature-card {
    background: #ffffff;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edu-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #f3ecff;
    color: #6f42c1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.hover-zoom {
    transition: transform 0.5s ease;
}

.hover-zoom:hover {
    transform: scale(1.03);
}

.edu-final-cta {
    background: #6f42c1;
    border-top: 5px solid #ffc107;
}

/* Back button style adjustment */
.btn-outline-light:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

/* emg */
/* Emergency Support - Premium Style */

.emg-hero-wrap {
    /* Navbar-க்கு இடம் விட 180px padding கொடுக்கப்பட்டுள்ளது */
    background: linear-gradient(rgba(211, 47, 47, 0.9), rgba(198, 40, 40, 0.95)), url('../img/emg_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 120px 0;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.emg-pull-up {
    margin-top: -60px;
    /* Hero-விற்கு மேல் லேசாக தூக்கி காட்ட */
}

.emg-content-card {
    background: #fff;
    border-radius: 30px;
}

.emg-title-modern {
    color: #d32f2f;
    font-weight: 800;
}

.emg-mini-card {
    background: #fffafa;
    padding: 25px;
    border-radius: 20px;
    height: 100%;
    border-bottom: 4px solid #d32f2f;
    transition: 0.3s;
}

.emg-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.mini-icon {
    font-size: 1.8rem;
    color: #d32f2f;
    margin-bottom: 15px;
}

.emg-highlight-box {
    background: #fff3f3;
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid #d32f2f;
}

/* Sidebar & Gallery */
.emg-sidebar {
    background: #fff;
    border-radius: 30px;
    position: sticky;
    top: 100px;
}

.hover-up {
    transition: 0.4s;
    cursor: pointer;
}

.hover-up:hover {
    transform: scale(1.03);
}

/* Ripple Animation for Icon */
.icon-circle-ripple {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Footer CTA */
.emg-cta-footer {
    background: #d32f2f;
    margin-top: 50px;
}

.pulse-button {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* school */

/* Hero Section */
/* Hero Section */
.edu-hero-section {
    background: linear-gradient(rgba(111, 66, 193, 0.9), rgba(111, 66, 193, 0.8)), url('img/edu_bg.jpg');
    background-size: cover;
    background-position: center;
    /* மேலே இடிப்பதைத் தவிர்க்க margin-top அல்லது அதிக padding சேர்க்கவும் */
    margin-top: 20px;
    padding: 100px 0;
    /* மேல் மற்றும் கீழ் இடைவெளியை அதிகரித்துள்ளேன் */
    border-radius: 0 0 40px 40px;
}

/* Feature Cards */
.edu-feature-card {
    background: #fff;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-top: 15px;
    /* கார்டுகள் மேலே இடித்தால் */
}

.edu-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(111, 66, 193, 0.1) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #f3e5f5;
    color: #6f42c1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* Image Hover Effect */
.hover-zoom {
    transition: transform 0.4s ease;
    margin-bottom: 15px;
    /* படங்களுக்கு இடையே கேப் விட */
}

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

/* Footer CTA */
.edu-final-cta {
    background: #6f42c1;
    border-radius: 30px;
    margin-top: 80px;
    /* கீழே உள்ள செக்ஷன் மேலே இடிக்காமல் இருக்க */
    padding: 60px 0;
}

/* பிரத்யேகமாக மேல் பகுதிக்கு மட்டும் (Container spacing) */
.edu-page-main {
    padding-top: 50px;
}

/* history */
/* Premium Root Spacing */

/* Premium Root Spacing */
.leader-page-wrapper {
    padding-top: 100px;
    /* Navbar overlap-ஐ தடுக்க */
    background: #fdfdfd;
}

/* Master Hero with Gradient Mesh */
.leader-master-hero {
    background: radial-gradient(at 0% 0%, #1a237e 0%, transparent 50%),
        radial-gradient(at 100% 0%, #0d47a1 0%, transparent 50%),
        #050a30;
    padding: 100px 0 180px 0;
    clip-path: ellipse(150% 100% at 50% 0%);
    color: white;
}

/* Profile Image with Ring Effect */
.leader-frame {
    position: relative;
    display: inline-block;
    margin-top: -140px;
}

.leader-frame img {
    width: 300px;
    height: 380px;
    object-fit: cover;
    border-radius: 40px;
    border: 12px solid white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
}

.leader-frame:hover img {
    transform: translateY(-10px) rotate(-2deg);
    border-color: #ffc107;
}

/* Glass Cards */
.service-glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: 0.4s;
}

.service-glass-card:hover {
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Service Point Icons */
.point-icon {
    width: 40px;
    height: 40px;
    background: #fff3e0;
    color: #e65100;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Stats Banner */
.stats-pill {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.counter-text {
    font-size: 2rem;
    font-weight: 800;
    color: #1a237e;
    display: block;
}

.orange-text {
    color: #e65100;
}

/* gallery */
.gallery-container {
    padding: 60px 0;
    background: #f9f9f9;
}

.gallery-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    border: none;
    margin-bottom: 30px;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-img-box {
    height: 220px;
    overflow: hidden;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-card:hover .gallery-img-box img {
    transform: scale(1.1);
}

.gallery-content {
    padding: 20px;
}

.gallery-content h5 {
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 10px;
}

.gallery-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* login lcon */
.login-btn {
    background: linear-gradient(45deg, #ff0000, #001f7f);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.login-btn:hover {
    background: linear-gradient(45deg, #001f7f, #ff0000);
    transform: scale(1.05);
    color: #fff;
}

/* admin panel design*/
/* service for glow */
.achievement-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.achievement-card {
    position: relative;
    max-width: 900px;
    width: 100%;
    padding: 25px 35px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent);
    animation: shine 4s infinite;
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

.achievement-icon {
    display: block;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.achievement-text {
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

/* gallery page */
.gallery-card {
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.img-wrapper {
    height: 200px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* 2-line clamp for description */
.text-truncate-2 {
    display: -webkit-box;
    display: box;
    /* fallback */
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

/* nav flags */
.flag-img {
    width: 180px;
    max-width: 100%;
    height: auto;
}

/* Mobile View */
@media (max-width:768px) {
    .flag-img {
        width: 120px;
        display: block;
        margin: 0 auto;
    }

    .col-md-3 {
        text-align: center;
        margin-bottom: 15px;
    }
}

/*  goat farm */
.livestock-hero {
    position: relative;
    background: linear-gradient(135deg, #0f9b0f, #38ef7d);
    padding: 120px 0;
    overflow: hidden;
}

.livestock-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
}

.livestock-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: .4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.livestock-card:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #7ed957);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    transition: .4s;
}

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

.livestock-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.65)),
        url('img/livestock-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
}

.livestock-cta h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.livestock-cta p {
    max-width: 700px;
    margin: auto;
    opacity: 0.95;
}

.livestock-cta .btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.livestock-cta .btn:hover {
    transform: translateY(-3px);
}

/* ambulance */
.ambulance-hero {
    background: linear-gradient(rgba(220, 53, 69, .85), rgba(220, 53, 69, .85)),
        url('img/ambulance-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    background: #fff;
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    height: 100%;
}

.feature-box i {
    font-size: 40px;
    color: #dc3545;
    margin-bottom: 15px;
}

.ambulance-cta {
    background: #dc3545;
}

/* laptop */
/* Hero Section */
.laptop-hero {
    background: linear-gradient(135deg, #6f42c1, #8e44ad);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.laptop-hero h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

.laptop-hero .lead {
    max-width: 700px;
    margin: auto;
    opacity: .9;
}

/* Feature Cards */
.feature-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: all .3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 45px;
    color: #6f42c1;
    margin-bottom: 15px;
}

.feature-box h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Intro Image */
.intro-img {
    border-radius: 25px;
    overflow: hidden;
}

.intro-img img {
    width: 100%;
    transition: .4s;
}

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

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 20px;
}

.gallery-item img {
    width: 100%;
    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* CTA Section */
.laptop-cta {
    background: linear-gradient(135deg, #6f42c1, #8e44ad);
    padding: 80px 0;
}

.laptop-cta h2 {
    font-weight: 700;
}

.laptop-cta .btn {
    font-weight: 600;
    padding: 12px 35px;
    transition: .3s;
}

.laptop-cta .btn:hover {
    transform: translateY(-3px);
}

/* Statistics Cards */
.stats-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.stats-card h3 {
    color: #6f42c1;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Responsive */
@media(max-width:768px) {

    .laptop-hero {
        padding: 70px 0;
    }

    .laptop-hero h1 {
        font-size: 2rem;
    }

    .feature-box {
        margin-bottom: 20px;
    }
}

/* SEWING */
.sewing-hero {
    background: linear-gradient(135deg, #e83e8c, #9c27b0);
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon i {
    font-size: 50px;
    color: #e83e8c;
}

.about-box {
    padding: 20px;
}

.highlight-box {
    background: #fff0f7;
    border-left: 5px solid #e83e8c;
    padding: 20px;
    border-radius: 10px;
}

.sewing-journey {
    background: #f8f9fa;
}

.journey-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .3s;
    height: 100%;
}

.journey-card:hover {
    transform: translateY(-8px);
}

.journey-card i {
    font-size: 45px;
    color: #e83e8c;
    margin-bottom: 15px;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 50px;
    font-weight: 700;
    color: rgba(232, 62, 140, .1);
}

.gallery-img {
    transition: .4s;
}

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

.sewing-cta {
    background: linear-gradient(135deg, #e83e8c, #9c27b0);
}

/* solar */
.solar-timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

.solar-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: #28a745;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    position: relative;
}

.timeline-content i {
    font-size: 40px;
    color: #28a745;
    margin-bottom: 15px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 50%;
    top: 40px;
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.solar-impact-banner {
    background: linear-gradient(135deg, #198754, #28a745);
}

@media(max-width:768px) {

    .solar-timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding-left: 60px;
        padding-right: 15px;
    }

    .timeline-item::after,
    .timeline-item.right::after {
        left: 10px;
    }
}






.solar-hero {
    background: linear-gradient(135deg, #198754, #28a745);
    position: relative;
    overflow: hidden;
}

.solar-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.solar-hero::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}

.solar-hero .container {
    position: relative;
    z-index: 2;
}

.solar-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.solar-icon i {
    font-size: 55px;
    color: #28a745;
}

.solar-hero h1 {
    margin-top: 20px;
    font-weight: 700;
}

.solar-hero p {
    max-width: 700px;
    margin: auto;
}


/* school kit */
.edu-kit-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d6efd, #4f8cff);
    padding: 100px 0;
}

/* Background Circle 1 */
.edu-kit-hero::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -120px;
    left: -120px;
}

/* Background Circle 2 */
.edu-kit-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -100px;
    right: -80px;
}

/* Content above circles */
.edu-kit-hero .container {
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.hero-icon i {
    font-size: 50px;
    color: #0d6efd;
}

.edu-kit-hero h1 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, .2);
}

.edu-kit-hero p {
    max-width: 700px;
    margin: auto;
}

.edu-kit-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d6efd, #4f8cff);
    padding: 80px 0;
}

/* Left Circle */
.edu-kit-cta::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -80px;
    left: -80px;
}

/* Right Circle */
.edu-kit-cta::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -120px;
    right: -100px;
}

.edu-kit-cta .container {
    position: relative;
    z-index: 2;
}

.edu-kit-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.edu-kit-cta p {
    max-width: 700px;
    margin: auto;
    margin-bottom: 30px;
}

.edu-kit-cta .btn {
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
    transition: .3s;
}

.edu-kit-cta .btn:hover {
    transform: translateY(-4px);
}

/* contruction */
.construction-hero {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    padding: 120px 0;
}

.construction-icon {
    width: 120px;
    height: 120px;
    background: #fff;
    color: #ff6f00;
    margin: auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 55px;
}

.construction-note {
    background: #fff3cd;
    padding: 20px;
    border-left: 5px solid #ff9800;
    border-radius: 10px;
    margin-top: 20px;
}

.material-box {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    height: 100%;
}

.material-box i {
    font-size: 45px;
    color: #ff9800;
    margin-bottom: 15px;
}

.impact-section {
    background: #212529;
    color: #fff;
    padding: 80px 0;
}

.impact-box h2 {
    font-size: 3rem;
    color: #ffc107;
}

.construction-cta {
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    padding: 90px 0;
}

/* freezer */
.freezer-box {
    background: linear-gradient(135deg, #495057, #212529);
    padding: 120px 0;
}

.freezer-service-section {
    background: #f8f9fa;
}

.freezer-content-box h2 {
    color: #343a40;
    font-weight: 700;
}

.service-badge {
    background: #343a40;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    font-size: 14px;
}

.freezer-highlight {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #ffffff;
    border-left: 5px solid #6c757d;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

.freezer-highlight i {
    font-size: 35px;
    color: #6c757d;
}

.freezer-feature-card {
    background: #fff;
    text-align: center;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    height: 100%;
    transition: .3s;
}

.freezer-feature-card:hover {
    transform: translateY(-8px);
}

.freezer-feature-card i {
    font-size: 45px;
    color: #495057;
    margin-bottom: 15px;
}

.freezer-feature-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.freezer-cta {
    background: linear-gradient(135deg, #495057, #212529);
}

.freezer-cta i {
    color: #ffffff;
}

/* protest */
.protest-hero {
    background: linear-gradient(135deg, #6f42c1, #9c27b0);
    padding: 120px 0;
}

.protest-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    background: #fff;
    color: #6f42c1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
}

.protest-note {
    background: #f3e8ff;
    border-left: 5px solid #6f42c1;
    padding: 20px;
    border-radius: 12px;
}

.protest-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    height: 100%;
}

.protest-card i {
    font-size: 45px;
    color: #6f42c1;
    margin-bottom: 15px;
}

.protest-cta {
    background: linear-gradient(135deg, #6f42c1, #9c27b0);
    padding: 90px 0;
}

/* runing letters */
.achievement-wrapper {
    width: 80%;
    max-width: 1000px;
    margin: 30px auto;
    /* center */
    background: linear-gradient(90deg, #d32f2f, #ff9800);
    padding: 15px 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    padding-right: 80px;
    flex-shrink: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* contact  */
.contact-highlight-section {
    padding: 80px 0;
    margin-top: 100px;
    background: linear-gradient(135deg, #8B0000, #d32f2f);
}

.contact-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-card h2 {
    color: #8B0000;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-card p {
    color: #555;
    font-size: 18px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.info-box {
    width: 250px;
    padding: 25px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: .3s;
}

.info-box:hover {
    transform: translateY(-8px);
    background: #fff3f3;
}

.info-box i {
    font-size: 35px;
    color: #d32f2f;
    margin-bottom: 15px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #d32f2f;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.contact-btn:hover {
    background: #8B0000;
    color: #fff;
}

/* arch */



/* =========================================
   YOUNG AGE SOCIAL SERVICE CARD
========================================= */

.young-service-section {
    padding-top: 35px !important;
    padding-bottom: 45px !important;
    background: transparent !important;
}

/* Main Card */

.young-service-card {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 55px 40px;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Top Red - Blue - Red Line */

.young-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;

    background: linear-gradient(
        to right,
        #d71920 0%,
        #d71920 33.33%,
        #174ea6 33.33%,
        #174ea6 66.66%,
        #d71920 66.66%,
        #d71920 100%
    );
}

/* =========================================
   ICON
========================================= */

.young-service-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #d71920,
        #174ea6
    );

    color: #ffffff;

    font-size: 30px;

    box-shadow: 0 8px 20px rgba(23, 78, 166, 0.20);
}

/* =========================================
   TITLE
========================================= */

.young-service-title {
    color: #173b75 !important;
    background: transparent !important;
    text-shadow: none !important;

    font-family: 'Noto Serif Tamil',
                 'Noto Sans Tamil',
                 sans-serif;

    font-size: 30px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

/* =========================================
   TITLE LINE
========================================= */

.young-service-line {
    width: 90px;
    height: 4px;

    margin: 15px auto 28px;

    border-radius: 10px;

    background: linear-gradient(
        to right,
        #d71920 0%,
        #d71920 50%,
        #174ea6 50%,
        #174ea6 100%
    );
}

/* =========================================
   CONTENT
========================================= */

.young-service-content p {
    margin-bottom: 18px;

    font-family: 'Noto Sans Tamil',
                 'Noto Serif Tamil',
                 sans-serif;

    font-size: 17px;

    line-height: 2;

    color: #444444;

    text-align: justify;
}

/* =========================================
   HIGHLIGHT TEXT
========================================= */

.young-service-content .young-service-highlight {

    margin-top: 24px;
    margin-bottom: 0;

    padding: 18px 22px;

    background: #f5f7fb;

    border-left: 5px solid #d71920;

    border-radius: 8px;

    color: #173b75;

    font-weight: 700;
}


/* =========================================
   HOVER EFFECT
========================================= */

.young-service-card {
    transition: all 0.3s ease;
}

.young-service-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.young-service-icon {
    transition: transform 0.3s ease;
}

.young-service-card:hover .young-service-icon {
    transform: scale(1.05);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .young-service-section {
        padding-top: 25px !important;
        padding-bottom: 30px !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .young-service-card {
        padding: 35px 20px 28px;

        border-radius: 18px;
    }

    /* Icon */

    .young-service-icon {
        width: 62px;
        height: 62px;

        margin-bottom: 16px;

        font-size: 25px;
    }

    /* Title */

    .young-service-title {
        font-size: 22px;
        line-height: 1.6;
    }

    /* Line */

    .young-service-line {
        width: 70px;
        height: 3px;

        margin-top: 12px;
        margin-bottom: 22px;
    }

    /* Paragraph */

    .young-service-content p {
        font-size: 15px;
        line-height: 1.9;

        text-align: left;

        margin-bottom: 15px;
    }

    /* Highlight */

    .young-service-content .young-service-highlight {
        padding: 15px;

        font-size: 15px;
        line-height: 1.8;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .young-service-card {
        padding: 30px 16px 24px;
    }

    .young-service-title {
        font-size: 20px;
    }

    .young-service-content p {
        font-size: 14px;
        line-height: 1.85;
    }

    .young-service-icon {
        width: 58px;
        height: 58px;
        font-size: 23px;
    }
}

/* =========================================
   PONGAL PREMIUM DESIGN
========================================= */

.pongal-premium-section {
    padding: 55px 0;
}

.pongal-premium-card {
    max-width: 1150px;
    margin: auto;

    background: #ffffff;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.12);

    border: 1px solid #eeeeee;
}


/* =========================================
   HEADER
========================================= */

.pongal-premium-header {
    position: relative;

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 28px 40px;

    background: linear-gradient(
        100deg,
        #d71920 0%,
        #d71920 33%,
        #174ea6 33%,
        #174ea6 67%,
        #d71920 67%,
        #d71920 100%
    );

    color: #ffffff;
}

.pongal-premium-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(255,255,255,0.18);

    border: 2px solid rgba(255,255,255,0.5);

    border-radius: 50%;

    font-size: 28px;
}

.pongal-premium-header h2 {
    margin: 0;

    color: #ffffff !important;

    font-family:
        'Noto Serif Tamil',
        'Noto Sans Tamil',
        sans-serif;

    font-size: 29px;

    font-weight: 800;

    line-height: 1.5;
}

.pongal-premium-header span {
    display: block;

    margin-top: 3px;

    font-size: 15px;

    opacity: 0.9;
}


/* =========================================
   MAIN BODY
========================================= */

.pongal-premium-body {

    display: grid;

    grid-template-columns: 250px 1fr;

    gap: 40px;

    padding: 40px;
}


/* =========================================
   50,000 NUMBER
========================================= */

.pongal-main-number {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    min-height: 220px;

    padding: 25px;

    border-radius: 18px;

    background: #f5f7fb;

    border: 1px solid #e5e9f2;
}

.pongal-main-number strong {

    font-size: 52px;

    font-weight: 900;

    line-height: 1;

    color: #d71920;
}

.pongal-main-number span {

    margin-top: 14px;

    font-family:
        'Noto Sans Tamil',
        sans-serif;

    font-size: 16px;

    line-height: 1.6;

    color: #173b75;

    font-weight: 700;
}


/* =========================================
   CONTENT
========================================= */

.pongal-main-content p {

    margin-bottom: 18px;

    font-family:
        'Noto Sans Tamil',
        'Noto Serif Tamil',
        sans-serif;

    font-size: 17px;

    line-height: 2;

    color: #444;

    text-align: justify;
}


/* =========================================
   ITEMS TITLE
========================================= */

.pongal-items-title {

    margin: 0 40px 18px;

    padding-bottom: 12px;

    border-bottom: 2px solid #eeeeee;

    color: #173b75;

    font-size: 20px;

    font-weight: 800;
}

.pongal-items-title i {
    color: #d71920;

    margin-right: 8px;
}


/* =========================================
   ITEMS
========================================= */

.pongal-items {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 12px;

    padding: 0 40px 30px;
}

.pongal-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 100px;

    border-radius: 14px;

    background: #fafafa;

    border: 1px solid #eeeeee;

    transition: 0.3s ease;
}

.pongal-item i {

    font-size: 25px;

    color: #174ea6;

    margin-bottom: 9px;
}

.pongal-item span {

    font-family:
        'Noto Sans Tamil',
        sans-serif;

    font-size: 14px;

    font-weight: 700;

    color: #333;
}

.pongal-item:hover {

    transform: translateY(-5px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.08);

    border-color: #174ea6;
}


/* =========================================
   BOTTOM MESSAGE
========================================= */

.pongal-bottom-message {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 18px 25px;

    background: #f5f7fb;

    color: #173b75;

    font-family:
        'Noto Sans Tamil',
        sans-serif;

    font-weight: 700;

    text-align: center;
}

.pongal-bottom-message i {

    color: #d71920;

    font-size: 20px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .pongal-premium-section {
        padding: 30px 10px;
    }

    .pongal-premium-header {
        padding: 22px 20px;

        gap: 14px;
    }

    .pongal-premium-icon {
        width: 55px;
        height: 55px;

        font-size: 23px;
    }

    .pongal-premium-header h2 {
        font-size: 21px;
    }

    .pongal-premium-header span {
        font-size: 13px;
    }

    .pongal-premium-body {

        grid-template-columns: 1fr;

        gap: 22px;

        padding: 25px 20px;
    }

    .pongal-main-number {
        min-height: 150px;
    }

    .pongal-main-number strong {
        font-size: 43px;
    }

    .pongal-main-content p {
        font-size: 15px;

        line-height: 1.9;

        text-align: left;
    }

    .pongal-items-title {
        margin: 0 20px 15px;

        font-size: 18px;
    }

    .pongal-items {

        grid-template-columns:
            repeat(3, 1fr);

        padding: 0 20px 25px;

        gap: 10px;
    }

    .pongal-item {
        min-height: 85px;
    }

    .pongal-item i {
        font-size: 21px;
    }

    .pongal-item span {
        font-size: 13px;
    }

    .pongal-bottom-message {
        padding: 16px 15px;

        font-size: 14px;
    }
}

.leader-president {
    max-width: 500px;
    margin: 0 auto 60px;
    padding: 35px 25px;
    background: #fff;
    text-align: center;
    border-radius: 25px;
    border-top: 6px solid #8b0000;
    box-shadow: 0 12px 35px rgba(0,0,0,0.10);
    transition: 0.3s ease;
}

.leader-president:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(139,0,0,0.16);
}

.leader-president-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 22px rgba(139,0,0,0.22);
}

.leader-president-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-president-name {
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 25px;
    font-weight: 800;
    color: #8b0000 !important;
    margin-bottom: 10px;
}

.leader-president-position {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: #fff1f1;
    border: 1px solid #f0cccc;
    color: #a00000;
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 576px) {

    .leader-president {
        margin-bottom: 40px;
        padding: 30px 20px;
    }

    .leader-president-photo {
        width: 100px;
        height: 100px;
    }

    .leader-president-name {
        font-size: 21px;
    }
}

/* =========================================
   HERO SIDE CONTENT
   LOGO WILL NOT BE DISTURBED
========================================= */

.party-name {
    position: relative !important;
}

.hero-side-content {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    z-index: 20 !important;

    color: #fff !important;
    font-family: 'Noto Sans Tamil', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;

    line-height: 1.5 !important;
    text-shadow: 0 2px 6px rgba(0,0,0,.7) !important;

    width: 180px;
}

.hero-left {
    /* top:20px; */
    left: 20px !important;
    text-align: center !important;
}

.hero-right {
    right: 20px !important;
    text-align: center !important;
}


/* TABLET */
@media (max-width: 1100px) {

    .hero-side-content {
        bottom: -150px;
        font-size: 17px !important;
        width: 140px;
    }

    .hero-left {
        left: 10px !important;
    }

    .hero-right {
        right: 10px !important;
    }
}


/* MOBILE */
@media (max-width: 768px) {

    .hero-side-content {
        font-size: 12px !important;
        width: 80px;
    }

    .hero-left {
        left: 2px !important;
    }

    .hero-right {
        right: 2px !important;
    }
}
/* Laptop / Desktop மட்டும் */
@media (min-width: 992px) {
    .hero-side-content {
        top: 10% !important;
        transform: translateY(-50%) !important;
    }
}