/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
}
iframe {
    width: 720px;
    height: 405px;
}

/* Responsive video container */


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

header .header-logo {
    height: 60px; /* Increased size */
    margin-bottom: 10px;
    border-radius: 1px; /* Added rounded corners */
    transition: transform 0.3s ease; /* Smooth transition */
    cursor: default; /* Logo doesn't have interactive effects */
}

/* Ensure logo doesn't scale on hover */
header .header-logo:hover {
    transform: scale(1); /* No scaling for logo */
    cursor: default;
}

/* Specific rule to prevent header logo from having the pointer cursor */
header .header-logo {
    cursor: default !important;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: #34495e;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-image {
    max-width: 90%; /* Increased size */
    height: auto;
    margin-bottom: 30px;
    border-radius: 15px; /* Increased rounded corners */
}

/* Don't add hover effect to hero image to avoid conflict with click functionality */

.hero-logo {
    height: 100px; /* Increased size */
    margin-bottom: 20px;
    border-radius: 10px; /* Added rounded corners */
}

/* Don't add hover effect to hero logo to avoid conflict with click functionality */

.btn {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #c0392b;
}

.btn.primary {
    background-color: #2ecc71;
}

.btn.primary:hover {
    background-color: #27ae60;
}

.btn.secondary {
    background-color: #3498db;
}

.btn.secondary:hover {
    background-color: #2980b9;
}

/* Sections */
section {
    padding: 60px 0;
    text-align: center;
}

section:nth-child(even) {
    background-color: #ecf0f1;
}

section h3 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center content including image */
}

.feature-item h4 {
    color: #e74c3c;
    font-size: 1.5em;
    margin-top: 15px; /* Add some space below image */
}

.feature-item .interface-descriptions .desktop-name {
    color: #e74c3c;
    font-weight: bold;
}

/* Images (excluding logo) - Make them larger */
.feature-item .feature-icon {
    max-width: 180px !important; /* Increased size */
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

/* Hover effect to enlarge images */
.feature-item .feature-icon:hover {
    transform: scale(1.1); /* Increase size by 10% on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

/* Fullscreen image modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    display: block;
    width: 90%;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.image-modal-content:hover {
    cursor: pointer;
}

/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 30px;
}

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

.footer-section h4 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #e74c3c;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
}

/* Responsive video container */
/* Responsive video container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 20px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000; /* Black background for video area */
}

/* Responsive Design */
@media (max-width: 768px) {
    header .header-logo {
        height: 50px;
    }

    header nav ul li {
        margin: 0 8px;
    }

    .hero h2 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1em;
    }

    section h3 {
        font-size: 1.8em;
    }

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

    .feature-item {
        text-align: center;
    }

    .feature-item h4 {
        font-size: 1.3em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .download .btn {
        display: block;
        margin-bottom: 15px;
    }
    
    .feature-icon {
        max-width: 160px !important; /* Adjusted size for tablets */
        height: auto;
        margin-bottom: 15px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    header nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 5px 0;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 0.9em;
    }

    section {
        padding: 40px 0;
    }

    section h3 {
        font-size: 1.5em;
    }

    .contact form {
        padding: 0 15px;
    }
    
    .feature-icon {
        max-width: 150px !important; /* Adjusted size for mobile */
        height: auto;
        margin-bottom: 15px;
        border-radius: 8px;
    }
}
