/* Base Styles */
:root {
    --primary-color: #385ca4;
    --secondary-color: #e03c4c;
    --accent-color: #F5F5F7;
    --text-color: #333;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Flex', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #2c4a8c;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #c93543;
    transform: translateY(-2px);
}

/* Link Styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Flex', sans-serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
.p-4 { padding: 4rem; }

/* About Page Specific Styles */

/* About Hero Section with reduced blue saturation */
.about-hero {
    background: linear-gradient(rgba(56, 92, 164, 0.65), rgba(56, 92, 164, 0.65)),
                url('images/aboutusnew.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.about-hero h1 {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-hero p {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    opacity: 0.9;
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.mission-content h2 {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.mission-content p {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

/* What We Do Section */
.what-we-do {
    padding: 5rem 0;
    background-color: var(--accent-color);
}

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

.what-we-do h2 {
    font-family: 'Roboto Flex', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.what-we-do > .container > p {
    font-family: 'Roboto Flex', sans-serif;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(56, 92, 164, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(56, 92, 164, 0.2);
}

.service-card h3 {
    font-family: 'Roboto Flex', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    font-family: 'Roboto Flex', sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
    font-weight: 400;
}

/* Service Card Icon Styles */
.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(224, 60, 76, 0.1); /* Light red background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

/* Vision Section */
.vision-section {
    background-color: var(--primary-color);
    padding: 5rem 0;
    color: var(--white);
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.vision-content h2 {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.vision-content p {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Contact CTA Section */
.contact-cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(56, 92, 164, 0.97), rgba(56, 92, 164, 0.97)),
                url('pattern-bg.png') center/cover;
    text-align: center;
    color: var(--white);
}

.contact-cta .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-cta h2 {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-cta p {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button, .secondary-button {
    font-family: 'Roboto Flex', sans-serif;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(224, 60, 76, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 60, 76, 0.4);
    background: #c93543;
}

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

.secondary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.why-choose-us h2 {
    font-family: 'Roboto Flex', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--accent-color);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(56, 92, 164, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(56, 92, 164, 0.2);
}

.benefit-card h3 {
    font-family: 'Roboto Flex', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.benefit-card p {
    font-family: 'Roboto Flex', sans-serif;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .about-hero p {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Footer Styles */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    padding: 0 1rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Roboto Flex', sans-serif;
}

.footer-section a:hover {
    color: var(--white);
}

.company-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-family: 'Roboto Flex', sans-serif;
}

/* Updated Social Links Styles */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.social-links a i {
    font-size: 1.2rem;
    color: var(--white);
}

/* Specific social media brand colors on hover */
.social-links a:hover {
    transform: translateY(-3px);
}

.social-links a[aria-label="LinkedIn"]:hover {
    background: #0077b5;
}

.social-links a[aria-label="Twitter"]:hover {
    background: #1DA1F2;
}

.social-links a[aria-label="Facebook"]:hover {
    background: #1877f2;
}

.social-links a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-family: 'Roboto Flex', sans-serif;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto Flex', sans-serif;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--white);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-info {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
    }
}


/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hero Section */
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }

    /* Mission Section */
    .mission-content {
        padding: 0 1rem;
    }

    .mission-content h2 {
        font-size: 2rem;
    }

    /* What We Do Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    /* Vision Section */
    .vision-content {
        padding: 0 1rem;
    }

    .vision-content h2 {
        font-size: 2rem;
    }

    /* Why Choose Us Section */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    /* Contact CTA Section */
    .contact-cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button, .secondary-button {
        width: 100%;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: all 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-trigger {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
        background: rgba(56, 92, 164, 0.05);
    }

    .dropdown-content.active {
        display: block;
    }

    .nested-dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
        background: rgba(56, 92, 164, 0.05);
    }

    .nested-dropdown-content.active {
        display: block;
    }

    /* Hamburger Menu */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger-menu span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--secondary-color);
    }

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

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--secondary-color);
    }

    .login-btn {
        display: none;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #c93543;
    transform: translateY(-3px);
}

/* For mobile devices */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
} 