/* Global Styles */
:root {
    --primary: #008080;  
    --secondary: #6a3093; 
    --dark: #263238;
    --light: #f5f7fa;
    --accent: #ff6d00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

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

.btn:hover {
    background-color: #05abab;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background-color: var(--accent);
}

.btn-accent:hover {
    background-color: #dd2c00;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

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

.logo img {
    height: 50px;
    margin-right: 0px;
    border-radius: 20px;
}

.logo h1 {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

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

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

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

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

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

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

#nav-menu i {
    color: #008080;
    margin-right: 5px; 
}


.login-btn {
    border: 1px solid #008080 !important; 
    background-color: white !important;
    color: #008080 !important; 
    font-weight: 500;
    padding: 8px 20px !important;
    margin-left: 10px;
    border-radius: 10px;
}

.login-btn:hover {
    background-color: #008080 !important; 
    color: white !important; 
    border: 1px solid white !important; 
    border-radius: 10px;
}

.login-btn:hover i {
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 5px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #006666, #2d3436);
    color: white;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 1s forwards 0.5s;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text h1 span {
    color: #00b894;
    position: relative;
    display: inline-block;
}

.hero-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 184, 148, 0.3);
    z-index: -1;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.project-highlights {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.project-badge {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.project-badge:hover {
    background-color: rgba(0, 184, 148, 0.2);
    transform: translateY(-3px);
}

.project-badge i {
    margin-right: 8px;
    color: #00b894;
    font-size: 0.9rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #00b894;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-accent {
    background-color: #6c5ce7;
}

.btn-accent:hover {
    background-color: #5649c0;
}

.hero-image {
    flex: 1;
    position: relative;
    transform: translateX(50px);
    opacity: 0;
    animation: slideInRight 1s forwards 0.5s;
}

.hero-image-container {
    /* background-color: white; */
    position: relative;
    width: 100%;
    max-width: 450px;
    margin-left: auto;
}

.hero-image-container img {
    background-color: white; 
    width: 100%;
    border-radius: 15px;
    height: auto;
    max-height: 300px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.hero-image-container:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.project-tag {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #e17055;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 3;
    animation: pulse 2s infinite;
    font-size: 0.8rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animation Keyframes */
@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Products Section */
.products {
    background-color: var(--light);
}

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

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 180px;
    overflow: hidden;
}

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

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

.product-content {
    padding: 20px;
}

.product-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 128, 128, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.product-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.product-features {
    margin-bottom: 20px;
}

.product-features span {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: 0.85rem;
}

.product-features i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    background-color: white;
}

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

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px #008080;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* About Section */
.about {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    position: relative;
}

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

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary);
    border-radius: 10px;
    top: 15px;
    left: 15px;
    z-index: -1;
    transition: all 0.5s ease;
}

.about-image:hover::before {
    top: 10px;
    left: 10px;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-features {
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feature-icon {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-right: 12px;
    margin-top: 3px;
}

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

.feature-text p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.9rem;
}


/* Testimonials Section */
.testimonials {
    background-color: var(--light);
}

.testimonial-slider {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 10px #029e9e;
    text-align: center;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.author-info p {
    color: #777;
    font-size: 0.85rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary);
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

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

.contact-info p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-details {
    margin-bottom: 25px;
}

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

.contact-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

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

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

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

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

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

.footer-col p {
    margin-bottom: 15px;
    color: #bbb;
    line-height: 1.6;
    font-size: 0.9rem;
}

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

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

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    font-size: 0.9rem;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footer-contact-icon {
    margin-right: 12px;
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 3px;
}

.footer-contact-text {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-contact-text a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-text a:hover {
    color: white;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    color: #bbb;
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding: 140px 0 90px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
        transform: translateX(0);
        animation: none;
        opacity: 1;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .project-highlights {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
        transform: translateX(0);
        animation: none;
        opacity: 1;
    }

    .hero-image-container {
        margin: 0 auto;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .hero {
        padding: 130px 0 80px;
    }

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

    .hero-text p {
        font-size: 1rem;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 12px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .testimonial-slide {
        padding: 25px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero {
        padding: 120px 0 70px;
    }

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

    .project-highlights {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filter {
        justify-content: flex-start;
    }
    
    .filter-btn {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        margin-bottom: 25px;
    }
    
    .footer-col:last-child {
        margin-bottom: 0;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-image-container img {
        max-height: 300px;
    }
    
    .project-tag {
        top: -10px;
        right: -10px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
}