/* ================================
   CSS Reset & Base Styles
   ================================ */

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

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #1a3a52;
    --accent-color: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dfe6e9;
    --success-color: #27ae60;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ================================
   Navigation Styles
   ================================ */

.primary-nav {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 5px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

.hero-content {
    animation: fadeInLeft 0.8s ease;
}

.hero-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-image {
    animation: fadeInRight 0.8s ease;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ================================
   Buttons
   ================================ */

.cta-button-3d {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 0 #1a3a52, var(--shadow-md);
    transition: var(--transition);
    transform: translateY(0);
}

.cta-button-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #1a3a52, var(--shadow-lg);
}

.cta-button-3d:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #1a3a52, var(--shadow-sm);
}

.submit-button-3d {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), #d35400);
    color: var(--bg-white);
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 0 #c0392b, var(--shadow-md);
    transition: var(--transition);
}

.submit-button-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #c0392b, var(--shadow-lg);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 14px 35px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* ================================
   Features Section
   ================================ */

.features-block {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.section-heading {
    text-align: center;
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ================================
   Services Section
   ================================ */

.services-preview {
    padding: 80px 20px;
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.service-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-item h3 {
    font-size: 24px;
    color: var(--primary-color);
    padding: 20px 20px 10px;
}

.service-item p {
    padding: 0 20px 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.service-link {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
}

/* ================================
   Lead Form Section
   ================================ */

.lead-form-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.form-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 35px;
    font-size: 16px;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ================================
   Blog Section
   ================================ */

.blog-preview {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

.blog-cta {
    text-align: center;
}

/* ================================
   Blog List Page
   ================================ */

.blog-list-section {
    padding: 80px 20px;
    min-height: 70vh;
}

.blog-posts-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.blog-post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-post-item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.blog-post-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-post-details h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.post-meta {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.post-meta-info {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 25px;
}

.blog-post-details p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ================================
   Single Post Page
   ================================ */

.post-single-section {
    padding: 60px 20px;
}

.post-single-container {
    max-width: 900px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

.post-featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.post-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
}

.post-body h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-body h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

.post-body ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* ================================
   About Page
   ================================ */

.about-intro {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

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

.about-content h2 {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.about-content p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.team-section {
    padding: 80px 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.team-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    padding: 20px 20px 5px;
}

.team-card p {
    padding: 5px 20px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   Services Page
   ================================ */

.service-details-section {
    padding: 80px 20px;
}

.service-detail {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.service-detail h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-detail p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-detail ul {
    list-style: disc;
    margin-left: 30px;
}

.service-detail ul li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.pricing-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.pricing-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.pricing-card ul li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: 700;
    margin-right: 8px;
}

/* ================================
   Contact Page
   ================================ */

.contact-section {
    padding: 80px 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-item {
    margin-top: 35px;
}

.contact-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* ================================
   Footer
   ================================ */

.site-footer {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 60px 20px 20px;
}

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

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-column p {
    line-height: 1.8;
    color: #b2bec3;
    margin-bottom: 10px;
}

.registration-info {
    font-size: 14px;
    color: #95a5a6;
    margin-top: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b2bec3;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* ================================
   Cookie Banner
   ================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    padding: 25px 20px;
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease;
}

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

.cookie-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cookie-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.cookie-btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.accept-btn {
    background-color: var(--success-color);
    color: var(--bg-white);
}

.accept-btn:hover {
    background-color: #229954;
}

.decline-btn {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.decline-btn:hover {
    border-color: var(--text-dark);
}

/* ================================
   Modal
   ================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-content p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
}

/* ================================
   Animations
   ================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 50px 20px;
    }

    .hero-title {
        font-size: 38px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-post-item {
        grid-template-columns: 1fr;
    }

    .blog-post-item img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        padding: 30px;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

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

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-heading {
        font-size: 30px;
    }

    .post-header h1 {
        font-size: 32px;
    }

    .post-featured-image {
        height: 300px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-heading {
        font-size: 26px;
    }

    .brand-text {
        font-size: 20px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

