:root {
    --primary: #2c3e50;
    --secondary: #0A3278;
    --accent: #F16136; 
    --light: #ecf0f1;
   
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
    /* padding-top removed */
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 18px;
}

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

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

.pulse {
    animation: pulse 2s infinite;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/Images/5_aboutus-img/aboutus1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    text-align: center;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    margin: 0 auto;
}

.hero h1 {
    font-family: inter,sans-serif;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 25px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-btn {
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn {
    background-color: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
}

.primary-btn:hover {
    background-color: transparent;
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: white;
    color: var(--secondary);
}

/* Responsive styles for tablet */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Responsive styles for mobile */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn {
        width: 100%;
        padding: 10px 20px;
    }
}

/* Section styles */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section:nth-child(odd) {
    background-color: white;
}

.section:nth-child(even) {
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* Story section */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.story-content.reveal {
    transform: translateY(0);
    opacity: 1;
}

/* Mission section */
.mission-box {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--secondary);
}

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

.mission-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-box h3 i {
    color: black;
}

/* Features section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
    transform: scaleY(0.15);
}

.feature-card:hover .feature-icon i {
    color: var(--accent);
    transform: rotateY(360deg);
}

.feature-card:hover h3 {
    color: var(--accent);
}

.feature-icon {
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--secondary);
    transition: all 0.5s ease;
}

/*footer section*/

.complete-footer {
    width: 100%;
    height: 1100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.complete-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.14) 100%), 
                linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 100%) 60.59%, #000 100%);
    z-index: 1;
}

.complete-footer::after {
    content: "";
    position: absolute;
    top: -800px; 
    left: 0;
    width: 100%;
    height: 150%;
    background: url('/Images/footer-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.foot-logo {
    height: 100px;
    width: 460px;
    position: relative;
    top: 500px;
    left: 130px;
    z-index: 3;
}

.foot-logo img {
    max-width: 100%;
    height: auto;
}

.foot-links {
    height: 300px;
    width: 1000px;
    position: relative;
    top: 550px;
    left: 145px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
}

h4 {
    margin-bottom: 10px;
}

.link1 {
    height: 250px;
    width: 310px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1 0 0;
}

.address {
    height: 150px;
}

.helplines {
    height: 90px;
}

.link2 {
    height: 250px;
    width: 310px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    gap: 10px;
}

.link3 {
    height: 250px;
    width: 310px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}
.link2 a:hover, .link3 a:hover {
    color: #FAA831 !important;
}
.social {
    width: 200px;
    height: 30px;
    color: black;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social i {
    color: grey;
}

.fb:hover {
    color: #3D5A98;
    transition: 0.2s ease-in-out;
}
.in:hover {
    color: #0A66C2;
    transition: 0.2s ease-in-out;
}
.yt:hover {
    color: #FF0000;
    transition: 0.2s ease-in-out;
}

.ig {
    color: gray; 
    transition: all 0.3s ease-in-out;
}

.ig:hover {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.foot-copyright {
    height: 70px;
    width: 100%;
    border-top: 1px solid white;
    padding: 0px 145px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.copyright {
    height: 40px;
    display: flex;
    align-items: center;
}

.terms {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.terms a:hover {
    color: #FAA831 !important;
}

@media screen and (max-width: 1200px) {
    .foot-links {
        width: 90%;
        left: 5%;
        gap: 50px;
    }
    
    .foot-logo {
        left: 5%;
        width: 400px;
    }
    
    .foot-copyright {
        padding: 0 5%;
    }
}

@media screen and (max-width: 992px) {
    .foot-links {
        flex-wrap: wrap;
        height: auto;
        top: 450px;
        gap: 40px;
    }
    
    .foot-logo {
        top: 400px;
        width: 350px;
    }
    
    .link1, .link2, .link3 {
        width: 45%;
    }
    
    .complete-footer {
        height: 1200px;
    }
}

@media screen and (max-width: 768px) {
    .foot-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        top: 400px;
    }
    
    .foot-logo {
        top: 350px;
        width: 300px;
    }
    
    .link1, .link2, .link3 {
        width: 100%;
        height: auto;
    }
    
    .complete-footer {
        height: 1400px;
    }
    
    .complete-footer::after {
        top: -600px;
    }
    
    .foot-copyright {
        flex-direction: column;
        height: auto;
        padding: 15px 5%;
    }
    
    .copyright, .terms {
        height: auto;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .foot-logo {
        width: 90%;
        left: 5%;
        top: 300px;
    }
    
    .foot-links {
        top: 350px;
    }
    
    h4 {
        font-size: 16px;
    }
    
    p, a {
        font-size: 14px;
    }
    
    .social {
        width: 160px;
    }
    
    .social i {
        font-size: 18px !important;
    }
    
    .complete-footer {
        height: 1350px;
    }
    
    .complete-footer::after {
        top: -500px;
    }
    
    .terms {
        gap: 10px;
    }
}

@media screen and (max-width: 400px) {
    .complete-footer {
        height: 1300px;
    }
    
    .complete-footer::after {
        top: -400px;
    }
    
    .foot-logo {
        top: 250px;
    }
    
    .foot-links {
        top: 300px;
    }
}