:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.portal-btn a {
    background: var(--secondary-color);
    color: #fff !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.portal-btn a:hover {
    background: #2980b9;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #c0392b;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.learn-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 5rem 5%;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Announcements Section */
.announcements {
    background: var(--light-bg);
    padding: 5rem 5%;
}

.announcements .container {
    max-width: 1200px;
    margin: 0 auto;
}

.announcements h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.announcement-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.announcement-item .date {
    display: block;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.announcement-item p {
    margin: 0;
    line-height: 1.5;
    color: #333;
}

@media (max-width: 768px) {
    .announcements {
        padding: 3rem 5%;
    }
    
    .announcement-item {
        padding: 1rem;
    }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    list-style: none;
}

.dropdown-toggle {
    text-decoration: none;
    color: var(--text-color);
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
    padding: 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
    margin: 0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px !important;
    color: var(--text-color) !important;
    transition: all 0.3s !important;
    text-decoration: none;
    width: 100%;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: var(--secondary-color) !important;
}

.dropdown-menu i {
    font-size: 14px;
    width: 20px;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 30px !important;
    }
} 

/* Logo Styles */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    text-transform: lowercase;
    letter-spacing: -0.5px;
}

.company-name .highlight {
    color: var(--secondary-color);
    font-weight: 800;
}

.company-type {
    font-size: 1.3rem;
    color: #e74c3c;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    margin-left: 1px;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .company-name {
        font-size: 1.1rem;
    }
    
    .company-type {
        font-size: 1.1rem;
    }
} 

/* Slider Styles */
.slider-section {
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.main-slider {
    width: 100%;
    height: 600px;
    position: relative;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.slide-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.slide-btn:hover {
    background: #2980b9;
}

/* Slider Navigation Styles */
.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .main-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
} 


.blog {
    padding: 5rem 18%;
    background-color: #f9f9f9;
}

.blog h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-list {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-item h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.blog-item p {
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #555;
}

.blog-item .read-more {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.blog-item .read-more:hover {
    background-color: #0056b3;
}
