/* style.css */
/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2A6B9C;
    --secondary: #4BB3B3;
    --accent: #FF7E5F;
    --light: #F8FAFC;
    --dark: #2D3748;
    --gray: #718096;
    --light-gray: #E2E8F0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #FAFBFC;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, #1A4E7A 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo h1 {
    font-size: 28px;
    color: white;
    margin: 0;
}

.logo-icon {
    font-size: 32px;
    color: var(--accent);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
}

nav a:hover, nav a.active {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Tab System */
.tabs-container {
    background-color: white;
    padding: 12px 20px;
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    gap: 8px;
}

.tab {
    background-color: var(--light);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    border: 1px solid var(--light-gray);
}

.tab.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 8px rgba(42, 107, 156, 0.2);
}

.tab-close {
    margin-left: 8px;
    font-size: 14px;
    padding: 2px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.tab-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.tab-content {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home Section */
.hero {
    background: linear-gradient(rgba(42, 107, 156, 0.9), rgba(26, 78, 122, 0.9)), url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 126, 95, 0.3);
}

.btn:hover {
    background-color: #FF6A4A;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 126, 95, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(75, 179, 179, 0.1), transparent);
    transition: height 0.3s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card:hover:before {
    height: 100%;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    color: var(--gray);
}

.service-card a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.service-card a:hover {
    color: var(--primary);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--light-gray);
}

.team-member h3 {
    margin-bottom: 8px;
    color: var(--primary);
}

.team-member p {
    color: var(--gray);
    margin-bottom: 5px;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--secondary);
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    color: var(--primary);
}

.faq-answer {
    padding: 20px;
    background-color: var(--light);
    display: none;
    color: var(--dark);
    line-height: 1.7;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, #1A4E7A 100%);
    padding: 30px;
    border-radius: 12px;
    color: white;
}

.contact-info h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-info div {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    color: var(--accent);
    font-size: 22px;
    width: 24px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--accent);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(75, 179, 179, 0.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary) 0%, #1A4E7A 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--accent);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .hero {
        padding: 70px 20px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }
    
    nav a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tab {
        padding: 8px 15px;
        font-size: 13px;
    }
}