@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background-color: white;
}

.background {
    background: url('img/bulb-background.jpg') no-repeat center center/cover;
    color: white;
    height: 90vh;
}

/* HEADER STYLING */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(0, 0, 0, 0.7);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    color: white;
    font-size: 24px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #42a5f5;
}

/* HAMBURGER MENU (Hidden by Default) */
.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-end;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 70px;
        right: 0;
        text-align: right;
    }

    .nav-links li {
        margin: 15px 20px;
    }

    .hamburger {
        display: block;
    }

    /* Show menu when active */
    .nav-active {
        display: flex;
    }
}

/* HERO SECTION */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-left: 60%;
    background: rgba(0, 0, 0, 0.5);
}

.hero h3 {
    font-size: 18px;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 42px;
    font-weight: bold;
    margin: 20px 0;
}

/* CONTACT SECTION */
.contact {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-size: 22px;
}

.call-icon {
    font-size: 30px;
    margin-right: 10px;
    background: blue;
    padding: 10px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-section {
    width: 100%;
    padding: 50px 5%;
    background: #f8f8f8;
}

/* Grid Layout */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px;
    text-align: center;
    width: 100%;
    padding: 20px;
}

/* Box Styling */
.info-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.info-box:hover {
    transform: scale(1.05);
}

.info-box img {
    width: 60px;
    max-width: 100%;
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/*---------------------------*/
.info-content {
    display: flex;
    width: 100%; /* Increased width */
    margin: auto;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.info-text {
    flex: 1;
    padding: 80px;
    background: white;
    text-align: left; /* Left-aligned */
}

.info-text h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: left;
}

.info-text p {
    font-size: 18px;
    margin-top: 10px;
    color: #333;
    text-align: justify; /* Justified text */
}

.info-stats {
    flex: 1;
    padding: 60px;
    background: #007bff;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
        .info-stats div {
            text-align: center;
            margin-bottom: 20px;
        }
        .info-stats h2 {
            font-size: 36px;
            font-weight: bold;
        }
        .info-stats p {
            font-size: 18px;
        }

        .testimonials-section {
        padding: 50px 5%;
        background: #f8f8f8;
        text-align: center;
    }
    .testimonials-title {
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 30px;
    }
    .testimonials-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .testimonial {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: calc(50% - 20px); /* Ensures two testimonials per row */
        text-align: left;
    }
    
        .testimonial p {
        font-size: 16px;
        color: #333;
        line-height: 1.6;
    }
    .testimonial-author {
        display: flex;
        align-items: center;
        margin-top: 20px;
    }
    .testimonial-author img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 10px;
    }
    .testimonial-author p {
        font-size: 14px;
        color: #666;
    }
    /* For smaller screens, make them stack */
    @media (max-width: 768px) {
        .testimonials-container {
            flex-direction: column;
        }
        .testimonial {
            width: 100%;
        }
    }

/* FOOTER SECTION */
.footer {
    background: #222;
    color: white;
    padding: 40px 10%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* LEFT COLUMN - Logo & Navbar */
.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    width: 40px; /* Adjust size as needed */
    margin-right: 10px; /* Space between image and text */
}


.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-nav ul li a:hover {
    color: #42a5f5;
}

/* RIGHT COLUMN - Contact Info */
.footer-right {
    flex: 1;
    min-width: 250px;
    text-align: right;
}

.footer-contact p {
    margin: 5px 0;
}

/* FOOTER BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 14px;
    color: #aaa;
}

/*------ABOUT----*/

.bg-color
{
    background-color: darkblue;
    height: 50vh;
}

.bg-color p {
    text-align: center; /* Centers text horizontally */
    font-size: 48px; /* Adjust size as needed */
    font-weight: bold; /* Makes it stand out */
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    height: 40vh; /* Full height of the viewport */
    margin: 0;
    color: white;
}

/* About Us Section */
h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Card Container */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusts columns automatically */
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* Card Styling */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    padding: 20px;
}

.card:hover {
    transform: scale(1.05);
}

/* Card Header */
.card-header {
    font-size: 20px;
    font-weight: bold;
    background: #0073e6; /* Blue shade for header */
    color: white;
    padding: 15px;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

/* Card Body */
.card-body {
    padding: 15px;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}
/*--------CONTACT INFO------------*/
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 5%;
    background: #f8f8f8;
}
.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}
.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.contact-info h2 {
    color: #007bff;
    font-size: 28px;
    margin-bottom: 15px;
}
.contact-info p {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}
.contact-info i {
    color: #007bff;
    font-size: 24px;
    margin-right: 10px;
}
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-form h2 {
    color: #007bff;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-form button:hover {
    background: #0056b3;
}


/* RESPONSIVE DESIGN - TABLETS */
@media screen and (max-width: 1024px) {
    .hero-content h2 {
        font-size: 32px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns for tablets */
    }

}


@media screen and (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns for smaller screens */
        gap: 15px;
    }

    .info-box {
        padding: 15px;
    }

    .info-box h3 {
        font-size: 18px;
    }

    .info-box p {
        font-size: 14px;
    }
    .info-text {
        padding: 40px; /* Reduce padding for tablets */
    }

    .info-text h2 {
        font-size: 28px;
    }

    .info-text p {
        font-size: 16px;
    }

    .info-stats h2 {
        font-size: 30px;
    }

    .info-stats p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 60px 15px;
    }

    .hero-content h2 {
        font-size: 26px;
    }
    .info-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 Column for very small screens */
    }

    .info-box {
        padding: 15px;
    }

    .info-box h3 {
        font-size: 18px;
    }

    .info-box p {
        font-size: 14px;
    }
    .info-content {
        flex-direction: column; /* Stack text and stats */
        align-items: center;
        text-align: center; /* Center align text */
        margin-top: 0;
    }

    .info-text {
        padding: 30px;
        text-align: center;
    }

    .info-text h2 {
        font-size: 24px;
    }

    .info-text p {
        font-size: 16px;
        text-align: justify;
    }

    .info-stats {
        width: 100%;
        padding: 30px;
        text-align: center;
    }

    .info-stats div {
        margin-bottom: 15px;
    }

    .info-stats h2 {
        font-size: 26px;
    }

    .info-stats p {
        font-size: 14px;
    }

    .card-container {
        grid-template-columns: repeat(1, 1fr); /* Single column on smaller screens */
    }

    .card {
        padding: 15px;
    }

    .card-header {
        font-size: 18px;
        padding: 10px;
    }

    .card-body {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h2 {
        font-size: 22px;
    }
    .info-text {
        padding: 20px;
    }

    .info-text h2 {
        font-size: 22px;
    }

    .info-text p {
        font-size: 14px;
    }

    .info-stats {
        padding: 20px;
    }

    .info-stats h2 {
        font-size: 24px;
    }

    .info-stats p {
        font-size: 13px;
    }
    h3 {
        font-size: 24px;
    }

    .card-body {
        font-size: 14px;
    }
}
