/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #ecf0f1;
    --dark-bg: #34495e;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --white: #ffffff;
    --border-color: #bdc3c7;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

body.no-scroll {
    overflow: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

a:hover {
    color: var(--accent-color);
}

/* ============================================
   LAYOUT
   ============================================ */

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

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

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

main {
    display: block;
}

section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 0;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 100%;
    }
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: 15px 0;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.alert .container {
    background-color: #ecf0f1;
    border-left: 4px solid var(--secondary-color);
    padding: 12px 16px;
    border-radius: 4px;
}

.alert-success .container {
    border-left-color: #27ae60;
    background-color: #d5f4e6;
}

.alert-error .container {
    border-left-color: #e74c3c;
    background-color: #fadbd8;
}

/* ============================================
   HEADER
   ============================================ */

.top-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-header a {
    color: var(--secondary-color);
}

.top-header a:hover {
    color: var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.company-tagline {
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.contact-item i {
    color: var(--secondary-color);
}

.header-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.header-buttons .btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.header-buttons .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .header-info {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .top-header {
        padding: 8px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .header-info {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .header-buttons {
        width: 100%;
    }

    .header-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-item {
        font-size: 0.85rem;
    }

    .company-tagline {
        display: none;
    }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    min-height: 70px;
    padding: 0;
}

.logo h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.logo i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

/* ============================================
   DROPDOWN MENU
   ============================================ */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    border-radius: 0;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.menu-close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 1000;
    transition: var(--transition);
}

.menu-close:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .menu-close.active {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        transform: translateX(100%);
        transition: var(--transition);
        padding: 80px 20px 20px;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 15px 20px;
        color: var(--white);
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: rgba(255, 255, 255, 0.05);
        margin-top: 0;
        padding: 0;
    }

    .dropdown:not(.open) .dropdown-menu {
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9);
        padding: 10px 40px;
    }

    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color);
    }

    .dropdown > a i {
        transition: var(--transition);
    }

    .dropdown.open > a i {
        transform: rotate(180deg);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: var(--white);
    padding: 80px 0;
}

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

.hero-text h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat h3 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.hero-buttons .btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.hero-buttons .btn-primary:hover {
    background-color: #2980b9;
    color: var(--white);
    transform: translateY(-2px);
}

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

