/* Global Styles */
:root {
    --primary-color: #00acee;
    --secondary-color: #005f85;
    --accent-color: #ff6b00;
    --text-color: #333333;
    --light-color: #ffffff;
    --light-gray: #f7f7f7;
    --medium-gray: #e0e0e0;
    --dark-gray: #555555;
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    --border-radius: 6px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--light-color);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.2);
}

.secondary-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 4px 10px rgba(0, 172, 238, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
}

.primary-btn:hover {
    background-color: #ff8124;
    color: var(--light-color);
}

.secondary-btn:hover {
    background-color: #0090c5;
    color: var(--light-color);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
    background-color: var(--accent-color);
    color: var(--light-color);
}

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.logo img {
    margin-right: 10px;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

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

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 1em;
    height: 100%;
    display: none;
    align-items: center;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--text-color);
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(0, 95, 133, 0.9), rgba(0, 172, 238, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><path fill="none" stroke="white" stroke-opacity="0.1" stroke-width="2" d="M0,50 L400,50 M0,150 L400,150 M0,250 L400,250 M0,350 L400,350 M50,0 L50,400 M150,0 L150,400 M250,0 L250,400 M350,0 L350,400"/></svg>') center/cover;
    color: var(--light-color);
    padding: 160px 0 100px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: var(--light-color);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

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

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

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.service-box {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.service-icon svg {
    fill: var(--primary-color);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.cta-banner h2::after {
    display: none;
}

.cta-banner p {
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 80px 0;
}

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

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 1.5rem;
}

.about-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.about-image svg {
    width: 100%;
    height: auto;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.faq-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    position: relative;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* News Section */
.news {
    padding: 80px 0;
}

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

.news-card {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
    margin-right: 15px;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo h3 {
    color: var(--light-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-nav-column h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-nav-column ul li {
    margin-bottom: 10px;
}

.footer-nav-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav-column ul li a:hover {
    color: var(--light-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: var(--light-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .nav-toggle-label {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--light-color);
        width: 100%;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 0;
    }
    
    .nav-toggle:checked ~ nav {
        transform: scale(1, 1);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 15px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .service-boxes,
    .news-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
