* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
    background: #eef2f5;
    color: #333;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a2a44, #2a6dd9);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.4s ease, background 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header.hidden {
    transform: translateY(-100%);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: fadeIn 1.2s ease-in;
    background: linear-gradient(90deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 10px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #1a2a44;
    background: #ffd700;
}

.login-btn {
    background: #ffd700;
    color: #1a2a44;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
    transform: scale(1.08);
    background: #ffec80;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    height: 60vh;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('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: 60px;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: slideInFromLeft 1.2s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin: 0 0 20px 0;
    animation: slideInFromRight 1.2s ease;
    line-height: 1.5;
}

.hero-content .cta {
    background: #2a6dd9;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease;
}

.hero-content .cta:hover {
    transform: scale(1.08);
    background: #1a4db3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 60px 0;
    background: white;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1a2a44;
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #2a6dd9;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.about-image {
    flex: 1;
    max-width: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    background: #f5f7fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

.about-text:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #2a6dd9, #ffd700);
    border-radius: 0 5px 5px 0;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: techFadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.icon-inline {
    color: #2a6dd9;
    font-size: 20px;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.about-text p:hover .icon-inline {
    color: #ffd700;
    transform: scale(1.2);
}

/* Who We Are Section */
.who-we-are {
    padding: 60px 0;
    background: #f5f7fa;
}

.who-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: slideInFromRight 1.2s ease;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.value-box {
    padding: 20px;
    background: white;
    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;
}

.value-box:nth-child(1) { animation-delay: 0.1s; }
.value-box:nth-child(2) { animation-delay: 0.2s; }
.value-box:nth-child(3) { animation-delay: 0.3s; }
.value-box:nth-child(4) { animation-delay: 0.4s; }

.value-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff, #f0f4ff);
}

.value-box i {
    font-size: 40px;
    color: #2a6dd9;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.value-box:hover i {
    color: #ffd700;
    transform: scale(1.2);
}

.value-box h3 {
    font-size: 20px;
    color: #1a2a44;
    margin-bottom: 10px;
}

.value-box p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* Vision and Mission Section */
.vision-mission {
    padding: 60px 0;
    background: white;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision-box, .mission-box {
    padding: 25px;
    background: #f5f7fa;
    border-radius: 15px;
    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;
}

.vision-box { animation-delay: 0.1s; }
.mission-box { animation-delay: 0.2s; }

.vision-box:hover, .mission-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.vision-box i, .mission-box i {
    font-size: 40px;
    color: #2a6dd9;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.vision-box:hover i, .mission-box:hover i {
    color: #ffd700;
}

.vision-box h3, .mission-box h3 {
    font-size: 22px;
    color: #1a2a44;
    margin-bottom: 15px;
}

.vision-box p, .mission-box ul {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.mission-box ul {
    list-style: none;
    padding: 0;
}

.mission-box li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.mission-box li i {
    font-size: 18px;
    margin-top: 4px;
}

/* Footer Section */
.footer {
    padding: 60px 0 20px;
    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.3;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-intro {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 15px auto 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about, .footer-links, .footer-map, .footer-contact {
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 225, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.footer-about:hover, .footer-links:hover, .footer-map:hover, .footer-contact:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px 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: 20px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-about h3::after, .footer-links h3::after, .footer-map h3::after, .footer-contact h3::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #ffd700;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ffd700;
    color: #1a2a44;
    transform: scale(1.1);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 8px;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 8px;
    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: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 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(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 10px;
        max-width: 100%;
    }

    /* Header */
    header {
        padding: 10px 0;
        width: 100%;
    }

    header .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }

    .logo h1 {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
        margin-right: 10px;
    }

    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: linear-gradient(135deg, #1a2a44, #2a6dd9);
        padding: 10px 0;
        box-shadow: 0 4px 12px 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 {
        display: block;
        padding: 10px 20px;
        font-size: 16px;
    }

    .login-btn {
        margin: 10px 20px;
        padding: 8px 20px;
    }

    /* Hero Section */
    .hero {
        height: 50vh;
        margin-top: 50px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
        max-width: 90%;
        margin: 0 0 15px 0;
    }

    .hero-content .cta {
        padding: 10px 25px;
        font-size: 14px;
    }

    /* About Section */
    .about {
        padding: 40px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 20px;
    }

    .about-image {
        max-width: 100%;
    }

    .about-text {
        padding: 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .about-text p {
        font-size: 14px;
    }

    .icon-inline {
        font-size: 18px;
    }

    /* Who We Are Section */
    .who-we-are {
        padding: 40px 0;
    }

    .who-content p {
        font-size: 14px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .value-box {
        padding: 15px;
    }

    .value-box i {
        font-size: 32px;
    }

    .value-box h3 {
        font-size: 18px;
    }

    .value-box p {
        font-size: 13px;
    }

    /* Vision and Mission Section */
    .vision-mission {
        padding: 40px 0;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision-box, .mission-box {
        padding: 20px;
    }

    .vision-box i, .mission-box i {
        font-size: 32px;
    }

    .vision-box h3, .mission-box h3 {
        font-size: 20px;
    }

    .vision-box p, .mission-box li {
        font-size: 14px;
    }

    .mission-box li i {
        font-size: 16px;
    }

    /* Footer Section */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-intro {
        font-size: 14px;
        max-width: 90%;
        margin: 10px auto 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-about, .footer-links, .footer-map, .footer-contact {
        padding: 15px;
    }

    .footer-about h3, .footer-links h3, .footer-map h3, .footer-contact h3 {
        font-size: 18px;
    }

    .footer-about p, .footer-links a, .footer-contact p {
        font-size: 14px;
    }

    .social-links {
        gap: 8px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .footer-map iframe {
        height: 180px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-content .cta {
        padding: 8px 20px;
        font-size: 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .icon-inline {
        font-size: 16px;
    }

    .value-box i {
        font-size: 28px;
    }

    .vision-box i, .mission-box i {
        font-size: 28px;
    }
}