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

/* body styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

/* headers and nav bar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    max-height: 120px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #25d366;
}

/* hero section on index page */
.hero {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 77, 153, 0.9)),
                url('img/hero.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.hero-overlay {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

/* hero button */
.hero-btn {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.2s;
}

.hero-btn:hover {
    background-color: #ff8533;
    transform: scale(1.05);
}

/* general sections */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

h1, h2 {
    margin-bottom: 20px;
    color: #003366;
}

p {
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* about section on home page */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    color: #003366;
    margin-bottom: 10px;
}

/* products on home page */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product {
    background-color: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}


.product h3 {
    color: #003366;
    font-size: 1.2em;
}

.view-all-btn {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.view-all-btn:hover {
    background-color: #004d99;
    transform: translateY(-2px);
}

/* about page  */
.about-hero {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

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

.mv-card {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.2);
}


.mv-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.mv-card p {
    line-height: 1.8;
    margin-bottom: 0;
}

.values-section {
    background-color: #f5f5f5;
    padding: 60px 20px;
}

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

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.value-card h3 {
    color: #003366;
    margin-bottom: 10px;
}

/* team section */
.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.team-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.team-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.team-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.team-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.team-features li:before {
    content: "✅";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2em;
}

/* contact form */
#contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 40px auto;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: bold;
    color: #003366;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

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

.error-message {
    color: #d32f2f;
    font-size: 14px;
    display: none;
    margin-top: 5px;
    font-weight: 500;
}

.success-message {
    background-color: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    display: none;
    margin-top: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submit-btn {
    background-color: #003366;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #004d99;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* contact info */
#contact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

#contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
    font-size: 1.1em;
}

#contact img {
    vertical-align: middle;
}

#contact a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    color: #ff6600;
}

/* products page */
.products-hero {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: white;
}

.hero-content p {
    font-size: 1.2em;
    opacity: 0.95;
}

/* video section */
#featured-videos {
    background-color: #f5f5f5;
    padding: 50px 20px;
}

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

.video-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.video-item h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.video-item p {
    color: #666;
    margin-top: 15px;
    font-size: 0.95em;
}

/* video wrapper - 16:9 ratio */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.toggle-btn {
    background-color: #003366;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-btn:hover {
    background-color: #004d99;
}

/* product cards grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff6600;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: #003366;
    font-size: 1.5em;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-info > p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95em;
}

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

.product-features li {
    padding: 8px 0;
    color: #666;
    font-size: 0.9em;
    position: relative;
    padding-left: 25px;
}

.product-features li:before {
    content: "✅";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.1em;
}

.product-btn {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 15px;
}

.product-btn:hover {
    background-color: #004d99;
    transform: translateY(-2px);
}

/* call to action section (cta) */
.cta-section {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

.cta-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #ff8533;
    transform: scale(1.05);
}

/* footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #003366;
    color: white;
    margin-top: 40px;
}

/* whatsapp button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* mobile responsiviness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    .products-hero {
        padding: 50px 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8em;
    }
    
    .hero-content p {
        font-size: 1em;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.5em;
    }
    
    #contact-form {
        padding: 25px;
        margin: 20px 15px;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 15px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-item {
        padding: 15px;
    }
    
    .video-item h3 {
        font-size: 1.1em;
    }

    #featured-products h2{
        text-align: center;
    }

    #about h2{
        text-align: center;
    }

    #about p {
        text-align: center;
    }

    #values h2{
        text-align: center;
    }

    #values p {
        text-align: center;
    }

    #team h2{
        text-align: center;
    }
    
    #team p {
        text-align: center;
    }

    .products {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .product {
        padding: 15px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}