/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-color: #007bff;
    --secondary-color: #004080;
    --background-color: #f9f9f9;
    --text-color: #333;
    --white-color: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

h1, h2, h3 {
    font-weight: 700;
    color: var(--secondary-color);
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background var(--transition-speed), transform var(--transition-speed);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}
.btn:hover {
    background: #0056b3;
    transform: translateY(-5px);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Header & Navigation Improvements --- */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === NEW LOGO STYLES START HERE === */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo-container:hover {
    transform: scale(1.05); /* Simple zoom animation on hover */
}
.logo-img {
    height: 45px; /* Adjust the height of your logo */
    margin-right: 12px;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}
/* === NEW LOGO STYLES END HERE === */

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}


.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-links a {
    color: var(--text-color);
    padding: 10px 15px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color var(--transition-speed);
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease-out;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.cta-button {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px 22px;
    border-radius: 50px;
}
.cta-button:hover {
    color: var(--white-color);
    background: #0056b3;
    transform: scale(1.05);
}
.cta-button::after { display: none; }
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* --- Hero Slider Section --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 0; /* Override section padding */
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.slide.active { opacity: 1; }
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white-color);
    text-align: center;
    width: 90%;
    max-width: 800px;
}
.slide-content h1 {
    font-size: 3.8rem;
    color: var(--white-color);
    margin-bottom: 20px;
}
.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: var(--white-color);
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-nav:hover { background: rgba(0, 123, 255, 0.7); }
.slider-nav.prev { left: 30px; }
.slider-nav.next { right: 30px; }
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.dot.active { background: var(--white-color); }

/* --- General Section & Card Styles --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background: var(--white-color);
    padding: 35px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.card .icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* --- About & Contact Page Specifics --- */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}
.about-content img {
    max-width: 45%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.contact-form { max-width: 800px; margin: auto; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* --- Footer --- */
.footer {
    background-color: #1c2833;
    color: #aeb6bf;
    padding: 60px 0 30px 0;
    margin-top: 50px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    text-align: left;
}
.footer-col h4 {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: #aeb6bf;
    text-decoration: none;
    transition: all var(--transition-speed);
}
.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}
.social-links { margin-top: 15px; }
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    margin: 0 10px 10px 0;
    border-radius: 50%;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 30px;
}

/* --- Responsive Design (MOBILE) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: var(--white-color);
        position: absolute;
        top: 80px;
        left: 0;
        padding: 10px 0;
        box-shadow: var(--shadow);
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: left; }
    .nav-links li a {
        display: block;
        padding: 15px 25px;
        width: 100%;
    }
    .nav-links li a.cta-button {
        display: inline-block;
        width: auto;
        margin: 10px 25px;
    }
    .nav-links a:hover, .nav-links a.active { background-color: #f0f8ff; }
    .nav-links a::after { display: none; }
    .menu-toggle { display: block; }
    .slide-content h1 { font-size: 2.5rem; }
    .slide-content p { font-size: 1.1rem; }
    .slider-nav { display: none; }
    .about-content { flex-direction: column; }
    .about-content img { max-width: 100%; }
}
/* --- NEW STYLES FOR HOME PAGE SECTIONS --- */

/* Stats Section */
/* Stats Section */
.stats-section {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 40px 0; /* Reduced padding to make the box smaller */
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 3.5rem;
    color: var(--white-color);
    margin-bottom: 5px;
}
.stat-item p {
    font-size: 1.1rem;
    color: #ccc;
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.testimonial-card {
    background: #eef7ff;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}
.client-info {
    display: flex;
    align-items: center;
}
.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}
.client-info h4 {
    margin: 0;
    font-size: 1.2rem;
}
.client-info span {
    color: #555;
}

/* Call to Action Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 60px 30px;
    border-radius: 15px;
}
.cta-section h2 {
    color: var(--white-color);
    font-size: 2.2rem;
}
.cta-section p {
    max-width: 600px;
    margin: 15px auto 30px;
    opacity: 0.9;
}
.cta-section .btn {
    background: var(--white-color);
    color: var(--primary-color);
}


/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
/* --- NEW STYLES FOR FOOTER CONTACT LINKS --- */

/* Styles for text links (Email and Phone) */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #aeb6bf;
    text-decoration: none;
    transition: all var(--transition-speed);
    margin-bottom: 10px;
}
.contact-link:hover {
    color: var(--primary-color);
}

/* Ensure Font Awesome icons in .social-links look consistent */
.social-links .fas {
    font-family: 'Font Awesome 6 Free'; /* Ensures correct font is used */
    font-weight: 900;
}

/* Specific color for WhatsApp icon on hover */
.social-links a.fa-whatsapp:hover {
    background-color: #25D366; /* WhatsApp green */
}