/* Base Styles */
:root {
    --primary-color: #002366;
    --secondary-color: #FF7F11;
    --accent-color: #E8D5B5;
    --text-color: #333333;
    --light-text: #ffffff;
    --gray-bg: #f5f5f5;
    --dark-gray: #555555;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background-color: var(--primary-color);
    padding: 10px 0;
}

.main-header.scrolled a {
    color: var(--light-text);
}

.main-header.scrolled a:hover {
    color: var(--secondary-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(215, 220, 227, 0.7), rgba(1, 7, 20, 0.7)),
                url('assets/ASRFS.png') no-repeat center center/cover;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    padding-top: 80px;
}


.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.bubbles span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: -60px;
    animation: rise 20s infinite ease-in;
    z-index: 1;
}

.bubbles span:nth-child(1) {
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.bubbles span:nth-child(2) {
    left: 20%;
    width: 25px;
    height: 25px;
    animation-duration: 18s;
    animation-delay: 2s;
}

.bubbles span:nth-child(3) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.bubbles span:nth-child(4) {
    left: 40%;
    width: 15px;
    height: 15px;
    animation-duration: 16s;
    animation-delay: 0s;
}

.bubbles span:nth-child(5) {
    left: 50%;
    animation-duration: 20s;
    animation-delay: 3s;
}

.bubbles span:nth-child(6) {
    left: 60%;
    width: 18px;
    height: 18px;
    animation-duration: 14s;
    animation-delay: 1s;
}

.bubbles span:nth-child(7) {
    left: 70%;
    animation-duration: 22s;
    animation-delay: 2s;
}

.bubbles span:nth-child(8) {
    left: 80%;
    width: 22px;
    height: 22px;
    animation-duration: 17s;
    animation-delay: 0s;
}

.bubbles span:nth-child(9) {
    left: 90%;
    animation-duration: 19s;
    animation-delay: 1s;
}

.bubbles span:nth-child(10) {
    left: 95%;
    width: 12px;
    height: 12px;
    animation-duration: 16s;
    animation-delay: 4s;
}





@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
        transform: translateY(-50vh) scale(1.2);
    }
    100% {
        transform: translateY(-100vh) scale(0.8);
        opacity: 0;
    }
}


.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave {
    position: relative;
    display: block;
    width: 200%;
    height: 100px;
    animation: waveFlow 10s linear infinite;
}

.wave path {
    fill: #1ca3ec; /* water-like blue */
}

@keyframes waveFlow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-images {
    flex: 1;
}

