/* Base Styles */
:root {
    --primary-color: #003355;
    --secondary-color: #003355;
    --accent-color: #e4007c;
    --text-color: #333;
    --light-text: #666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
  
    color: var(--text-color);
    line-height: 1.6;
    background-color: #EDEDED;
}

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

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.0rem;
    font-weight: bold;
    color: var(--secondary-color);
    
}

.main-nav ul {
    display: flex;
    list-style: none;
    
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 100;
    transition: var(--transition);
    position: relative;
    
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    background-image:url('menu.png');
    background-repeat:no-repeat;
    background-size: 30px 30px;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    visibility:hidden;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/header.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    height: 566px;
    margin: 0 auto;
    display:table;


}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display:table-cell;
    vertical-align: middle;

}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    display:table-row;
    vertical-align: middle;


}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    

}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--secondary-color);
}

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

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--primary-color);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.solutions-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.tab-button {
    padding: 10px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Insights Section */
.insights-section {
    padding: 80px 0;
}

.insights-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

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

.insight-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-5px);
}

.insight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.insight-content {
    padding: 20px;
}

.insight-content h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 15px;
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--primary-color);
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    background-image: url(rainbow-dot-map.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 50px;
}

.links-column h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.links-column ul {
    list-style: none;
}

.links-column li {
    margin-bottom: 10px;
}

.links-column a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.links-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image,
    .contact-info {
        margin-top: 30px;
    }
 
    .mobile-menu-toggle {
    visibility:visible;
}

    
}


@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        
    }
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    .mobile-menu-toggle {
    visibility:visible;
}
}

@media (max-width: 576px) {
    .services-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-tabs {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }
    .mobile-menu-toggle {
    visibility:visible;
}

}

input:invalid + span::after {
  position: absolute;
  content: "✖";
  padding-left: 5px;
  color: darkred;
}

input:valid + span::after {
  position: absolute;
  content: "✓";
  padding-left: 5px;
  color: #009000;
}

input::placeholder {
    color: grey; /* Change 'red' to your desired color */
}