/* Main Styles for About Page */

:root {
    --primary-color: #0e67b4;
    --secondary-color: #333;
    --light-bg: #e0f0ff;
    --white: #ffffff;
    --dark: #333;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* .container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
} */

/* Header Styles */
/* .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.sticky {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.5s forwards;
} */

@keyframes fadeInDown {
    from {
        opacity: 0.8;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.logo {
    width: 80px;
    margin-right: 60px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation Menu */


/* Mega Menu */
/* .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 940px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid #eee;
    transform: translateY(10px);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-row {
    display: flex;
    padding: 0;
}

.mega-menu-column {
    flex: 1;
    padding: 30px;
}

.menu-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0;
    border-radius: 0;
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateX(5px);
}

.menu-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
}

.menu-item:hover .menu-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.menu-content {
    flex: 1;
}

.menu-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.menu-item:hover .menu-title {
    color: var(--primary-color);
}

.menu-desc {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
} */

/* Regular Dropdown */
/* .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid #eee;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.dropdown-item i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #666;
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: var(--primary-color);
}

.dropdown-item span {
    font-size: 14px;
    transition: color 0.3s ease;
}

.dropdown-item:hover span {
    color: var(--primary-color);
} */

/* Mobile Menu */
/* .hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    bottom: 9px;
    transform: rotate(-45deg);
} */

/* Story Section */
.story-section {
    padding: 90px;
    background-color: #eaf8f5;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    /* margin-top: 80px; /* Account for fixed header */
}

.mission-container{
    align-items: center;
}

.mission-header .section-title, .vision-header .section-title{
    text-align: start;
}

.mission-vision .container{
    padding: 0px 90px;
}

.about-section .container{
    padding: 0px 90px;
}

.story-section .container {
    padding: 0 15px;
}

.story-content {
    text-align: center;
    padding-top: 80px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.story-content .section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.story-description {
    max-width: 600px;
    margin: 0 auto;
}

.story-description p {
    font-size: 16px;
    line-height: 1.6;
}

.story-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    position: relative;
    width: 100%;
    height: calc(100vh - 250px);
    min-height: 500px;
}

/* Image styling */
.image {
    position: absolute;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    z-index: 5;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Specific image positioning */
.image-top-left {
    top: 0;
    left: 0;
    width: 250px;
    height: 200px;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.image-mid-left {
    top: 25%;
    left: 15%;
    width: 300px;
    height: 250px;
    transform: translateX(-100px);
    transition: all 1.2s ease-out;
}

.image-bottom-left {
    bottom: 5%;
    left: 0;
    width: 250px;
    height: 200px;
    transform: translateX(-100px);
    transition: all 1.4s ease-out;
}

.image-right {
    top: 20%;
    right: 15%;
    width: 300px;
    height: 300px;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

/* Decorative elements */
.rectangle {
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: all 1.5s ease-out;
}

.rectangle-blue {
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background-color: #0e67b4;
    transform: translateY(-50px);
}

.rectangle-black {
    top: 20%;
    right: 20%;
    width: 60px;
    height: 60px;
    background-color: #222;
    transform: translateX(50px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    animation: bounce 2s infinite;
    z-index: 10;
}

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

/* Active states for animations */
.image.active {
    opacity: 1;
    transform: translate(0);
}

.rectangle.active {
    opacity: 1;
    transform: translate(0);
}

.scroll-indicator.active {
    opacity: 1;
}

/* Who We Are Section */
.who-we-are {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    z-index: 1;
}

.who-we-are .section-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-tag {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.section-description {
    max-width: 100%;
    animation: fadeIn 1.2s ease-out;
}

.section-description p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.quote {
    font-style: italic;
    color: #666;
    border-left: 3px solid #0e67b4;
    padding-left: 15px;
    margin: 30px 0;
}

/* Mission and Vision Section */
.mission-vision {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.mission-container, .vision-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    opacity: 1; /* Changed from 0 to make visible by default */
    transform: translateY(0); /* Changed from 30px to make visible */
    transition: all 0.8s ease-out;
}

.mission-header, .vision-header {
    width: 30%;
    padding-right: 20px;
}

.mission-content, .vision-content {
    width: 65%;
    padding-left: 10px;
}

.mission-content p, .vision-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.section-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.mission-header .section-title, .vision-header .section-title {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

/* Footer Links Section */
.footer-links {
    padding: 60px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.links-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.links-column ul li {
    margin-bottom: 10px;
}

.links-column ul li a {
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.links-column ul li a:hover {
    color: #0e67b4;
}

/* Contact Buttons */
.contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background-color: #0e67b4;
}

.email-btn {
    background-color: #e74c3c;
}

.whatsapp-btn {
    background-color: #25d366;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: #0e67b4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0954a1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .image-top-left {
        width: 220px;
        height: 180px;
    }
    
    .image-mid-left {
        width: 260px;
        height: 220px;
    }
    
    .image-bottom-left {
        width: 220px;
        height: 180px;
    }
    
    .image-right {
        width: 260px;
        height: 260px;
    }
}

@media screen and (max-width: 992px) { 
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
    }
    
    .mega-menu, .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        padding: 0;
        margin-left: 20px;
        margin-top: 10px;
        display: none;
    }
    
    .nav-item:hover .mega-menu, .nav-item:hover .dropdown {
        display: block;
    }
    
    .mega-menu-row {
        flex-direction: column;
    }
    
    .mega-menu-column {
        padding: 15px 0;
    }
    
    .mission-container, .vision-container {
        flex-direction: column;
    }
    
    .mission-header, .vision-header, 
    .mission-content, .vision-content {
        width: 100%;
    }
    
    .mission-header, .vision-header {
        margin-bottom: 20px;
        padding-right: 0;
    }
    
    .mission-content, .vision-content {
        padding-left: 0;
    }
    
    .story-content .section-title {
        font-size: 36px;
    }
    
    .image-top-left {
        width: 200px;
        height: 150px;
    }
    
    .image-mid-left {
        width: 220px;
        height: 180px;
    }
    
    .image-bottom-left {
        width: 200px;
        height: 150px;
    }
    
    .image-right {
        width: 250px;
        height: 250px;
    }
    
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .logo {
        margin-right: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .story-content .section-title {
        font-size: 30px;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-images {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 800px;
    }
    
    .image-top-left, .image-mid-left, .image-bottom-left, .image-right {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 80%;
        margin: 20px auto;
    }
    
    .rectangle {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        right: 10px;
    }
    
    .contact-btn {
        width: 40px;
        height: 40px;
    }
}
/* FOOTER */
/* Footer Links Section */
.footer-links {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.links-column {
    flex: 1;
    min-width: 200px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #0e67b4;
}

/* Main Footer */
.main-footer {
    background-color: #0e67b4;
    color: #ffffff;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 80px;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: white;
    color: #0e67b4;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-legal a:hover {
    opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .links-container {
        gap: 40px;
    }
    
    .links-column {
        min-width: calc(33.333% - 30px);
    }
}

@media screen and (max-width: 768px) {
    .links-column {
        min-width: calc(50% - 20px);
    }

    .story-section{
        padding: 40px 10px;
    }

    .mission-vision .container{
        padding: 15px 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .links-container {
        flex-direction: column;
    }
    
    .links-column {
        width: 100%;
    }
    
    .footer-nav li {
        margin-bottom: 15px;
    }
}