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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #FAFAFA;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #2C5F7C;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C5F7C;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 1rem;
}

nav a {
    text-decoration: none;
    color: #6B7280;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #2C5F7C;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #10B981;
    color: white;
    border-color: #10B981;
}

.btn-primary:hover {
    background-color: #059669;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2C5F7C;
    border-color: #2C5F7C;
}

.btn-secondary:hover {
    background-color: #2C5F7C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2C5F7C 0%, #4A90A4 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.hero h2 {
    color: #E5F3FF;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #F3F4F6;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
    margin-bottom: 1rem;
    color: #2C5F7C;
}

/* Testimonials */
.testimonial {
    background: #E5F3FF;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #10B981;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial em {
    font-weight: 600;
    color: #2C5F7C;
}

/* Qualifications */
.qualifications ul {
    list-style: none;
    padding: 0;
}

.qualifications li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E5E7EB;
    color: #10B981;
    font-weight: 500;
}

/* CTA Bottom */
.cta-bottom {
    text-align: center;
    margin-top: 3rem;
}

.cta-bottom .btn-primary {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #10B981;
}

.contact-form button {
    width: 100%;
    border: none;
    font-size: 1rem;
}

/* Blog Posts */
.blog-post {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.blog-post .btn-secondary {
    align-self: flex-start;
    margin-top: auto;
}

/* Footer */
footer {
    background-color: #1F2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #10B981;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    nav {
        display: none;
    }
    
    header .btn-primary {
        font-size: 0.875rem;
        padding: 8px 16px;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .cta-bottom .btn-primary {
        margin-right: 0;
        margin-bottom: 1rem;
        display: block;
        text-align: center;
    }
    
    .cta-bottom .btn-secondary {
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .contact-form {
        margin: 1rem auto;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #10B981;
    outline-offset: 2px;
}

/* Animation for Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects for Interactive Elements */
.card,
.btn-primary,
.btn-secondary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading States */
.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0);
}

/* Print Styles */
@media print {
    header,
    footer,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .section-padding {
        padding: 20px 0;
    }
}


/* Logo styling */
.logo {
    display: flex;
    align-items: center;
}

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

/* Background image optimizations */
.hero,
.section-padding[style*="background"] {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero,
    .section-padding[style*="background"] {
        background-attachment: scroll;
    }
    
    .logo img {
        height: 40px;
        margin-right: 8px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
}


/* Footer Links Styling */
.footer-links {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4A90A4;
    text-decoration: underline;
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul li {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

