:root {
            
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --primary-gradient: rgb(27 168 201 / 20%);
    --secondary-gradient: rgb(27 168 201 / 20%);
    --tertiary-gradient: rgb(27 168 201 / 20%);
    --quaternary-gradient: rgb(27 168 201 / 20%);
    --quinary-gradient: rgb(27 168 201 / 20%);
    --senary-gradient: rgb(27 168 201 / 20%);
     --header-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

html {
    font-family: 'Ubuntu', "Roboto",sans-serif;
    min-height: 100vh;
    color: white;
    margin: 0;
    padding: 0;
   
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;
     background-color:rgb(255 255 255);
}
.telugu-font {
    font-family: "Anek Telugu", sans-serif;
}


#login:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Slight background on hover */
    border-color: #ccc; /* Darken the border slightly on hover */
    cursor: pointer; /* Pointer cursor on hover */
}
.landing-container{
    display: flex;
    padding: 0.8rem 1rem;
    max-width: 70%;
    flex-direction: column;
    align-content: space-between;
    align-items: stretch;
    margin:60px auto;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom:10px;
}
.manifesto{
    border: 1px solid #2e7175;
    width:100%;
    border-radius:10px;
}

.manifesto-container {
    background-image: url('manifestod.jpg');
}

.membership-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom:5px;
    margin-top:10px;
    padding: 0.3rem 0;
   
    position: relative;
    border-radius: 10px;
}
.btn-family {
    text-decoration: none;
     font-family: 'Ubuntu', sans-serif;
    position: relative;
    width: 80%; 
    padding: 0.7rem 0.5rem;  
    margin: 8px 0.8rem;
    border: none;
    border-radius: 8px; /* Reduced border radius */
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    color:yellow;
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3); /* Reduced shadow size */
    overflow: hidden;
    /*text-transform: uppercase;*/
    font-weight: bold;
    text-align: center;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    animation:  blink 1s linear infinite,glowing;
}
@keyframes glowing {
  0% { background-color: #ffa500; box-shadow: 0 0 3px #ffa500; }
  50% { background-color: #ffa500; box-shadow: 0 0 20px #1ddaeb; }
  100% { background-color: #ffa500; box-shadow: 0 0 3px #ffa500; }
}


@keyframes blink {
  0%, 100% {background-color:#ffe08200;}
  50% {background-color: #042827;}
}

@keyframes familyButtonPulse {
    0%, 100% { transform: scale(0.85); }
    50% { transform: scale(1); }
}


@keyframes blinkingEffect {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes crownShine {
    0% { 
        text-shadow: 0 0 5px #ffd700;
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 15px #ff6b6b;
        transform: scale(1.1);
    }
}
.btn-membership.btn-family a {
    color:#FFEB3B;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-membership.btn-family i {
    margin-right: 10px;
    color:yellow;
}
.btn-general i {
    margin-right: 10px;
}

.btn-membership.btn-family:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}


.btn-membership:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
}


.btn-general {
    font-family: 'Ubuntu', sans-serif;
    position: relative;
    width: 80%; 
    padding: 0.7rem 0.5rem; 
    margin: 8px 0.8rem;
    border: none;
    border-radius: 8px; /* Reduced border radius */
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: black;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No animations here */
}

.membership-modal {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 2000;
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.4s ease;
    justify-content: center;
    align-items: center;
}
.membership-modal-content {
    margin-top:0px;
    position: absolute; /* Change from relative to absolute */
    top: 50%;           /* Center vertically */
    left: 50%;          /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust position to center */
    width: 90%;
    max-width: 1000px;
    background: rgb(27 168 201 / 20%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid rgb(27 168 201 / 20%);
    text-align: center;
}

.modal-manifesto{
    border: 1px solid #0061cb;
    width:100%;
    border-radius:10px;
    margin-left:0px;
    margin-bottom:5px;
}

@keyframes softShine {
    0%, 100% { 
        transform: rotate(45deg) translateX(-30%);
        opacity: 0.3;
    }
    50% { 
        transform: rotate(45deg) translateX(30%);
        opacity: 0.6;
    }
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}
.modal-header h3 {
    font-size: 1rem;
    color: white;
    font-family: "Anek Telugu", sans-serif;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0px;
}
    

.modal-close-btn {
    position: absolute;
    top: 10px;  /* Positions from the top */
    right: 10px;  /* Positions from the right */
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;  /* Ensures it's above other content */
}

.modal-close-btn:hover {
    opacity: 1;
}
.modal-header-icon {
    font-size: 1.5rem;
    color: #ffd700;
    margin: 0px 10px 0px 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.modal-actions {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom:5px;
    margin-top:10px;
    padding: 0.3rem 0;
    position: relative;
    border-radius: 10px;
    gap:10px;
}

.modal-btn {
    width:100%;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-btn-family {
    background: linear-gradient(45deg, #ffd700, #ffa500);
    color: #000;
}

.modal-btn-general {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: rgb(55 42 82);
}

.modal-btn i {
    margin-right: 10px;
}

.modal-btn a {
    color: rgb(55 42 82);
}

.family-arrow {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 1.5rem;
    animation: pointArrow 1s infinite alternate;
}

@keyframes pointArrow {
    from { 
        right: -40px;
        transform: translateY(-50%) rotate(-20deg);
    }
    to { 
        right: -50px;
        transform: translateY(-50%) rotate(20deg);
    }
}


.footer {
    margin-top: -60px;
    background-color: #042827;
    color: #f5f5f8;
    font-weight: 500;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 5px;
}

.footer-container {
    display: flex;
    align-items:Center;
    flex-wrap: wrap; /* Allow wrapping to next line */
    justify-content:center; /* Space between items */
    gap: 1.5rem; /* Space between items */
}

/* Individual item styles */
.footer-section {
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f39c12;
}



.footer-section a {

    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px;
}

.footer-section a:hover {
    color: #08005a;
}

.footer-bottom {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #bdc3c7;
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 10px;
}

.footer-bottom a {
    color: #f39c12;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}


    /* Extra Small Devices (Mobile) */
@media screen and (max-width: 480px) {
    .landing-container{
            max-width: 100%;
    }
    .manifesto-container {
        background-image: url('manifestod.jpg');
    }
    .membership-modal-content {
        position: fixed; 
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        max-height: 90vh; /* Limit height to viewport */
        overflow-y: auto; /* Allow scrolling if content is too long */
        margin: 0; /* Remove any margin */
    }

}

/* Small Devices (Tablets) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .landing-container{
            max-width: 95%;
    }
    .membership-container{
        flex-direction:row;
    }
    .manifesto-container {
        background-image: url('manifestod.jpg');
    }
    
}
/* Medium Devices (Laptops) */
@media (min-width: 768px) and (max-width: 1024px) {
    .landing-container{
            padding: 0.8rem 0.8rem;
            max-width: 90%;
    }
    
    .membership-container{
        flex-direction:row;
    }
    .manifesto-container {
        background-image: url('manifestod.jpg');
    }

}

/* Large Devices (Desktops) */

@media (min-width: 1025px) {

    .landing-container{
            max-width: 75%;
    }
    .manifesto {
        width: 100%; 
        height:430px;
     }
  
  .membership-container{
        flex-direction:row;
    }
    .manifesto-container {
        background-image: url('manifestod.jpg');
    }
    .modal-actions {
        flex-direction: row;
        gap: 12px;
    }
         
}
