/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #2a6dd9;
}

.login-btn {
    background-color: #2a6dd9;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #ffd700;
    color: #333 !important;
}

.menu-toggle {
    display: none;
}

.menu-toggle button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2a6dd9;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(42, 109, 217, 0.8), rgba(0, 0, 0, 0.7)), url('digisys/images/aboutdigisys.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: heroZoom 10s infinite alternate;
}

@keyframes heroZoom {
    0% { background-size: 100%; }
    100% { background-size: 110%; }
}

.hero-content {
    position: relative;
    width: 100%;
}

.hero-content .slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-content .slide.active {
    display: block;
    opacity: 1;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.hero-content h1 i {
    margin-right: 15px;
    color: #ffd700;
}

.hero-content p {
    font-size: 22px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 30px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.cta {
    display: inline-block;
    background: linear-gradient(45deg, #2a6dd9, #1e5bb5);
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.6s;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 109, 217, 0.4);
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    font-size: 20px;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Thank You Section */
.thank-you {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9, #e8efff);
    text-align: center;
    min-height: calc(100vh - 300px);
}

.button-container {
    margin-top: 30px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9, #e8efff);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #2a6dd9;
}

.section-title h2 i {
    margin-right: 12px;
    color: #ffd700;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 10px auto 0;
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 800px;
}

.about-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: #2a6dd9;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision h4,
.mission h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2a6dd9;
    margin-bottom: 10px;
}

.vision p,
.mission ul {
    font-size: 16px;
    color: #666;
}

.mission ul {
    list-style: none;
}

.mission ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.mission ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2a6dd9;
}

/* Impact Section */
.impact {
    padding: 80px 0;
    background-color: #fff;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat h3 {
    font-size: 48px;
    font-weight: 700;
    color: #2a6dd9;
    margin-bottom: 10px;
}

.stat p {
    font-size: 16px;
    color: #666;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9, #e8efff);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2a6dd9;
    margin-bottom: 15px;
}

.service p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.service .cta {
    display: inline-block;
    padding: 10px 25px;
    font-size: 16px;
}

/* Technologies Section */
.technologies {
    padding: 80px 0;
    background-color: #fff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.tech img {
    height: 60px;
    margin-bottom: 10px;
}

.tech p {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Why Choose Us Section */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9, #e8efff);
}

.reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.reason h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2a6dd9;
    margin-bottom: 15px;
}

.reason p {
    font-size: 16px;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9, #e8efff);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2a6dd9;
}

.contact-form h3 i {
    margin-right: 10px;
    color: #ffd700;
}

.form-response {
    margin-bottom: 20px;
}

.form-response .success {
    color: #28a745;
    font-weight: 500;
}

.form-response .error {
    color: #dc3545;
    font-weight: 500;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 10px;
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, transform 0.3s;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: 14px;
    left: 10px;
    font-size: 16px;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group label i {
    margin-right: 8px;
    color: #2a6dd9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: #2a6dd9;
    transform: translateY(2px);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -20px;
    font-size: 12px;
    color: #2a6dd9;
}

.contact-form .cta {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 18px;
}

/* Contact Info */
.contact-info {
    padding: 40px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2a6dd9;
}

.contact-info h3 i {
    margin-right: 10px;
    color: #ffd700;
}

.info-card {
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    transition: transform 0.3s;
}

.contact-info p:hover {
    transform: translateX(5px);
}

.contact-info p i {
    margin-right: 12px;
    color: #2a6dd9;
}

.contact-info a {
    color: #2a6dd9;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #ffd700;
}

.social-links h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.social-links h4 i {
    margin-right: 8px;
    color: #2a6dd9;
}

.social-links a {
    display: inline-block;
    margin-right: 20px;
    font-size: 22px;
    color: #2a6dd9;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #ffd700;
    transform: scale(1.2);
}

/* Map Section */
.map {
    padding: 80px 0;
    background-color: #fff;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer */
.footer {
    background-color: #2a6dd9;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-intro {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3,
.footer-map h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-about h3 i,
.footer-links h3 i,
.footer-contact h3 i,
.footer-map h3 i {
    margin-right: 10px;
    color: #ffd700;
}

.footer-about p {
    font-weight: 300;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #ffd700;
}

.footer-contact p {
    margin-bottom: 10px;
    font-weight: 300;
}

.footer-contact p i {
    margin-right: 10px;
    color: #ffd700;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #ffd700;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 8px;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.footer-bottom p i {
    margin-right: 8px;
    color: #ffd700;
}

.footer .social-links a {
    margin-right: 15px;
    font-size: 18px;
    color: #fff;
    transition: color 0.3s;
}

.footer .social-links a:hover {
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .logo-img {
        height: 35px;
    }

    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reasons {
        grid-template-columns: 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .contact-form,
    .contact-info {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .map iframe {
        height: 350px;
    }

    .logo-img {
        height: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta {
        padding: 12px 25px;
        font-size: 16px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 22px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .logo-img {
        height: 25px;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }
}