/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 80px;
    width: auto;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #533c68;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(83, 60, 104, 0.85), rgba(63, 43, 79, 0.95)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    margin-top: 74px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* Services Section */
.services {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

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

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

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

.service-card i {
    font-size: 2.5rem;
    color: #533c68;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 3rem 0;
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    margin-top: 1rem;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2rem;
    color: #533c68;
    margin-bottom: 1rem;
}

.stat-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.about-mission {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-card {
    background: linear-gradient(135deg, #533c68, #3f2b4f);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 4px 6px rgba(83, 60, 104, 0.2);
}

.mission-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.mission-card i {
    font-size: 1.5rem;
}

/* Expertise Section */
.expertise {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.expertise-grid {
    margin-top: 1rem;
}

.expertise-header {
    text-align: center;
    margin-bottom: 1rem;
}

.expertise-header p {
    color: #666;
    font-size: 1.2rem;
}

.expertise-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
}

.tab-button:hover {
    color: #533c68;
    transform: translateY(-2px);
}

.tab-button.active {
    color: #533c68;
    font-weight: 600;
}

.tab-button i {
    font-size: 1.5rem;
    color: #666;
    transition: color 0.3s;
}

.tab-button:hover i,
.tab-button.active i {
    color: #533c68;
}

.tab-content {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.tab-content span {
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.tab-content small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.expertise-content {
    padding: 1rem 0;
}

.expertise-content h2 {
    color: #533c68;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.expertise-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.expertise-content ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.expertise-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.expertise-content li:before {
    content: "•";
    color: #533c68;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Contact Section */
.contact {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

/* Contact details (replaces form) */
.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    color: #333;
}

.contact-details h3 {
    color: #533c68;
    margin-bottom: 0.25rem;
}

.contact-details p {
    margin: 0.25rem 0;
    font-size: 1rem;
}

.contact-details .note {
    margin-top: 0.75rem;
    color: #666;
    font-size: 0.9rem;
}

.form-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 2.5rem 0 1.5rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
}

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

/* Common Elements */
h2 {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #533c68;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #3f2b4f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}