/* Global Styles */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #1a2530;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Header Styles */

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.logo p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover, 
nav ul li a.active {
    color: #2c3e50;
}

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

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

/* Hero Section */

.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* About Section */

.about-section {
    padding: 60px 0;
    background-color: white;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #2c3e50;
}

/* Services Section */

.services-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card ul {
    list-style-type: none;
    margin-top: 20px;
}

.service-card ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

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

.why-choose {
    padding: 60px 0;
    background-color: white;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* About Page */

.about-content {
    padding: 60px 0;
    background-color: white;
}

.about-text {
    margin-bottom: 40px;
}

.about-text h2, 
.about-text h3 {
    color: #2c3e50;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.values {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Portfolio Page */

.portfolio-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: #f8f9fa;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active, 
.filter-btn:hover {
    background-color: #2c3e50;
    color: white;
}

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

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 16 / 9;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

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

.testimonials {
    padding: 60px 0;
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.testimonial-card::before {
    content: "\201C";
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: 10px;
    color: #3498db;
    opacity: 0.3;
}

.client-info {
    margin-top: 20px;
    text-align: right;
}

.client-info h4 {
    color: #2c3e50;
    font-size: 1.1rem;
}

/* Contact Page */

.contact-content {
    padding: 60px 0;
    background-color: white;
}

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

.contact-info h2, 
.contact-form h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.detail-item {
    margin-bottom: 20px;
}

.detail-item h3 {
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.detail-item h3 .icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.map-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.map-container {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */

footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-logo h3 {
    color: white;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .service-grid, 
    .portfolio-grid, 
    .features, 
    .testimonial-grid, 
    .values-grid {
        grid-template-columns: 1fr;
    }
}
