/* About US */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Brand Colors */
    --primary-orange: #ff6a00;
    --primary-pink: #ee0979;
    --primary-purple: #6a11cb;
    --primary-blue: #2575fc;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f7fb;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    height: 55px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #444;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 5px 10px;
}

nav ul li a:hover {
    color: var(--primary-orange);
    transform: translateY(-2px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #444;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        opacity: 0;
    }

    nav.active {
        display: block;
        transform: translateX(0);
        opacity: 1;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    nav ul li {
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    nav.active ul li {
        opacity: 1;
        transform: translateY(0);
    }

    nav ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    nav ul li:nth-child(2) {
        transition-delay: 0.2s;
    }

    nav ul li:nth-child(3) {
        transition-delay: 0.3s;
    }

    nav ul li:nth-child(4) {
        transition-delay: 0.4s;
    }

    nav ul li:nth-child(5) {
        transition-delay: 0.5s;
    }

    nav ul li:nth-child(6) {
        transition-delay: 0.6s;
    }

    nav ul li:nth-child(7) {
        transition-delay: 0.7s;
    }
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}

.about-section h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease;
}

.about-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mission, Vision, and Values */
.mission-vision {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .mission-vision {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

.mission-vision-card {
    background: var(--white);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mission-vision-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    color: var(--white);
}

.mission-vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-orange);
    position: relative;
    padding-bottom: 10px;
}

.mission-vision-card h3::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.mission-vision-card:hover h3 {
    color: var(--white);
}

.mission-vision-card p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

.mission-vision-card:hover p {
    color: var(--white);
}

/* Our Story Section */
.our-story {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.our-story h2 {
    font-size: 2.4rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.our-story h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.our-story h2:hover::after {
    width: 140px;
}

.our-story p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

/* Detailed Description Section */
.detailed-description {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.detailed-description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink), var(--primary-blue));
}

.detailed-description h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-orange);
    position: relative;
    padding-bottom: 15px;
}

.detailed-description h2::after {
    content: "";
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.detailed-description p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    padding: 0 10px;
}

.detailed-description p:first-of-type {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
}

.detailed-description strong {
    color: var(--primary-orange);
    font-weight: 600;
}

.detailed-description p:nth-child(even) {
    background: linear-gradient(to right, transparent, var(--light-gray), transparent);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
}

.detailed-description p:nth-child(odd):not(:first-of-type) {
    border-left: 4px solid var(--primary-blue);
    padding-left: 15px;
}

@media (max-width: 768px) {
    .detailed-description {
        padding: 30px 15px;
        margin: 20px 15px 30px;
    }
    
    .detailed-description h2 {
        font-size: 1.8rem;
    }
    
    .detailed-description p {
        font-size: 1rem;
        padding: 0 5px;
    }
}

/* Tools Heading */
.tools-heading {
    text-align: center;
    margin: 50px auto 30px;
    animation: fadeInDown 1s ease;
}

.tools-heading h2 {
    font-size: 2.4rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.tools-heading h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.tools-heading h2:hover::after {
    width: 140px;
}

.tools-heading p {
    font-size: 1rem;
    color: #555;
    max-width: 650px;
    margin: 15px auto 0;
    line-height: 1.6;
}

/* Tools Section */
.tools {
    display: grid;
    justify-content: center;
    gap: 25px;
    padding: 20px 40px 50px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 769px) {
    .tools {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .tools {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .tools {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tools {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}

.tool-card {
    background: white;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    color: var(--white);
}

.tool-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.tool-icon {
    font-size: 42px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.tool-card:hover .tool-icon {
    transform: rotate(10deg) scale(1.2);
}

.tool-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--dark);
}

.tool-card:hover h3 {
    color: var(--white);
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--gray);
    flex-grow: 1;
}

.tool-card:hover p {
    color: var(--white);
}

/* Main content wrapper to push footer to bottom */
.main-content {
    flex: 1 0 auto;
    width: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: var(--white);
    padding: 20px 15px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink), #00c4cc);
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.footer-logo img {
    height: 50px;
    transition: transform 0.3s ease;
    border-radius: 8px;
    background: var(--white);
    padding: 5px;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 100%;
    opacity: 0.9;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.footer-heading:hover::after {
    width: 50px;
}

.footer-tools ul,
.footer-quick-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-tools ul li a,
.footer-quick-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-tools ul li a:hover,
.footer-quick-links ul li a:hover {
    opacity: 1;
    color: #ffcc00;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    justify-content: center;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.footer-social a:hover {
    transform: translateY(-3px);
    color: var(--white);
}

.footer-social a:hover::after {
    transform: scale(1);
}

.footer-social a i {
    transition: transform 0.3s ease;
}

.footer-social a:hover i {
    transform: scale(1.2);
}

.footer-contact {
    margin-top: 15px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-contact i {
    margin-right: 8px;
    color: #ffcc00;
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    grid-column: 1 / -1;
}

.footer-bottom p {
    margin-bottom: 12px;
    opacity: 0.9;
    width: 100%;
}

.footer-legal {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
    font-size: 0.85rem;
    position: relative;
    white-space: nowrap;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: #ffcc00;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: #ffcc00;
}

.footer-legal a:hover::after {
    width: 100%;
}

.footer-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 8s infinite ease-in-out;
}

.footer-bubble:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.footer-bubble:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 8%;
    animation-delay: 1s;
}

.footer-bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    top: 30%;
    right: 5%;
    animation-delay: 2s;
}

.footer-bubble:nth-child(4) {
    width: 30px;
    height: 30px;
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

.footer-newsletter {
    margin-top: 15px;
    width: 100%;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.newsletter-input {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 14px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.5);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
}

@media (min-width: 769px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-bottom {
        grid-column: 1 / span 4;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
        height: 40px;
    }

    .footer-heading {
        font-size: 1.1rem;
    }

    .footer-tools ul,
    .footer-quick-links ul {
        grid-template-columns: 1fr;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .footer-contact p {
        font-size: 0.8rem;
    }

    .footer-contact i {
        font-size: 14px;
    }

    .footer-legal a {
        font-size: 0.8rem;
    }

    .newsletter-input,
    .newsletter-btn {
        padding: 8px 12px;
        font-size: 12px;
        max-width: 200px;
    }
}

.brand-highlight {
    color: var(--primary-orange);
    font-weight: 700;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .about-section h1 {
        font-size: 2.2rem;
    }
    
    .about-section p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .mission-vision-card {
        padding: 20px;
    }
    
    .our-story h2,
    .tools-heading h2 {
        font-size: 2rem;
    }
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}