:root {
    --navy: #003366;
    --coral: #FF6600;
    --teal: #008080;
    --light-beige: #F9F9F9;
    --light-gray: #F2F2F2;
    --white: #FFFFFF;
    --dark-navy: #002244;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--coral);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #e55c00;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--coral);
    color: var(--coral);
}

.btn-outline:hover {
    background-color: var(--coral);
    color: white;
}

/* Header Styles */
header {
    background-color: var(--navy);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 100px; /* initial hight: 40px */
    width: auto; /* initial width: auto */
}

 .centrallogo img{
    width: 30%;
    display: block;
    margin: auto;
    padding: 0px;
}

/*.logocontainer img{
    width: 50%;
    display: block;
    margin: auto;
} */


nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--coral);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Central Logo Section */
.logosection {
  width: 100%;
  height: 30%;
  display: flex;
    background-color: var(--white);
}

/* paul added */
.logosection-container {
    display: flex;
    align-items: center;
    object-fit: contain;
    gap: 1px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
    padding: 180px 0 100px;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-top: 0px;/* paul added to give the center logo room*/
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    padding-top: 0px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.9);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.page-header h1 {
    color: white;
    font-size: 42px;
}

.page-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--coral);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

/* Services Section */
.services {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--teal);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Team Section */
.team {
    background-color: var(--light-gray);
}

.team-members {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    color: var(--navy);
    margin-bottom: 5px;
}

.member-title {
    color: var(--coral);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background-color: var(--navy);
    color: var(--white);
}

.contact h2, .contact h3 {
    color: var(--white);
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--coral);
    font-size: 18px;
    width: 24px;
}

/* Footer */
footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 100px; /* initially 30px*/
    width: auto;
}

.footer-links {
    display: flex;
    list-style: none;
}

.footer-links li {
    margin-left: 20px;
}

.footer-links li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--coral);
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* Service Detail Page */
.service-detail {
    padding: 100px 0;
}

.service-detail-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-detail-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.service-detail-sidebar {
    flex: 0 0 300px;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.service-detail-sidebar h3 {
    margin-bottom: 20px;
    color: var(--navy);
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.service-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-list li a:hover,
.service-list li a.active {
    color: var(--coral);
}

.service-detail-main {
    flex: 1;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    font-size: 30px;
    color: var(--teal);
    margin-bottom: 10px;
}

/* Team Detail Page */
.team-detail {
    padding: 100px 0;
}

.team-member-detail {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.member-detail-image {
    flex: 0 0 300px;
}

.member-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-detail-info {
    flex: 1;
}

.member-detail-info h2 {
    color: var(--navy);
    margin-bottom: 10px;
}

.member-position {
    color: var(--coral);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
}

.member-bio {
    margin-bottom: 30px;
}

.expertise-areas {
    margin-top: 30px;
}

.expertise-areas h3 {
    margin-bottom: 15px;
}

.expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tag {
    background: var(--light-gray);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container,
    .contact-container,
    .service-detail-content,
    .team-member-detail {
        flex-direction: column;
    }
    
    .about-image,
    .service-detail-sidebar,
    .member-detail-image {
        margin-bottom: 30px;
    }
    
    .service-detail-sidebar {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1, 
    .page-header h1 {
        font-size: 36px;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px; /* Changed from left: 0 */
        width: auto; /* Changed from 100% */
        min-width: 200px;
        background-color: var(--navy);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        text-align: right; /* Align text to right */
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav ul li a {
        display: block;
        padding: 8px 0;
        text-align: right;
    }
    
    .mobile-menu-btn {
        display: block;
        margin-left: auto; /* Push to right */
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 20px;
        justify-content: center;
    }
    
    .footer-links li {
        margin: 0 10px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Contact Form Dropdown Fix */
.service-dropdown {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    background: rgba(255,255,255,0.95) !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    appearance: menulist;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
}

/* Contact link styling */
.alink { color: white; }

.service-dropdown:focus {
    background: white !important;
    border-color: var(--coral) !important;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.3);
}

.service-dropdown option {
    background: white;
    color: #333;
    padding: 10px;
}

/* Fix for contact form inputs to be more visible */
.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.95) !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: white !important;
    border-color: var(--coral) !important;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666 !important;
}

/* Team member image styling */
.member-image {
    height: 300px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Form Success Message Styling */
#successMessage {
    background: #4CAF50 !important;
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 2px solid #45a049;
}

#successMessage h3 {
    color: white;
    margin: 10px 0;
}

/* Loading Spinner */
#submitSpinner .fa-spinner {
    margin-right: 8px;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form focus states */
.contact-form input:focus,
.contact-form textarea:focus,
.service-dropdown:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
}