/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.5rem;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 2px;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 60px; /* Height of fixed header */
}

/* Banner Section */
.banner {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    position: relative;
    width: 33.333%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
    z-index: 1;
}

.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s ease;
    z-index: 2;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

.cta-button {
    position: relative;
    z-index: 2;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.services h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

article.service-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

article.service-card:hover {
    transform: translateY(-5px);
}

article.service-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-subsection {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.about-subsection h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Profile Card Styles */
.profile-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.profile-info {
    flex: 1;
}

.profile-info h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-info .designation {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 1rem;
}

.profile-info .message {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

/* Vision Content Styles */
.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
}

.vision-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.vision-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vision-card p {
    color: #666;
    line-height: 1.6;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 4px;
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 0.5rem 1rem;
    display: block;
    color: #2c3e50;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #3498db;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.contact h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

address.contact-info {
    text-align: center;
    font-style: normal;
}

address.contact-info p {
    margin: 1rem 0;
}

address.contact-info i {
    color: #3498db;
    margin-right: 0.5rem;
}

address.contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

address.contact-info a:hover {
    color: #3498db;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        text-align: center;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1.2rem;
    }

    .carousel-button {
        padding: 0.5rem;
        font-size: 1.2rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

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

    .profile-card img {
        width: 150px;
        height: 150px;
        margin-bottom: 1rem;
    }

    .vision-content {
        grid-template-columns: 1fr;
    }
}
