/* Base Styles */
:root {
    --primary-blue: #1a4b8c;
    --light-blue: #4a90e2;
    --orange: #f39c12;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --font-primary: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--orange);
    margin: 15px auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--white);
    padding: 10px 0;
}

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

.logo img {
    height: 40px;
}

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

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--orange);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Welcome Section / Slider */
.welcome-section {
    padding: 0;
    margin-top: 80px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.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 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-slide:hover,
.next-slide:hover {
    background: var(--orange);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--orange);
    transform: scale(1.2);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

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

.about-image {
    flex: 1;
    min-width: 300px;
    margin-top: 30px;
}

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

/* Services Section */
.services-section {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--orange);
    transform: rotate(15deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--orange);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--light-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

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

#form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

#form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

#form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--orange);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--orange);
    padding-left: 5px;
}

.footer-newsletter {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--orange);
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.footer-newsletter button {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background: var(--light-blue);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: all 0.5s ease;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-link {
        margin: 15px 0;
        font-size: 1.2rem;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-text,
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-links,
    .footer-newsletter {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .footer-newsletter button {
        border-radius: 30px;
        padding: 12px;
    }
}