@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    overflow-x: hidden;
}

body {
    background-color: #fff;
}

::-webkit-scrollbar {
    width: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: white;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 200px;
    z-index: 1000;
    box-shadow: 0 2px 16px hsla(230, 75%, 32%, .15);
    transition: all 0.3s ease;
}

.logo {
    cursor: pointer !important;
}

.navbar .nav {
    list-style: none;
    display: flex;
}

.nav-items {
    padding: 10px !important;
}

.nav-items a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 10px !important;
    z-index: 1 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.nav-items a .link-text {
    margin-left: 8px;
    transition: opacity 0.4s;
}

.nav-items a i {
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.4s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-items a:hover .link-text {
    opacity: 0;
}

.nav-items a:hover i {
    opacity: 1;
}

.nav-items a::before {
    content: '';
    width: 100%;
    height: 0;
    background: hsl(230, 12%, 40%);
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 8px;
    transition: height 0.4s ease;
}

.nav-items a:hover::before {
    height: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('A.png') center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
 
}

.hero-content {
    max-width: 800px;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);font-family: "Zain", sans-serif; font-weight: 800;
  font-style: normal;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
    line-height: 1.6;
}

.banner-text {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadein 1.2s ease-out;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: hsl(0, 0%, 0%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: hsl(230, 12%, 30%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.project-item {
    margin-bottom: 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.project-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.project-content.reverse {
    flex-direction: row-reverse;
}

.project-info {
    flex: 1;
    max-width: 500px;
}

.project-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #5a6c7d;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.tech-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: hsl(230, 12%, 40%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: hsl(230, 12%, 30%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background-color: #e9ecef;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: hsl(230, 12%, 40%);
}

.image-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
    .navbar {
        padding: 0 20px;
    }

    .project-content,
    .project-content.reverse {
        flex-direction: column;
        text-align: center;
    }

    .project-info {
        max-width: 100%;
        margin-bottom: 40px;
    }

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

    .image-placeholder {
        max-width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .navbar {
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-items {
        padding: 10px 0;
    }

    .nav-items a {
        padding: 10px 0;
    }

    .nav-items a::before {
        height: 0;
    }

    .nav-items a .link-text,
    .nav-items a i {
        opacity: 1;
    }

    .fa-solid {
        display: none !important;
    }

    .menu-toggle {
        margin-left: 10px;
        margin-top: 5px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .banner-text {
        font-size: 1.6rem;
        padding: 1rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-title {
        font-size: 1.7rem;
    }

    .project-item {
        margin-bottom: 70px;
        min-height: auto;
    }

    .image-placeholder {
        height: 250px;
    }

    .image-placeholder i {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 768px) {
    .nav.hidden {
        display: none;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle i {
        font-size: 24px;
        color: #fff;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
}.project-row {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 60px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}
.project-row:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.project-row.reverse {
    flex-direction: row-reverse;
}

/* ---------- Image side ---------- */
.project-image {
    flex: 0 0 600px;
}
.project-image img {
    width: 200%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}
.project-row.reverse .project-image img {
    border-radius: 0 8px 8px 0;
}

/* ---------- Text side ---------- */
.project-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.project-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}
.project-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}
.tech-tag {
    background: #eee;
    color: #333;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}
.visit-button {
    align-self: flex-start;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}
.visit-button:hover {
    background: #333;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .project-row {
        flex-direction: column;
        text-align: left;
    }
    .project-row.reverse {
        flex-direction: column;
    }
    .project-image {
        flex: none;
        height: 200px;
    }
    .project-image img {
        border-radius: 8px 8px 0 0;
    }
    .project-row.reverse .project-image img {
        border-radius: 8px 8px 0 0;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    .project-name {
        font-size: 1.3rem;
    }
    .project-description {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .project-info {
        padding: 15px;
    }
    .tech-tag {
        font-size: 0.75rem;
    }
    .visit-button {
        width: 100%;
        text-align: center;
    }
}
.special-product-section {
    padding: 80px 0;
    background: #fff;
}

/* Title and subtitle */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #000;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ---------- Product container ---------- */
.special-product-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ---------- Product row ---------- */
.product-row.special-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    background: #f9f9f9;
    border: 2px solid #000;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}
.special-product::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}
.special-product:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* ---------- Image section ---------- */
.product-image {
    width: 1200px;
    height: 200px;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* ---------- Text section ---------- */
.product-info {
    width: 100%;
    padding: 15px;
    text-align: center;
}
.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}
.product-description {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.visit-button {
    display: inline-block;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 20px;
}
.visit-button:hover {
    background: #333;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    .product-name {
        font-size: 1.2rem;
    }
    .product-description {
        font-size: 0.85rem;
    }
}
@media (max-width: 480px) {
    .product-info {
        padding: 10px;
    }
    .product-image {
        height: 150px;
    }
    .visit-button {
        width: 100%;
    }
    .special-product::before {
        top: -8px;
    }
}
.demo-section {
    padding: 80px 0;
    background: #fff;
}

/* Title and subtitle */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #000;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ---------- Demo container ---------- */
.demo-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ---------- Demo row ---------- */
.demo-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    background: #f9f9f9;
    border: 2px solid #000;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}
.demo-row:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.demo-row::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ---------- Image section ---------- */
.demo-image {
    width: 100%;
    height: 250px;
}
.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* ---------- Text section ---------- */
.demo-info {
    width: 100%;
    padding: 20px;
    text-align: center;
}
.demo-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}
.demo-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.demo-features {
    text-align: left;
    margin-bottom: 1.5rem;
}
.demo-features h4 {
    font-size: 1rem;
    color: #000;
    margin-bottom: 0.5rem;
}
.demo-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.demo-features li {
    font-size: 0.9rem;
    color: #555;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}
.demo-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}
.demo-button {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: pointer;
}
.demo-button:hover {
    background: #333;
}

/* ---------- Modal ---------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s;
}
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    position: relative;
    animation: slideIn 0.3s;
}
.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}
.close:hover {
    color: #333;
}
#demoFrame {
    width: 100%;
    height: 100%;
    border-radius: 0 0 8px 8px;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    .demo-name {
        font-size: 1.3rem;
    }
    .demo-description {
        font-size: 0.85rem;
    }
    .demo-features li {
        font-size: 0.85rem;
    }
    .modal-content {
        width: 95%;
        height: 85%;
        margin: 10% auto;
    }
}
@media (max-width: 480px) {
    .demo-info {
        padding: 15px;
    }
    .demo-image {
        height: 180px;
    }
    .demo-button {
        width: 100%;
    }
    .demo-row::before {
        top: -8px;
    }
}


.footer-section {
    padding: 20px 0;
    background: #f9f9f9;
    border-top: 1px solid #ddd;  font-size: 0.9rem;
    color: #444;
    font-weight: 500;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;  font-size: 0.9rem;
    color: #444;
    font-weight: 500;
}

.footer-info {
    font-size: 0.9rem;
    color: #444;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    font-size: 0.9rem;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #333;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        gap: 15px;
    }
}
@media (max-width: 480px) {
    .footer-info {
        font-size: 0.85rem;
    }
    .footer-link {
        font-size: 0.85rem;
    }
}.about-contact-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #000;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ---------- About Us ---------- */
.about-us {
    margin-bottom: 80px;
}
.about-content {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}
.about-text {
    flex: 1;
    max-width: 500px;
}
.about-text p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.about-image {
    flex: 1;
    max-width: 400px;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* ---------- Contact Us ---------- */
.contact-us {
    margin-bottom: 40px;
}
.contact-content {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-info {
    flex: 1;
    max-width: 400px;
}
.contact-info h3 {
    font-size: 1.3rem;
    color: #000;
    font-weight: 600;
    margin-bottom: 1rem;
}
.contact-info p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.contact-form {
    flex: 1;
    max-width: 400px;
}
.contact-form h3 {
    font-size: 1.3rem;
    color: #000;
    font-weight: 600;
    margin-bottom: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #000;
}
.form-group textarea {
    resize: vertical;
}
.submit-button {
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}
.submit-button:hover {
    background: #333;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-text,
    .about-image {
        max-width: 100%;
    }
    .about-image {
        max-width: 500px;
    }
    .contact-content {
        flex-direction: column;
        align-items: center;
    }
    .contact-info,
    .contact-form {
        max-width: 500px;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    .about-text p {
        font-size: 0.9rem;
    }
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.2rem;
    }
}
@media (max-width: 480px) {
    .about-us,
    .contact-us {
        margin-bottom: 40px;
    }
    .about-text p,
    .contact-info p {
        font-size: 0.85rem;
    }
    .form-group input,
    .form-group textarea {
        font-size: 0.85rem;
    }
    .submit-button {
        width: 100%;
    }
}