.img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.img-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.img-grid img:hover {
    transform: scale(1.03);
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Mission/Vision Section */
.mission-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.mission-container {
    display: flex;
    gap: 30px;
}

.vision-box, .mission-box {
    flex: 1;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-box {
    background-color: rgba(255, 255, 255, 0.1);
}

.mission-box {
    background-color: rgba(232, 213, 181, 0.1);
}

.vision-box::before, .mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 0;
}

.vision-box .icon, .mission-box .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.vision-box h3, .mission-box h3 {
    position: relative;
    z-index: 1;
}

.vision-box p, .mission-box p {
    position: relative;
    z-index: 1;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
}

.testimonial {
    text-align: center;
    padding: 30px;
    background-color: var(--light-text);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial .stars {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial span {
    font-weight: 600;
    color: var(--primary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-controls button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    color: var(--secondary-color);
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.contact-info {
    flex: 1;
    padding: 30px;
    background-color: var(--gray-bg);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 127, 17, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-col .info-item {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col .info-item i {
    color: var(--secondary-color);
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 150px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

@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);
    }
}


/* Page Hero */
.page-hero {
    background: linear-gradient(rgba(0, 35, 102, 0.7), rgba(0, 35, 102, 0.7)), url('../images/about-hero.jpg') no-repeat center center/cover;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    padding-top: 80px;
}

.page-hero .container {
    max-width: 800px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.page-hero p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease;
}

/* About Page Styles */
.about-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    margin: 50px 0;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.values-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: var(--light-text);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--accent-color);
}

.team-member h3 {
    color: var(--primary-color);
}

.team-member p {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Services Page Styles */
.service-detail {
    display: flex;
    gap: 50px;
    align-items: center;
    margin: 80px 0;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-content {
    flex: 1;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.service-features i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary-color);
}

.pricing-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--light-text);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-container {
    flex: 1;
    padding: 40px;
    background-color: var(--gray-bg);
    border-radius: 8px;
}

.contact-info-container {
    flex: 1;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-hours {
    margin: 40px 0;
}

.contact-hours h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-hours li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.social-media h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-section {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: var(--light-text);
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    transition: all 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background-color: var(--light-text);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
    font-size: 1.1rem;
    padding: 15px 40px;
}

.cta-section .btn:hover {
    background-color: var(--light-text);
    color: var(--secondary-color);
}


/* Tablet and Below */
@media (max-width: 992px) {
    /* General adjustments */
    .section-title {
        font-size: 2.2rem;
    }

    /* About Page */
    .about-grid {
        flex-direction: column;
    }

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

    /* Services Page */
    .service-detail, 
    .service-detail.reverse {
        flex-direction: column;
    }

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

    /* Contact Page */
    .contact-container {
        flex-direction: column;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Header adjustments */
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 999;
    }

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

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav li {
        margin: 15px 0;
        text-align: center;
    }

    .main-nav a {
        color: var(--light-text);
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--primary-color);
        font-size: 1.5rem;
    }

    .main-header.scrolled .mobile-menu-btn {
        color: var(--light-text);
    }

    /* Page Hero adjustments */
    .page-hero {
        height: 50vh;
        min-height: 300px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    /* About Page */
    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Services Page */
    .service-detail {
        margin: 40px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Contact Page */
    .contact-form-container {
        padding: 20px;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 15px;
    }

    .map-container iframe {
        height: 300px;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* General adjustments */
    .section-title {
        font-size: 1.8rem;
    }

    .btn, .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Page Hero */
    .page-hero h1 {
        font-size: 1.6rem;
    }

    /* About Page */
    .about-text h2 {
        font-size: 1.4rem;
    }

    /* Services Page */
    .service-content h2 {
        font-size: 1.4rem;
    }

    /* Contact Page */
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Touch feedback for mobile */
.touch-active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Disable hover effects on mobile */
.mobile-device .service-card:hover,
.mobile-device .value-card:hover,
.mobile-device .team-member:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Larger tap targets */
@media (max-width: 768px) {
    .btn, .btn-outline {
        padding: 15px 25px;
    }
    
    .main-nav a {
        padding: 15px;
        display: block;
    }
    
    input, select, textarea {
        font-size: 16px; /* Prevent zooming on focus */
    }
}



/* Mobile Specific Styles (index.html) */
@media (max-width: 768px) {
    /* Prevent scrolling when menu is open */
    body.no-scroll {
        overflow: hidden;
        height: 100vh;
    }
    
    /* Hero section adjustments */
    .hero {
        height: 80vh;
        min-height: 500px;
        padding-top: 70px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* About section */
    .about-content {
        flex-direction: column;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mission/Vision boxes */
    .mission-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .vision-box, .mission-box {
        padding: 30px;
    }
    
    /* Testimonials */
    .testimonials-slider {
        padding: 0 15px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    /* Contact section */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-top: 40px;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn, .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    /* Service cards */
    .service-card {
        padding: 20px;
    }
    
    /* Contact form */
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on focus */
    }
}


/* Mobile Menu Styles */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 0;
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        color: white;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }
    
    /* Header adjustments */
    .main-header .container {
        padding: 15px 0;
    }
    
    .logo img {
        height: 40px;
    }
}

/* Touch-friendly elements */
button, a, input, select, textarea {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Prevent layout shift on mobile */
html {
    overflow-x: hidden;
}


/* ==================== */
/* Mobile Responsiveness */
/* ==================== */

@media (max-width: 992px) {
    /* Tablet styles */
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .img-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    
    .mission-container {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    /* Mobile menu styles */
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        color: white;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
    }
    
    /* Hero section */
    .hero {
        height: 70vh;
        padding-top: 70px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Testimonials */
    .testimonials-slider {
        padding: 0 15px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Bubble animation adjustment */
    .bubbles span {
        width: 15px;
        height: 15px;
    }
    
    /* Wave adjustment */
    .wave-container {
        height: 80px;
    }
}

@media (max-width: 480px) {
    /* Small mobile devices */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn, .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    /* Mission/Vision boxes */
    .vision-box, .mission-box {
        padding: 30px 20px;
    }
    
    /* Contact info */
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Footer links */
    .footer-col ul {
        text-align: center;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Disable animations on very small devices */
    .bubbles span {
        display: none;
    }
}

/* ======================= */
/* Mobile-Specific Fixes */
/* ======================= */

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Better touch targets */
button, a, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

/* Disable hover effects on mobile */
@media (hover: none) {
    .service-card:hover, 
    .btn:hover, 
    .btn-outline:hover {
        transform: none !important;
    }
}

/* Prevent zoom on input focus */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px;
    }
}

/* Mobile menu toggle animation */
.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i.fa-bars {
    transform: rotate(90deg);
}

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}


/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none; /* Hidden by default */
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 1001;
}

.main-header.scrolled .mobile-menu-btn {
    color: var(--light-text);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-color);
        padding-top: 80px;
        transition: all 0.5s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .main-nav a {
        color: var(--light-text);
        font-size: 1.2rem;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .main-header.scrolled .mobile-menu-btn {
        color: var(--light-text);
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .main-nav a {
        color: var(--light-text);
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Prevent scrolling when menu is open */
    body.no-scroll {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}