@media (max-width: 1024px) {
    .hero {
        padding: 60px 0;
    }

    .hero-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .stat h3 {
        font-size: 1.8rem;
    }

    .stat p {
        font-size: 0.85rem;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.feature p {
    margin: 0;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-preview {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-content p {
    flex-grow: 1;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-preview {
    background-color: var(--light-bg);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-item {
        height: 200px;
    }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects-gallery {
    background-color: var(--white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-primary);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

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

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    height: 280px;
    opacity: 1;
    transform: scale(1);
}

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

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .project-item {
        height: 220px;
    }

    .filter-buttons {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-item {
        height: 250px;
    }

    .filter-buttons {
        gap: 8px;
        margin-bottom: 25px;
    }

    .filter-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    color: var(--white);
    padding: 60px 20px;
    border-radius: 8px;
    margin: 60px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.cta-section .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
        margin: 40px 0;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-section {
    display: flex;
    flex-direction: column;
}

.contact-form-section h2 {
    margin-bottom: 15px;
}

.contact-form-section > p {
    margin-bottom: 25px;
}

.form-notification {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease-out;
}

.form-notification.hidden {
    display: none;
}

.form-notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-notification.success::before {
    content: '✓';
    font-size: 1.2rem;
    font-weight: bold;
}

.form-notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-notification.error::before {
    content: '✕';
    font-size: 1.2rem;
    font-weight: bold;
}

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

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.contact-form button {
    align-self: flex-start;
}

.contact-details {
    display: grid;
    gap: 30px;
}

.contact-details h2,
.contact-details h3 {
    margin-bottom: 15px;
}

.contact-info-vertical {
    display: grid;
    gap: 20px;
}

.contact-item-vertical {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item-vertical i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item-vertical div h4 {
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.contact-item-vertical div p {
    margin: 0;
    font-size: 0.95rem;
}

.business-hours,
.map-container,
.contact-block {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.contact-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-info-group {
    display: flex;
    flex-direction: column;
}

.contact-info-group h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--primary-color);
}

.contact-info-group p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.business-hours h3,
.business-hours h4,
.map-container h3,
.map-container h4,
.contact-block h3,
.contact-block h4 {
    margin-bottom: 15px;
}

.business-hours p,
.contact-block p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.business-hours p:last-child,
.contact-block p:last-child {
    margin-bottom: 0;
}

.contact-block a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-block a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.business-hours ul {
    list-style: none;
    padding: 0;
}

.business-hours li {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.business-hours li:last-child {
    border-bottom: none;
}

iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .contact-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .contact-item-vertical {
        gap: 12px;
    }

    .business-hours,
    .map-container,
    .contact-block {
        padding: 15px;
    }

    iframe {
        height: 200px;
    }
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    background-color: var(--white);
    padding: 60px 0;
}

.blog-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.blog-post {
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 350px 1fr;
}

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

.blog-image {
    min-height: 250px;
}

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

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-content h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.blog-key-points {
    margin: 15px 0;
    padding-left: 20px;
    color: var(--text-primary);
    font-weight: 500;
}

.blog-key-points li {
    margin-bottom: 5px;
}

.blog-callout {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    font-weight: 500;
    color: #856404;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}

.blog-sidebar {
    display: grid;
    gap: 25px;
}

.sidebar-widget {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.sidebar-widget h4 {
    margin-bottom: 15px;
}

.sidebar-widget h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.category-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.category-list li {
    padding: 8px 12px;
    background-color: var(--white);
    border-radius: 4px;
    border-left: 3px solid var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

.category-list li:hover {
    background-color: #e3f2fd;
    transform: translateX(5px);
}

.cta-widget {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    color: var(--white);
}

.cta-widget h3,
.cta-widget h4 {
    color: var(--white);
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.95);
}

.cta-widget .btn {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
}

.cta-widget .btn:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

@media (max-width: 1024px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .blog-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
    }

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

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-content h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   ARTICLE PAGE
   ============================================ */

.article-section {
    background-color: var(--white);
    padding: 60px 0;
}

.article-content {
    display: grid;
    gap: 40px;
}

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

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-body {
    display: grid;
    gap: 40px;
}

.article-text {
    line-height: 1.8;
    color: var(--text-primary);
}

.article-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.article-text p:last-of-type {
    margin-bottom: 0;
}

.article-key-points {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin: 30px 0;
}

.article-key-points h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.article-key-points ul {
    list-style: none;
    padding: 0;
}

.article-key-points li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.article-key-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.article-callout {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.article-callout p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    font-style: italic;
}

.article-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.article-actions .btn {
    flex: 1;
    min-width: 200px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.article-meta .category,
.article-meta .date {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .article-section {
        padding: 40px 0;
    }

    .article-image img {
        height: 250px;
    }

    .article-content {
        gap: 30px;
    }

    .article-body {
        gap: 30px;
    }

    .article-text p {
        font-size: 1rem;
        text-align: left;
    }

    .article-key-points,
    .article-callout {
        padding: 20px;
    }

    .article-actions {
        flex-direction: column;
        gap: 10px;
    }

    .article-actions .btn {
        width: 100%;
    }
}

/* ============================================
   PRIVACY SECTION
   ============================================ */

.privacy-section {
    background-color: var(--white);
    padding: 60px 0;
}

.privacy-content {
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.privacy-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin-bottom: 15px;
}

.contact-info a {
    color: var(--secondary-color);
    font-weight: 600;
}

.privacy-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 25px;
    }
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */

.services-overview {
    background-color: var(--white);
}

.services-summary {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.summary-text h3 {
    margin-bottom: 15px;
}

.service-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    margin: 25px 0;
}

.service-list li {
    background-color: var(--light-bg);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-list li:hover {
    background-color: #e3f2fd;
}

.summary-card {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.summary-card h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.summary-card ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.summary-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.summary-card li::before {
    content: "";
    color: var(--secondary-color);
    font-weight: bold;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .services-summary {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-summary {
        gap: 25px;
    }
}

/* ============================================
   SERVICE DETAIL SECTIONS
   ============================================ */

.services-detail {
    background-color: var(--light-bg);
}

.service-section {
    margin-bottom: 50px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-section.reverse .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-section.reverse .service-content > *:first-child {
    order: 2;
}

.service-section.reverse .service-content > *:last-child {
    order: 1;
}

.service-text h3 {
    margin-bottom: 20px;
}

.service-text h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-text p {
    margin-bottom: 15px;
}

.service-text ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.service-text li {
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.service-text li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .service-section.reverse .service-content > *:first-child {
        order: unset;
    }

    .service-section.reverse .service-content > *:last-child {
        order: unset;
    }
}

/* ============================================
   MODALS & LIGHTBOX
   ============================================ */

.lightbox,
.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.open,
.project-modal[style*="display: block"] {
    display: flex;
}

.lightbox-content,
.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.project-modal .modal-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
}

#modalImage {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(52, 152, 219, 0.8);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.modal-nav:hover {
    background-color: var(--secondary-color);
}

.modal-prev {
    left: 15px;
}

.modal-next {
    right: 15px;
}

.modal-info {
    padding: 25px;
    background-color: var(--light-bg);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.modal-info h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.modal-info p {
    margin: 0;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }

    .project-modal .modal-content {
        max-width: 95%;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .modal-prev {
        left: 10px;
    }

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

/* ============================================
   NOTIFICATIONS
   ============================================ */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 10001;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background-color: #27ae60;
}

.notification-error {
    background-color: #e74c3c;
}

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

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        margin: 0 auto;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-section a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-bottom {
    display: grid;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        gap: 25px;
        margin-bottom: 20px;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
    }
}
