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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a202c;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

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

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5aa0;
}

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

li {
    margin-bottom: 0.5rem;
}
img{
    /* display: block; */
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.section-header p {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 48px;
}

.btn-primary {
    background-color: #3182ce;
    color: white;
}

.btn-primary:hover {
    background-color: #2c5aa0;
    color: white;
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #2d3748;
}

.btn-secondary:hover {
    background-color: #cbd5e0;
    color: #2d3748;
}

.btn-outline {
    background-color: transparent;
    color: #3182ce;
    border: 2px solid #3182ce;
}

.btn-outline:hover {
    background-color: #3182ce;
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #4a5568;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3182ce;
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #4a5568;
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #5769bd 0%,
        #4f207f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    text-align: center;
}

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

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Article Hero */
.article-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-category {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-date {
    font-size: 0.875rem;
    opacity: 0.8;
}

.article-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.article-excerpt {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    text-align: center;
}

.article-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Grid Layouts */
.about-grid,
.services-grid,
.advantages-grid,
.portfolio-grid,
.testimonials-grid,
.blog-grid,
.contact-grid,
.team-grid,
.stats-grid,
.certifications-grid,
.related-articles-grid,
.related-content-grid {
    display: grid;
    gap: 2rem;
}

.services-grid,
.advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-grid,
.contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.portfolio-grid,
.testimonials-grid,
.blog-grid,
.team-grid,
.related-articles-grid,
.related-content-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.blog-grid{
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.stats-grid,
.certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
}

/* Cards */
.service-card,
.advantage-item,
.portfolio-item,
.testimonial-card,
.blog-card,
.team-member,
.cert-item,
.related-item {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon,
.advantage-icon,
.testimonial-icon,
.cert-icon {
    margin-bottom: 1rem;
}

.service-icon img,
.advantage-icon img,
.testimonial-icon img,
.cert-icon img {
    width: 60px;
    height: 60px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}
.portfolio-overlay h3{
    color: #fff;
}

.testimonial-author {
    margin-top: 1rem;
    font-size: 0.875rem;
}

.testimonial-author strong {
    display: block;
    color: #1a202c;
}

.testimonial-author span {
    color: #4a5568;
}

.blog-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.read-more {
    display: inline-flex;
    align-items: center;
    color: #3182ce;
    font-weight: 500;
    margin-top: 1rem;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

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

.newsletter-form input {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: white;
}

/* Footer */
.footer {
    background-color: #1a202c;
    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-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

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

.footer-section ul li a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: white;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #4a5568;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3182ce;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a202c;
    color: white;
    padding: 1rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Thank You Page */
.thank-you-section {
    padding: 8rem 0 4rem;
    text-align: center;
}

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #4a5568;
}

.thank-you-info {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    text-align: left;
}

.thank-you-info h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-info-box {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 1rem;
    text-align: left;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #1a202c;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.legal-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.contact-box {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    border-left: 4px solid #3182ce;
}

.cookie-table {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.cookie-settings-box {
    text-align: center;
    margin: 2rem 0;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-text {
    line-height: 1.8;
}

.article-text h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.article-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-text h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.article-image-section {
    margin: 3rem 0;
    text-align: center;
}

.article-image-section img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.image-caption {
    font-style: italic;
    color: #4a5568;
    font-size: 0.875rem;
}

.building-details {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.building-info p {
    margin-bottom: 0.5rem;
}

/* Statistics */
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #4a5568;
}

/* Team Members */
.member-image {
    text-align: center;
    margin-bottom: 1rem;
}

.member-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.member-role {
    color: #3182ce;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1,
    .page-hero h1,
    .article-hero h1 {
        font-size: 2rem;
    }

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

    .hero-buttons,
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .services-grid,
    .advantages-grid,
    .portfolio-grid,
    .testimonials-grid,
    .blog-grid,
    .team-grid,
    .related-articles-grid,
    .related-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    .hero,
    .page-hero,
    .article-hero {
        padding: 6rem 0 2rem;
    }

    .service-card,
    .advantage-item,
    .portfolio-item,
    .testimonial-card,
    .blog-card,
    .team-member,
    .cert-item,
    .related-item {
        padding: 1.5rem;
    }

    .hero-text h1,
    .page-hero h1,
    .article-hero h1 {
        font-size: 1.75rem;
    }

    .article-text h2 {
        font-size: 1.5rem;
    }

    .article-text h3 {
        font-size: 1.25rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cookie-consent,
    .hero-buttons,
    .thank-you-actions,
    .social-links,
    .footer-social {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section {
        padding: 1rem 0;
    }

    .article-content {
        max-width: none;
    }
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }

    .btn-outline {
        border-color: #000;
        color: #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner p {
    color: #fff;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin: 20px 0;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-category span {
    color: #666;
    font-size: 0.9rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
/* Print Styles */
@media print {

    
    .cookie-banner,
    .cookie-modal {
        display: none;
    }

}
