/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
    .logo h1 {
        display: none;
    }
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 12px;
}

.brand-text {
    font-size: 1.6rem;
    font-weight: bold;
    white-space: nowrap;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
}

/* For smaller screens, you might want to adjust */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        display: none;
        /* hides text on very small screens if desired */
    }
}

.logo h1 {
    font-size: 1.8rem;
}

.logo h1 a {
    color: white;
    text-decoration: none;
}

.logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav ul li a:hover {
    background-color: #3498db;
    border-radius: 4px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #2c3e50;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    padding: 0.5rem 0;
}

.dropdown-menu li a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6)), url('pexels-kawserhamid-176342.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 32px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero p {
    margin: 0;
    padding: 0;

}

.superHero {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 32px;
}

.superHero img {
    border-radius: 6px;
    margin-bottom: 32px;
    width: 100%;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2980b9;
}



.about-us p{
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 1rem;
}



/* About Page Styles */
.about-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;

}

.about-section p {
    text-align: justify;
    
}

.about-section ul {
    margin: 0 2rem;
}

.about-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.team-member {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #2c3e50;
}

.team-member p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.about-us {
    background-color: #f9f9f9;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.about-us h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-us p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

#vision img {
    display: block;  
    margin: 0 auto; 
}


#history ul, #history p {
    text-align: justify;
}

.careers-hero h1 {
    font-size: 2.5rem; 
    text-align: center;
    margin-bottom: 2rem; 
}


.careers-hero p, .no-vacancy p {
    text-align: justify;   
    margin-bottom: 1rem;    
}


@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 1.6rem;
    }
}




/* Services Page Specific Styles */
.services-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.services-intro h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.services-intro p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.service-card p {
    text-align: justify;
}

.service-card img {
    display: block;
    margin: 0 auto 1rem auto;
    width: 250px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-cta {
    text-align: center;
    padding: 3rem 0;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.service-cta h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #2c3e50;
}


/* Contact Page Specific Styles */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}



.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
}



@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.info-card h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.info-card h4 .icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.map-section {
    margin-bottom: 3rem;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #2c3e50;
}

.map-placeholder {
    background-color: #f8f9fa;
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.map-placeholder p {
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

/* Contact Page Styles */
.contact-form-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}



.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
    justify-self: start;
}

.submit-btn:hover {
    background-color: #2980b9;
}

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; 
    gap: 15px;
}

.contact-info .info-card p,
.contact-info .info-card address {
  width: 100%;           
  word-wrap: break-word; 
  box-sizing: border-box;
}


.contact-form-section,
.contact-info {
  flex: 1;
}



.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;            
  max-width: 100%;    
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;  
  font-size: 16px;
}





/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding: 1rem;
    background-color: #1a252f;
}

/* Responsive Styles */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}



@media (max-width: 768px) {
   
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .logo {
        flex: 1;
    }

    .logo-img {
        height: 35px;
        margin-right: 8px;
    }

    .brand-text {
        font-size: 1rem;
        white-space: normal;
    }

   
    nav {
        display: flex;
        align-items: center;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    nav ul li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

   
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

   
    .mobile-menu-btn {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        position: static;
        margin-left: 1rem;
    }

   
    .hero h2 {
        font-size: 2rem;
    }

   
    .contact-container {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form-section,
    .contact-info {
        width: 100%;
    }

    .contact-form-section {
        padding: 15px;
    }

    .contact-form .form-group {
        margin-bottom: 15px;
    }

    
    .footer-content {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 480px) {
    .logo-img {
        height: 30px; 
    }

    .brand-text {
        font-size: 0.9rem;
    }

    nav ul li a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
}

