/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --primary-dark: #345481;
    --secondary-color: #f5a742;
    --light-color: #f4f9ff;
    --dark-color: #333;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    /* Replace the existing background-image with your desired image URL */
    background-image: url('backgroundImage3.png');
    background-size: cover; /* Ensure the image covers the entire background */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-attachment: fixed; /* Keep the background fixed during scroll */
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* Updated logo styles */
.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 10px;
}
.company-name object {
    /* width: 80px; Adjust width as needed */ 
    height: 60px; /* Adjust height as needed */
    margin: 0 0px; /* Add spacing between logos */
    display: inline-block;
    vertical-align: middle; /* Align with text */
}
.comau {
    font-size: 14px;
    vertical-align: middle;
	color: grey;
}
.company-name {
    font-size: 1.8rem;
    font-weight: bold;
}

.company-name .write {
	font-family: cursive, Arial, sans-serif;
    color: #60893aff; 
}

.company-name .read {
    color: #008080ff;
}

.company-name .succeed {
    color: #fd910dff; 
}


#mathProblem {
        font-weight: bold;
        margin-left: 5px;
    }

@media (max-width: 600px) {
    .btn {
        font-size: 14px;
    }
    .hero-content h2 {
        font-size: 24px;
    }
}
.ok-button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #4CAF50; /* Green for success */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.ok-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

.btn:hover {
    background-color: #4CAF50; /* Green */
    color: white;
    transition: 0.3s ease-in-out;
}
nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 2px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/random/1600x900/?children,books');
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

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

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--light-color);
    /* Semi-transparent background to let the pattern show through slightly */
    background-color: rgba(244, 249, 255, 0.9);
}

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

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    /* Semi-transparent background to let the pattern show through slightly */
    background-color: rgba(255, 255, 255, 0.9);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.placeholder-image {
    background-color: #ddd;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    color: #777;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center; /* Center the image */
}

.about-image img {
    max-width: 100%; /* Make sure the image fits within its container */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 10px; /* Add rounded corners if desired */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for visual appeal */
}
/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--light-color);
    /* Semi-transparent background to let the pattern show through slightly */
    background-color: rgba(244, 249, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ddd;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #444;
    color: #fff;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
  }
  
  .modal-icon {
    font-size: 48px;
    margin-bottom: 15px;
  }
  
  .success .modal-icon:before {
    content: "✓";
    color: #4caf50;
  }
  
  .error .modal-icon:before {
    content: "✗";
    color: #f44336;
  }
  
/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0.5rem 1.5rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}
