* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
    background: #f0f4f8;
    color: #333;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a2a44, #2a6dd9);
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

header.hidden {
    transform: translateY(-100%);
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease;
}

.logo h1 i {
    color: #ffd700;
    font-size: 24px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #1a2a44;
    background: #ffd700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-btn {
    background: #ffd700;
    color: #1a2a44;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
    transform: scale(1.05);
    background: #ffec80;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    height: 70vh;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('digisys/images/aboutdigisys.jpg') #1a2a44;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInFromLeft 1s ease;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.hero-content h1 i {
    color: #ffd700;
    font-size: 40px;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    animation: slideInFromRight 1s ease;
    margin-bottom: 30px;
}

.hero-content .cta {
    background: linear-gradient(135deg, #2a6dd9, #1a4db3);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.2s ease;
}

.hero-content .cta:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1a4db3, #2a6dd9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Products Section */
.products {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff, #f0f4f8);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a2a44;
    margin-bottom: 50px;
    animation: fadeIn 1s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #2a6dd9;
    font-size: 32px;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #2a6dd9, #ffd700);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

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

.product-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: techFadeIn 0.8s ease-out forwards;
    opacity: 0;
    border: 1px solid #e0e7ff;
}

.product-box:nth-child(1) { animation-delay: 0.1s; }
.product-box:nth-child(2) { animation-delay: 0.2s; }
.product-box:nth-child(3) { animation-delay: 0.3s; }
.product-box:nth-child(4) { animation-delay: 0.4s; }

.product-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff, #f5faff);
    border-color: #2a6dd9;
}

.product-box i {
    font-size: 50px;
    color: #2a6dd9;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-box:hover i {
    color: #ffd700;
    transform: scale(1.2) rotate(5deg);
}

.product-box h3 {
    font-size: 24px;
    color: #1a2a44;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-box h4 {
    font-size: 18px;
    color: #2a6dd9;
    margin: 15px 0 10px;
    font-weight: 500;
}

.product-box ul {
    list-style: none;
    padding: 0;
}

.product-box li {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.product-box li i {
    font-size: 18px;
    color: #2a6dd9;
    transition: all 0.3s ease;
}

.product-box li:hover i {
    color: #ffd700;
}

/* Custom Solutions Section */
.custom-solutions {
    padding: 80px 0;
    background: #f5f7fa;
    text-align: center;
}

.custom-intro {
    font-size: 20px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeIn 1s ease;
}

.custom-solutions .cta {
    background: linear-gradient(135deg, #2a6dd9, #1a4db3);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.custom-solutions .cta:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1a4db3, #2a6dd9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #f5f7fa;
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.933 0 3.5-1.567 3.5-3.5S17.933 32 16 32s-3.5 1.567-3.5 3.5 1.567 3.5 3.5 3.5z" fill="%232a6dd9" fill-opacity="0.05" fill-rule="evenodd"/%3E%3C/svg%3E');
    opacity: 0.3;
}

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

.why-box {
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    animation: techFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.why-box:nth-child(1) { animation-delay: 0.1s; }
.why-box:nth-child(2) { animation-delay: 0.2s; }
.why-box:nth-child(3) { animation-delay: 0.3s; }
.why-box:nth-child(4) { animation-delay: 0.4s; }
.why-box:nth-child(5) { animation-delay: 0.5s; }

.why-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: #f9fbff;
}

.why-box i {
    font-size: 35px;
    color: #2a6dd9;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.why-box:hover i {
    color: #ffd700;
    transform: scale(1.15);
}

.why-box p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.contact-intro {
    font-size: 20px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeIn 1s ease;
}

.contact-details p {
    font-size: 17px;
    color: #444;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-details i {
    font-size: 22px;
    color: #2a6dd9;
    transition: all 0.3s ease;
}

.contact-details p:hover i {
    color: #ffd700;
    transform: scale(1.1);
}

.contact-details a {
    color: #2a6dd9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: #ffd700;
}

.cta {
    background: linear-gradient(135deg, #2a6dd9, #1a4db3);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.cta:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1a4db3, #2a6dd9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Footer Section */
.footer {
    padding: 80px 0 30px;
    background: linear-gradient(135deg, #1a2a44, #2a6dd9);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent 70%);
    opacity: 0.4;
    z-index: 1;
}

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

.footer-intro {
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.footer-about, .footer-links, .footer-map, .footer-contact {
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.footer-about:hover, .footer-links:hover, .footer-map:hover, .footer-contact:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.footer-about h3, .footer-links h3, .footer-map h3, .footer-contact h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about h3 i, .footer-links h3 i, .footer-map h3 i, .footer-contact h3 i {
    font-size: 24px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ffd700;
    color: #1a2a44;
    transform: scale(1.15);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 14px;
    color: #ffd700;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 10px;
}

.footer-map iframe {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-contact p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    font-size: 18px;
    color: #ffd700;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-bottom p i {
    font-size: 14px;
    color: #ffd700;
}

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

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header */
    header {
        padding: 15px 0;
    }

    .logo h1 {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1a2a44, #2a6dd9);
        padding: 15px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 10px 0;
        width: 100%;
    }

    nav ul li a {
        padding: 12px 20px;
        font-size: 16px;
    }

    .login-btn {
        margin: 10px 20px;
    }

    /* Hero */
    .hero {
        height: 60vh;
        margin-top: 70px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h1 i {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-content .cta {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Products */
    .products {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-title i {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-box {
        padding: 25px;
    }

    .product-box i {
        font-size: 45px;
    }

    .product-box h3 {
        font-size: 22px;
    }

    .product-box p {
        font-size: 15px;
    }

    .product-box li {
        font-size: 14px;
    }

    /* Custom Solutions */
    .custom-solutions {
        padding: 60px 0;
    }

    .custom-intro {
        font-size: 18px;
        max-width: 90%;
    }

    /* Why Choose */
    .why-choose {
        padding: 60px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-box {
        padding: 20px;
    }

    .why-box i {
        font-size: 30px;
    }

    .why-box p {
        font-size: 14px;
    }

    /* Contact CTA */
    .contact-cta {
        padding: 60px 0;
    }

    .contact-intro {
        font-size: 18px;
        max-width: 90%;
    }

    .contact-details p {
        font-size: 16px;
    }

    .contact-details i {
        font-size: 20px;
    }

    .cta {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about h3, .footer-links h3, .footer-map h3, .footer-contact h3 {
        font-size: 20px;
    }

    .footer-map iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h1 i {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-title i {
        font-size: 24px;
    }

    .product-box i {
        font-size: 40px;
    }

    .why-box i {
        font-size: 25px;
    }
}