:root {
    --primary: #0099ff;
    --primary-light: #66c1ff;
    --dark: #121212;
    --light: #f5f5f5;
    --gray: #777777;
    --gradient: linear-gradient(135deg, var(--primary), #0066cc);
}

* {
    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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    background-color: var(--dark);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1rem 0;
    background-color: rgba(18, 18, 18, 0.95);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    perspective: 1000px;
}

.logo-3d {
    display: inline-block;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.logo-3d img {
    height: 4vh;
    transition: transform 0.1s ease-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Add a subtle shadow effect */
.logo-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transform: translateZ(-1px);
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-3d:hover::after {
    opacity: 1;
}

/* Add a subtle glow effect on hover */
.logo-3d:hover img {
    filter: drop-shadow(0 0 10px rgba(0, 153, 255, 0.3));
}

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

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

section {
    padding: 5rem 0;
}

.hero {
    background-color: var(--dark);
    color: white;
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: 10vh !important;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    height: 50vh;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.disabled-product-btn {
    background: #c2c2c2;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.disabled-product-btn:hover {
    box-shadow: none !important;
    transform: none !important;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--gray);
}

.team {
    background-color: var(--light);
}

.team-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    width: 40%;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-photo {
    height: 280px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-photo img {
    width: 60%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.team-social a {
    color: var(--gray);
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--primary);
}

.products {
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card {
    width: 50%;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 50%;
}

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

.product-image {
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-image img {
    max-width: 60%;
    max-height: 100%;
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.contact {
    background-color: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--gray);
}

.contact-details li i {
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
    min-width: 20px;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .products-grid {
        flex-wrap: wrap !important;
    }

    .product-card {
        width: 100%;
        max-width: 100%;
    }

    .team-grid {
        flex-wrap: wrap;
    }
    
    .team-member {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 2rem;
        text-wrap: wrap;
        max-width: 96vw;
        text-align: center;
    }
    
    .hero p {
        margin: 0 auto 2rem;
        text-wrap: wrap;
        max-width: 96vw;
    }
    
    .about-content {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        display: none;
        height: 30vh;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark);
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active ul li {
        margin: 0;
    }
    
    nav.active ul li a {
        display: block;
        padding: 0.8rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }

    .hero-image img {
        height: 30vh;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
}

.modal h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    font-size: 2rem;
}

.modal-options {
    display: grid;
    gap: 1.5rem;
}

.modal-option {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal-option:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.1);
}

.modal-option h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.modal-option p {
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .modal h2 {
        font-size: 1.5rem;
    }
    
    .modal-option {
        padding: 1rem;
    }
}

.typing-text {
    color: #333;
    border-right: 3px solid #333;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto;
    animation: blink-caret 0.75s step-end infinite;
    padding: 10px;
    display: inline-block;
    font-size: 2.3rem !important;
    font-weight: 700;
    letter-spacing: revert;
    padding-left: 0;
    font-family: monospace;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #333 }
}

.contact-mail-btn {
    margin-bottom: 1rem !important;

    a {
        font-size: 1.2rem;
        text-decoration: none !important;
        color: white;
        background-color: #0066cc;
        padding: 10px;
        border-radius: 10px;
    }
}

/* Contact Section Styles */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    color: #3a3a3a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: #6c63ff;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #777;
    font-size: 18px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #3a3a3a;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: #6c63ff;
    bottom: 0;
    left: 0;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.contact-details li:hover {
    transform: translateX(5px);
}

.contact-details li i {
    font-size: 24px;
    margin-right: 15px;
    color: #6c63ff;
    width: 40px;
    height: 40px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-details li:hover i {
    background: #6c63ff;
    color: #fff;
}

.contact-details li span {
    font-size: 16px;
    color: #444;
}

.contact-mail-btn {
    margin: 30px 0;
}

.contact-mail-btn a {
    display: inline-block;
    padding: 15px 25px;
    background: #6c63ff;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.contact-mail-btn a:hover::before {
    left: 100%;
}

.contact-mail-btn a:hover {
    background: #5751da;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
    transform: translateY(-3px);
}

.team-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.team-social a {
    width: 45px;
    height: 45px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6c63ff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #6c63ff;
    color: #fff;
    transform: translateY(-5px);
}

/* Floating shapes for decoration */
.shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.2;
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: #6c63ff;
    top: 20%;
    left: 10%;
    border-radius: 41% 59% 47% 53% / 34% 44% 56% 66%;
    animation: floating 8s infinite alternate;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: #ff6b6b;
    top: 60%;
    right: 10%;
    border-radius: 62% 38% 73% 27% / 45% 45% 55% 55%;
    animation: floating 10s infinite alternate-reverse;
}

.shape-3 {
    width: 70px;
    height: 70px;
    background: #feca57;
    bottom: 20%;
    left: 15%;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: floating 7s infinite alternate;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(15px, 15px) rotate(10deg);
    }
    100% {
        transform: translate(-15px, 10px) rotate(-10deg);
    }
}

/* Animated background gradient */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-title h2 {
    background: linear-gradient(90deg, #6c63ff, #ff6584, #6c63ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 4s linear infinite;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Make the second contact info appear with delay */
.fade-in:nth-child(2) {
    animation-delay: 0.3s;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

.team-section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    img {
        height: 6vh
    }
}