/* P Sreenivasulu and Associates - Modern Professional Website Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Smooth scrolling and modern defaults */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Selection styling */
::selection {
    background: rgba(42, 82, 152, 0.2);
    color: #1e3c72;
}

::-moz-selection {
    background: rgba(42, 82, 152, 0.2);
    color: #1e3c72;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #2a5298;
    outline-offset: 2px;
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Add subtle page transitions */
.section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improved link styling */
a {
    color: #2a5298;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e3c72;
}

/* Team Photos Carousel */
.team-carousel {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.carousel-caption h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1e3c72;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #2a5298;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: #1e3c72;
}

@media (max-width: 768px) {
    .carousel-slide img {
        height: 300px;
    }

    .carousel-caption {
        padding: 1.5rem;
    }

    .carousel-caption h3 {
        font-size: 1.25rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

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

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e3c72;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.025em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: -0.01em;
}

nav a:hover,
nav a.active {
    color: #1e3c72;
    transform: translateY(-1px);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e3c72;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(30, 60, 114, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
    margin-top: 88px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: #2a5298;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0.5rem;
    border: 2px solid #2a5298;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 6px rgba(42, 82, 152, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: #1e3c72;
    border-color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(30, 60, 114, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.cta-button.secondary:hover {
    background: white;
    color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
}

/* WhatsApp Button Styling */
.cta-button[href*="wa.me"] {
    background: #25D366 !important;
    border-color: #25D366 !important;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.cta-button[href*="wa.me"]:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    box-shadow: 0 8px 15px rgba(18, 140, 126, 0.4);
    transform: translateY(-2px);
}

.cta-button[href*="wa.me"]::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Main Content */
main {
    margin-top: 88px;
    padding: 2rem 0;
}

.section {
    background: white;
    margin: 0.5rem 0;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.section h2 {
    font-family: 'Poppins', sans-serif;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section h3 {
    font-family: 'Poppins', sans-serif;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.section p strong {
    color: #1e3c72;
    font-weight: 600;
}

/* Enhanced text highlighting */
.section p:first-of-type strong:first-child {
    background: linear-gradient(120deg, rgba(42, 82, 152, 0.1) 0%, rgba(30, 60, 114, 0.1) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

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

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(42, 82, 152, 0.2);
}

.service-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.service-card .icon {
    font-size: 3rem;
    color: #2a5298;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .icon {
    transform: scale(1.1);
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Partners Section */
.partners-section {
    margin-top: 3rem;
}

.partner-profile {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.partner-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

.partner-profile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.partner-image {
    flex-shrink: 0;
    width: 260px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.partner-image img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(42, 82, 152, 0.1);
}

.partner-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Alternative positioning options for better face centering */
.partner-image img.center-face {
    object-position: center 20%;
}

.partner-image img.adjust-top {
    object-position: center 10%;
}

/* Service Section Styling */
.service-section {
    position: relative;
    overflow: hidden;
}

.service-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
}

.service-image {
    flex-shrink: 0;
    width: 400px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-info p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
}

/* Alternating service layout */
.service-section.reverse .service-header {
    flex-direction: row-reverse;
}

.partner-info {
    flex: 1;
}

.partner-header {
    margin-bottom: 2rem;
    text-align: left;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.partner-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.partner-credentials {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.credential {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 4px rgba(30, 60, 114, 0.3);
}

.partner-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2a5298;
    font-style: italic;
}

.partner-content {
    text-align: left;
}

.partner-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.partner-content p strong {
    color: #1e3c72;
    font-weight: 600;
}

/* Team Section (Legacy - keeping for other pages) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: #666;
    font-style: italic;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2a5298;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Contact Info Cards */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-card .icon {
    font-size: 2.5rem;
    color: #2a5298;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

/* Highlight Boxes */
.highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem;
    border-radius: 16px;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

.highlight h3 {
    font-family: 'Poppins', sans-serif;
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.highlight strong {
    color: #1e3c72;
    font-weight: 600;
}

.highlight p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #1e3c72 100%);
    color: white;
    text-align: center;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #cbd5e0;
}

.footer-section a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

.footer-section a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #1e3c72;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background: rgba(30, 60, 114, 0.1);
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        gap: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    nav a {
        padding: 1rem 0;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    }

    nav a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 2.5rem 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

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

    .section {
        padding: 3rem 2rem;
        margin: 0.5rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .cta-button {
        display: block;
        margin: 1rem auto;
        max-width: 280px;
    }

    .partner-profile {
        padding: 2rem;
        margin-bottom: 2rem;
        flex-direction: column;
        gap: 2rem;
    }

    .partner-image {
        width: 100%;
        text-align: center;
    }

    .partner-image img {
        width: 220px;
        height: 220px;
    }

    .partner-header {
        text-align: center;
    }

    .partner-header h3 {
        font-size: 1.75rem;
    }

    .partner-credentials {
        justify-content: center;
        gap: 0.5rem;
    }

    .credential {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .partner-title {
        font-size: 1rem;
    }

    .partner-content p {
        font-size: 0.95rem;
    }

    .service-header,
    .service-section.reverse .service-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .service-image {
        width: 100%;
        max-width: 450px;
        height: 300px;
        margin: 0 auto;
    }

    .service-info h3 {
        font-size: 1.75rem;
    }

    .service-info p {
        font-size: 1rem;
    }

    .section {
        margin: 0.25rem 0;
        padding: 2rem 1.5rem;
    }

    .services-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .logo-icon {
        width: 44px;
        height: 44px;
    }

    .logo {
        font-size: 1.5rem;
    }
}
