/* Base Styles */
:root {
    --primary-color: #30B4C8;
    --primary-dark: #0e8a9d;
    --secondary-color: #0F0F1A;
    --accent-color: #4cc9f0;
    --text-light: #666;
    --text-dark: #333;
    --white: #fff;
    --light-bg: #f5fafd;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    overflow-x: hidden;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.9rem;
}

.slogan {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info i {
    font-size: 1rem;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

nav.scrolled {
    padding: 10px 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 55px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.1);
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links li:hover::after {
    width: 100%;
}


/* Active page styling */
nav ul li a.active {
    color: var(--primary-color);
    font-weight: bold;
}


/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: #f1f9fd;
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-toggle::after {
    content: '▾';
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}


/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(48, 180, 200, 0.8), rgba(48, 180, 200, 0.7)), url('/api/placeholder/1600/600') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 5%;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Main Content Section */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.about-section h1 {
    background-color: var(--primary-color);
    text-align: center;
    color: white;
    border-radius: 10px;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    font-size: 24px;
    font-weight: 600;
}

.content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.about-image {
    width: 50%;
    max-width: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}


.about-text {
    width: 60%;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
}

.about-text p {
    margin-bottom: 20px;
}


/* Additional responsive adjustments */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
}


/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.stat-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.stat-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card .number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card .label {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
}

/* Product Cards */
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.product-card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.product-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.product-card-body {
    padding: 25px;
}

.product-card-body ul {
    list-style: none;
    margin-top: 15px;
}

.product-card-body ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.product-card-body ul li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Table Styling */
.product-table-container {
    overflow-x: auto;
    margin: 30px 0;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

table th, table td {
    padding: 18px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:nth-child(even) {
    background-color: #f8f9fa;
}

table ul {
    padding-left: 20px;
    margin: 0;
}

table ul li {
    margin-bottom: 8px;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #2896a6);
    color: white;
    text-align: center;
    padding: 60px 40px;
    margin: 50px 0 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(244, 247, 248, 0.753);
}


/* Styling for the button that opens the popup */
.open-popup-btn {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.open-popup-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
        
        
/* Styling for the popup overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    }
        
        /* Styling for the popup content */
        .popup-content {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            width: 80%;
            max-width: 500px;
            position: relative;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        }
        
        /* Styling for the close button */
        .close-popup-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: transparent;
            border: none;
            font-size: 20px;
            cursor: pointer;
        }
        
        /* Styling for the form */
        .form-group {
            margin-bottom: 15px;
        }
        
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }
        
        button[type="submit"] {
            background-color: #2896a6;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        
        button[type="submit"]:hover {
            background-color: #2896a6;
        }
        
        .success-message {
            color: #2896a6;
            font-weight: bold;
            margin-top: 10px;
            display: none;
        }
        

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.contact-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.contact-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .top-bar, .navbar {
        padding: 10px 20px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .aktech-newsletter-form {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }
}


/* Footer */
.footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-about p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(48, 180, 200, 0.3);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-link:before {
    content: "→";
    color: var(--primary-color);
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-link:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info-item i {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.newsletter-button {
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(48, 180, 200, 0.3);
}

.back-to-top i {
    font-size: 1.2rem;
}



@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


@media screen and (max-width: 768px) {
    .mobile-toggle {
        display: block; 
    }
}