/* Root Variables */
:root {
    --deep-ocean: #005f92;
    --mid-ocean: #0080c0;
    --light-ocean: #4cb0e6;
    --ocean-accent: #00b4db;
    --pale-blue: #e8f7ff;
    --white-foam: #ffffff;
    --coral: #ff7066;
    --text-dark: #333333;
    --text-muted: #777777;
    --light-gray: #f5f8fa;
    --box-shadow: 0 8px 30px rgba(0, 95, 146, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white-foam);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--coral);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 112, 102, 0.3);
    font-size: 16px;
}

.btn:hover {
    background-color: #ff5a4e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 112, 102, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--deep-ocean);
    color: var(--deep-ocean);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--deep-ocean);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 95, 146, 0.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-ocean);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-ocean), var(--ocean-accent));
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.97);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 45px;
    margin-right: 12px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-ocean);
    margin: 0;
}

.logo h1 span {
    color: var(--ocean-accent);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--deep-ocean);
    transition: all 0.3s ease;
}

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

.nav-item {
    margin: 0 15px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--deep-ocean), var(--ocean-accent));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--deep-ocean);
}

.nav-link:hover:before {
    width: 100%;
}

.nav-btn {
    margin-left: 15px;
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 95, 146, 0.8), rgba(76, 176, 230, 0.7)), url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    color: var(--white-foam);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--white-foam);
    transform: skewY(-3deg);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    min-width: 180px;
}

.hero-btn.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.hero-btn.btn-outline:hover {
    background-color: white;
    color: var(--deep-ocean);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white-foam);
    position: relative;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep-ocean);
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

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

.feature {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    background: linear-gradient(135deg, var(--ocean-accent), var(--deep-ocean));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 95, 146, 0.2);
}

.feature-icon i {
    font-size: 1.3rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--deep-ocean);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--pale-blue);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--pale-blue);
    transform: skewY(-3deg);
    z-index: 1;
}

.services-container {
    position: relative;
    z-index: 2;
}

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

.service-card {
    background-color: var(--white-foam);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 95, 146, 0.15);
}

.service-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--deep-ocean);
}

.service-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--ocean-accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

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

.service-link:hover i {
    margin-left: 10px;
}

/* Why Choose Us Section */
.why-us {
    padding: 100px 0;
    background-color: var(--white-foam);
}

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

.why-us-card {
    background-color: var(--white-foam);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    height: 100%;
}

.why-us-card:hover {
    transform: translateY(-10px);
    border-color: var(--ocean-accent);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ocean-accent), var(--deep-ocean));
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(0, 95, 146, 0.2);
}

.why-us-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--deep-ocean);
}

.why-us-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--pale-blue);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--pale-blue);
    transform: skewY(-3deg);
    z-index: 1;
}

.team-container {
    position: relative;
    z-index: 2;
}

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

.team-card {
    background-color: var(--white-foam);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 95, 146, 0.15);
}

.team-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

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

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 20px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background-color: var(--white-foam);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    color: var(--deep-ocean);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-social a:hover {
    background-color: var(--deep-ocean);
    color: var(--white-foam);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--deep-ocean);
}

.team-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Testimonial Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--white-foam);
}

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

.testimonial-card {
    background-color: var(--white-foam);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border-top: 4px solid var(--ocean-accent);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 95, 146, 0.15);
}

.testimonial-card:before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2rem;
    color: rgba(0, 95, 146, 0.1);
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--deep-ocean);
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--pale-blue);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--pale-blue);
    transform: skewY(-3deg);
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
}

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

.contact-item {
    background-color: var(--white-foam);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 95, 146, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ocean-accent), var(--deep-ocean));
    color: white;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 95, 146, 0.2);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--deep-ocean);
}

.contact-item p, .contact-item a {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-item a:hover {
    color: var(--deep-ocean);
}

/* Footer */
.footer {
    background-color: var(--deep-ocean);
    color: var(--white-foam);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--deep-ocean);
    transform: skewY(-3deg);
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
}

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

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg, var(--ocean-accent), var(--light-ocean));
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

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

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white-foam);
}

.footer-logo h3 span {
    color: var(--light-ocean);
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 10px;
}

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

.footer-social a:hover {
    background: var(--ocean-accent);
    transform: translateY(-3px);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    color: var(--light-ocean);
    transition: all 0.3s ease;
}

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

.footer-links a:hover i {
    color: var(--ocean-accent);
}

.footer-hours {
    margin-bottom: 15px;
}

.footer-hours p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-hours strong {
    color: var(--white-foam);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(255, 112, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.back-to-top:hover {
    background-color: var(--deep-ocean);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white-foam);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 80px 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 25px 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .nav-btn {
        margin: 25px 0 0;
        width: 200px;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-image, .about-content {
        width: 100%;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about, .services, .why-us, .team, .testimonials, .contact {
        padding: 70px 0;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}
