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

html {
    scroll-behavior: smooth;
}

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;
}

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 0.6rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.logo-text h1 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: -0.3rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.logo-text p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover {
    color: #2c5aa0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2c5aa0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
    overflow: hidden;
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.8) 0%, rgba(74, 123, 200, 0.8) 100%);
    z-index: 2;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #2c5aa0;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
    font-weight: 700;
}

/* Services Carousel */
.services-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(44, 90, 160, 0.2);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2c5aa0, #4a7bc8);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

/* 3D Carousel Container */
.carousel-3d-container {
    perspective: 1200px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.service-slide {
    position: absolute;
    width: 450px;
    height: 100%;
    left: 50%;
    transform-origin: center;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    backface-visibility: hidden;
    cursor: pointer;
}

.service-slide:not(.center-slide) .service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-slide.center-slide {
    cursor: default;
}

/* Positioning for 3D effect */
.service-slide[data-index="0"] {
    transform: translateX(-50%) translateZ(0px) rotateY(0deg);
    opacity: 1;
    z-index: 3;
}

.service-slide[data-index="1"] {
    transform: translateX(-50%) translateZ(-200px) translateX(300px) rotateY(-25deg);
    opacity: 0.6;
    z-index: 2;
}

.service-slide[data-index="2"] {
    transform: translateX(-50%) translateZ(-200px) translateX(-300px) rotateY(25deg);
    opacity: 0.6;
    z-index: 2;
}

/* Active slide positioning */
.carousel-3d.slide-1 .service-slide[data-index="0"] {
    transform: translateX(-50%) translateZ(-200px) translateX(-300px) rotateY(25deg);
    opacity: 0.6;
    z-index: 2;
}

.carousel-3d.slide-1 .service-slide[data-index="1"] {
    transform: translateX(-50%) translateZ(0px) rotateY(0deg);
    opacity: 1;
    z-index: 3;
}

.carousel-3d.slide-1 .service-slide[data-index="2"] {
    transform: translateX(-50%) translateZ(-200px) translateX(300px) rotateY(-25deg);
    opacity: 0.6;
    z-index: 2;
}

.carousel-3d.slide-2 .service-slide[data-index="0"] {
    transform: translateX(-50%) translateZ(-200px) translateX(300px) rotateY(-25deg);
    opacity: 0.6;
    z-index: 2;
}

.carousel-3d.slide-2 .service-slide[data-index="1"] {
    transform: translateX(-50%) translateZ(-200px) translateX(-300px) rotateY(25deg);
    opacity: 0.6;
    z-index: 2;
}

.carousel-3d.slide-2 .service-slide[data-index="2"] {
    transform: translateX(-50%) translateZ(0px) rotateY(0deg);
    opacity: 1;
    z-index: 3;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-arrow {
    background: #2c5aa0;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: #1e3d6f;
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 1rem;
}

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

.indicator.active {
    background: #2c5aa0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c5aa0;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
    font-weight: 700;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.credentials-box {
    flex: 0 0 550px;
    background: #f8f9fa;
    padding: 0;
    border-radius: 10px;
    display: flex;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
}

.person-image {
    width: 250px;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    background: white;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.credentials-text {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.credentials-text h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.credentials-text p {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
    font-weight: 700;
}

.contact-content {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-left {
    flex: 1;
    min-width: 400px;
}

.contact-right {
    flex: 1;
    min-width: 400px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Contact Map Section */
.contact-map .map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}

.contact-map .map-container iframe {
    width: 100%;
    height: 480px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.contact-map .map-container:hover iframe {
    filter: grayscale(0%);
}

.map-description {
    color: #666;
    font-style: italic;
    margin: 0;
    text-align: left;
}

@media screen and (max-width: 968px) {
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-left,
    .contact-right {
        min-width: auto;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-map .map-container iframe {
        height: 350px;
    }
    
    .map-description {
        text-align: center;
    }
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
}

.contact-item h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-item a {
    color: #2c5aa0;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #fff;
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
    font-weight: 700;
}

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

.news-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2c5aa0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.news-date {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
}

.news-link:hover {
    transform: translateX(5px);
}

.news-loading {
    text-align: center;
    color: #666;
    padding: 3rem;
    font-size: 1.1rem;
}

.news-error {
    text-align: center;
    color: #666;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.news-error p {
    margin-bottom: 1rem;
}

.news-error a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.news-error a:hover {
    text-decoration: underline;
}

.news-source {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.news-source p {
    color: #666;
    font-size: 0.9rem;
}

.news-source a {
    color: #2c5aa0;
    text-decoration: none;
}

.news-source a:hover {
    text-decoration: underline;
}

/* Service Center Section */
.service-center {
    padding: 80px 0;
    background: #fff;
}

.service-center h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-button {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button:hover {
    background: #e9ecef;
    border-color: #2c5aa0;
}

.tab-button.active {
    background: #2c5aa0;
    border-color: #2c5aa0;
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Downloads Section */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.download-category h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 0.5rem;
}

.download-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-left: 4px solid #2c5aa0;
}

.download-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.download-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.download-info h4 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.download-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.file-type {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* Calculator Section */
.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.calculator-container h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.calculator-form {
    margin-bottom: 2rem;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.calc-field {
    display: flex;
    flex-direction: column;
}

.calc-field label {
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.calc-field input,
.calc-field select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.calc-field input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.calc-results {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.result-item:last-child {
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid #2c5aa0;
}

.result-item.highlight {
    background: #f0f7ff;
    margin: 0.5rem -1rem 0;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
}

.calc-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    color: #856404;
}

/* Calendar Section */
.calendar-container {
    max-width: 900px;
    margin: 0 auto;
}

.calendar-container h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.calendar-months {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.month-section h4 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 0.5rem;
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-event {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #2c5aa0;
}

.calendar-event.important {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.event-date {
    flex-shrink: 0;
    width: 60px;
    font-weight: 600;
    color: #2c5aa0;
    font-size: 0.9rem;
}

.calendar-event.important .event-date {
    color: #dc3545;
}

.event-details {
    flex: 1;
}

.event-details strong {
    color: #333;
    display: block;
    margin-bottom: 0.3rem;
}

.calendar-note {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

.calendar-note p {
    color: #0066cc;
    margin: 0;
}

/* Calendar Navigation */
.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.year-nav-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.year-nav-btn:hover {
    background: #1e3d6f;
    transform: scale(1.05);
}

#current-year {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5aa0;
    min-width: 60px;
    text-align: center;
}

.calendar-loading {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 3rem;
}

#calendar-disclaimer {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-container h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #2c5aa0;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-item.active .faq-question {
    background: #e7f3ff;
}

.faq-question h4 {
    color: #2c5aa0;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2c5aa0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 1.5rem 1.5rem 2rem;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
footer {
    background: #2c5aa0;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.7);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal-content h2 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.modal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-content h2 {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.8;
        max-width: none;
    }

    .services h2,
    .about h2,
    .contact h2,
    .news-section h2 {
        font-size: 2rem;
    }

    .service-card,
    .contact-item {
        padding: 1.5rem;
        text-align: center;
        margin: 0 auto;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .services,
    .about,
    .contact,
    .news-section,
    .service-center {
        padding: 60px 0;
    }
    
    .service-tabs {
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calc-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calendar-months {
        grid-template-columns: 1fr;
    }

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

    .credentials-box {
        flex: 1;
        width: 100%;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        gap: 6px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-overlay {
        margin: 15px;
        padding: 15px;
    }
    

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        text-align: center;
        max-width: 350px;
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-item {
        padding: 1rem;
    }
    
    .download-icon {
        font-size: 2rem;
    }
    
    .calculator-container {
        padding: 1.5rem;
    }
    
    .calc-results {
        padding: 1.5rem;
    }
    
    .result-item.highlight {
        margin: 0.5rem -0.5rem 0;
        padding: 1rem 0.5rem;
    }
    
    .service-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 200px;
        text-align: center;
    }

    .credentials-box {
        flex-direction: column;
        text-align: center;
    }

    .person-image {
        width: 100%;
        height: auto;
        min-height: auto;
        object-fit: contain;
        object-position: center top;
    }
    
    .credentials-text {
        padding: 2rem;
    }

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

/* Additional hover effects and animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Smooth scroll offset for fixed header */
section {
    scroll-margin-top: 80px;
}